| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A modern GitHub template for starting AI-centric Python projects with batteries included.
This template provides a complete development environment for AI/ML applications with:
Clone this template:
git clone <your-repo-url>
cd <your-repo-name>Set up direnv for automatic environment activation:
echo "use flake" > .envrc && direnv allowThe Nix environment will automatically provide:
Install all development tools (black, isort, flake8, pyrefly, pre-commit, etc.) via Poetry:
poetry installpip install poetrypoetry installpoetry run pai# Using Nix command
runTests
# Or directly with poetry
poetry run pytest --cov=pai --cov-report=term-missing --cov-report=html
# Run specific tests
poetry run pytest tests/pai/test_main.py::test_specific_function# Using Nix command
runLint
# Or individually with poetry
poetry run black src # Format code
poetry run isort src # Sort imports
poetry run flake8 src # Lint
poetry run pyrefly check # Type checkingpoetry run pre-commit run --all-filesThe template supports multiple environment files:
Core dependencies included:
# Add a production dependency
poetry add <package-name>
# Add a development dependency
poetry add --group dev <package-name>This template uses Pyrefly for type checking. Run type checks with:
poetry run pyrefly checkGitHub Issues are disabled to encourage direct community contribution. When you encounter bugs or documentation issues, please contribute fixes through Pull Requests instead.
How to contribute: Open a PR with your solution, draft changes, or a test reproducing the issue. We'll collaborate from there to refine and merge improvements.
This approach creates faster fixes while building a stronger, community-driven project where everyone benefits from shared contributions.
This project is optimized and setup for you to use Claude Code as your AI programming agent. It is recommended to use Claude Code.
python-starter-template is licensed under the MIT License. See LICENSE for details.
| Back | FazBrowse Home | New Git URL |