rafsaf /
fastapi-plan
Dead simple template manager for FastAPI applications
24/100 healthLoading repository data…
purarue / repository
cookiecutter template for a strongly typed python package w/ click, pytest, mypy, flake8 and CI using github actions
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Custom cookiecutter template for my defaults. Uses parts of the default.
click for handling CLI arguments__main__.py file to be executed like python -m modulename.pyproject.tomlI use this both for CLI tools and libraries, I prefer to structure everything as a package as that means the code is always marked with a py.typed (meaning, mypy can figure out this code has types) file.
If I'm just doing a library, I delete the __main__.py, modify the pyproject.toml to remove click and remove the console_script entry
Otherwise, I put code in some other file like package_name/core.py, and then import it in __main__.py
After pip install cookiecutter, run:
cookiecutter gh:purarue/cookiecutter-template
cd ./package_name
pip install '.[testing]'
python3 -m pytest
Selected from shared topics, language and repository description—not editorial ratings.
rafsaf /
Dead simple template manager for FastAPI applications
24/100 healthdeknowny /
My python library template repo with useful tools for developing. Made with cookiecutter
56/100 healthzhiwei2017 /
A cookiecutter template for python package
Aviksaikat /
Cookiecutter template for a cutting-edge Python package: Hatch, ruff, mypy, GitHub Actions and more!
41/100 healthErotemic /
A cookie-cutter for templating and managing Python repositories
61/100 healthmartibosch /
Template for Python packages using Pixi.
41/100 health