Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

zigai/python-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

32 Commits

Repository files navigation

Python Project Template

My personal template for Python projects.

Features

  • Modern Python tooling with uv for dependency management and environment setup
  • Pre-configured pyproject.toml
  • Automated workflows - just commands for testing, linting, and building
  • Code quality tools: ruff for linting and formatting, pre-commit hooks
  • Testing setup with pytest and Hatch for cross-version testing
  • GitHub Actions integration: optional workflows for linting, testing and PyPI publishing
  • Licenses from choosealicense.com
  • Basic README.md with badges and installation instructions

Requirements

  • Python 3.12 or higher
  • sprout
  • Git

Usage

sprout "https://github.com/zigai/python-project-template.git" /path/to/your/project

Generated Project Structure

your-project/
├── your_package/
│ └── __init__.py
├── tests/
│ └── test_your_package.py
├── .github/workflows/ 
├── pyproject.toml 
├── README.md 
├── CONTRIBUTING.md 
├── Justfile 
├── LICENSE 
└── .gitignore 

Similar Templates

License

MIT License

AltStyle によって変換されたページ (->オリジナル) /