This repository provides a basic Python project template, ideal for quick setup and efficient development.
- Workflow Configurations: Automated testing and linting workflows in
.github/workflowsfor multiple python versions. - Testing Setup: Ready-to-use test cases in
testsdirectory. - Essential Files: Includes
.pre-commit-config.yaml,.gitignore,pyproject.toml. - Python Scripts: Sample
main.pyandutils.pyfor a quick start.
Use the template and modify the existing structure to suit your project needs.
Faster Python: Improved performance via Faster CPython and Profile-Directed Optimization (PDO).
New Features: frozenmap: Immutable hashable mapping type. @typing.override: Marks method overrides explicitly. Better Typing: Direct use of NoneType in type hints.
Improved Error Messages: More helpful debugging information.
Uses UV for fast dependency management and pre-commit for code quality. Add make fmt for running format and lint. Add make ft for running format, lint and tests.