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
/ Python-Template Public template

🐍 Opinionated uv Python template with batteries included. Cursorrules, LLMs, linting, dead code analysis, and a whole lot more.

License

Notifications You must be signed in to change notification settings

Miyamura80/Python-Template

Repository files navigation

Python-Template

2

Opinionated Python project stack. πŸ”‹ Batteries included.

Key Features β€’ Quick Start β€’ Configuration β€’ Credits β€’ About the Core Contributors

Project Version Python Version GitHub repo size GitHub Actions Workflow Status


2

Key Features

Opinionated Python stack for fast development. The saas branch extends main with web framework, auth, and payments.

Feature main saas
UV + Pydantic config βœ… βœ…
CI/Linters (Ruff, Vulture) βœ… βœ…
Pre-commit hooks (prek) βœ… βœ…
LLM (DSPY + LangFuse Observability) βœ… βœ…
FastAPI + Uvicorn ❌ βœ…
SQLAlchemy + Alembic ❌ βœ…
Auth (WorkOS + API keys) ❌ βœ…
Payments (Stripe) ❌ βœ…
Referrals + Agent system ❌ βœ…
Ralph Wiggum Agent Loop βœ… βœ…

Full comparison

Quick Start

  • make init name=my-project description="My project description" - initialize project
  • make all - runs main.py
  • make fmt - runs ruff format + JSON formatting
  • make banner - create a new banner that makes the README nice 😊
  • make test - runs all tests in tests/
  • make ci - runs all CI checks (ruff, vulture, ty, etc.)

Configuration

from common import global_config
# Access config values from common/global_config.yaml
global_config.example_parent.example_child
# Access secrets from .env
global_config.OPENAI_API_KEY

Full configuration docs

Credits

This software uses the following tools:

About the Core Contributors

Made with contrib.rocks.

About

🐍 Opinionated uv Python template with batteries included. Cursorrules, LLMs, linting, dead code analysis, and a whole lot more.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /