Skip to content
프로젝트

소개

프로덕션 환경에 바로 사용할 수 있는 Python 개발 환경 템플릿입니다. 최신 도구를 사용하며, uv로 패키지를 빠르게 관리하고 Ruff로 빠르게 린트 및 포맷을 수행하며 ty로 빠르고 신뢰할 수 있는 타입 검사를 하고 VSCode Dev Containers로 재현 가능한 개발 환경을 구성합니다.

시스템 및 인프라

이 수치를 측정하는 방법

What you can do

  • 🚀 Ultra-fast package management with uv (10-100x faster than pip)
  • ⚡ Lightning-fast linting & formatting with Ruff (replacing Black, isort, Flake8, and more)
  • 🐳 Dev Container ready - Consistent development environment across all machines
  • 🔍 Type checking with ty

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+3
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Python Development with uv and Ruff

uv Ruff ty

Versions codecov

Docker Format Lint

A production-ready Python development environment template using modern tools: uv for blazing-fast package management, Ruff for lightning-fast linting and formatting, ty for fast and reliable type checking, and VSCode Dev Containers for reproducible development environments.


📋 Table of Contents


✨ Features

  • 🚀 Ultra-fast package management with uv (10-100x faster than pip)
  • ⚡ Lightning-fast linting & formatting with Ruff (replacing Black, isort, Flake8, and more)
  • 🐳 Dev Container ready - Consistent development environment across all machines
  • 🔍 Type checking with ty
  • ✅ Pre-configured testing with pytest (75% coverage requirement)
  • 🔄 Automated CI/CD with GitHub Actions
  • 📦 Reusable utilities - Logger, configuration management, and performance tracing tools
  • 🎯 Task automation with nox
  • 🪝 Pre-commit hooks for automatic code quality checks

🚀 Quick Start

  1. Install Docker and VSCode with the Dev Containers extension.
  2. Clone the repository and open it in VSCode, then click Reopen in Container when prompted:
    git clone https://github.com/a5chin/python-uv.git
    cd python-uv
    code .
    
  3. Check that everything works:
    uv run nox -s test
    

For Docker-only or local setup (without Docker), see Getting Started.

📖 Documentation

The full documentation is published at https://a5chin.github.io/python-uv. Its source lives in docs/, which is the single source of truth for every topic below.

Topic Document
Setup (Dev Container, Docker, local) Getting Started
Development commands (fmt / lint / test) Task Automation with nox
uv, Ruff, ty, pre-commit, pytest Guides
Configuration files Configuration Reference
Built-in utilities (Logger, Settings, Timer) Tools Package
Coding rules and writing tests Code Standards
Branches, releases, and deployment Branch Strategy & Release Flow
GitHub Actions workflows CI/CD Workflows
Project templates cookiecutter
Examples (Jupyter, FastAPI, OpenCV) Use Cases

To contribute, see CONTRIBUTING.md.

🗄️ Archived Branches

These branches are no longer maintained; use main for new projects.

  • jupyter - Jupyter-specific configuration
  • rye - Rye package manager version (replaced by uv)

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

This template is built on top of excellent open-source tools:

  • uv by Astral - Ultra-fast Python package manager
  • Ruff by Astral - Lightning-fast linter and formatter
  • ty by Astral - Static type checker for Python
  • nox - Flexible task automation for Python
  • pytest - Testing framework for Python
  • MkDocs - Documentation site generator

Special thanks to the open-source community for making these tools available!

관련 프로젝트 살펴보기

불러오는 중…