This project is a cookiecutter template for a Python project using uv.
-
Run the following command to get started:
uvx cookiecutter https://github.com/araa47/cookiecutter-python-uv-boilerplate.gitThis will prompt you for project information (name, description, version) and create a new directory with your project.
-
Navigate to the project directory and run:
direnv allowThis sets up the environment. See .envrc for details.
-
Environment Management: direnv for automatic environment setup.
-
Dependency Management: uv for managing Python versions and dependencies, replacing pyenv and poetry.
-
Code Quality: pre-commit for managing pre-commit hooks. See .pre-commit-config.yaml for configured hooks.
-
Testing: pytest for writing and running tests.
-
Continuous Integration:
- GitHub Actions for linting, formatting, and testing on pull requests.
- GitHub Actions for testing on merges to main.