Skip to content

This repository is a collection of my Python coding challenges and practice exercises, with a focus on problem-solving, data structures, and algorithms.

License

Notifications You must be signed in to change notification settings

aleattene/python-challenges

Repository files navigation

🧩 Python Challenges 🐍

Python codecov Tests GitHub commits GitHub last commit PRs Welcome License

A collection of my python coding challenges and practice exercises, focusing on problem solving, data structures, and algorithms.


Contents


Quickstart

1) Clone and enter the repo

git clone https://github.com/aleattene/python-challenges.git
cd python-challenges

2) (optional) create & activate a virtual environment

python -m venv env_name
(mac) source env_name/bin/activate
(win) env_name\Scripts\activate

3) Install dependencies

pip install -U pip
pip install -r requirements.txt

4) Run all tests

pytest -q

or run tests for a specific area

# Advent of Code
pytest advent-of-code -q

# Everybody Codes
pytest everybody_codes -q

# Codewars
pytest codewars -q

# Edabit
pytest edabit -q

# Python Workbook
pytest learning/python-workbook -q

Repository Structure

python-challenges/
├─ advent-of-code/                # Advent of Code solutions + tests
├─ codewars/                      # Codewars kata + tests
├─ edabit/                        # Edabit kata + tests
├─ everybody_codes/               # Everybody Codes quests + tests
└─ learning/
   └─ python-workbook/            # Python exercises

About

This repository is a collection of my Python coding challenges and practice exercises, with a focus on problem-solving, data structures, and algorithms.

Topics

Resources

License

Stars

Watchers

Forks