python-uv  by a5chin

A production-ready Python development environment

Created 1 year ago
327 stars

Top 83.6% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides a production-ready Python development environment template using VSCode Dev Containers for reproducibility. It addresses slow package management and linting by integrating uv for ultra-fast dependency resolution and Ruff for lightning-fast code quality checks, streamlining workflows for engineers and power users.

How It Works

The core approach utilizes VSCode Dev Containers for consistent development environments. It integrates uv, a package manager claimed to be 10-100x faster than pip, and Ruff, a high-performance linter/formatter consolidating tools like Black and Flake8. This, with Pyright for type checking and nox for task automation, provides a robust, efficient Python setup.

Quick Start & Requirements

Requires Docker and VSCode Dev Containers extension. Clone the repo, open in VSCode, and select "Reopen in Container." Key commands: uv sync (dependencies), uv run nox -s test (tests), uv run nox -s fmt (format). Docker-only: build with docker build -t python-uv ., run with docker run -it --rm -v $(pwd):/workspace python-uv. Local setup needs Python 3.10+ and uv; install uv via script, clone, uv sync. Supports Python 3.10-3.14.

Highlighted Details

  • Features uv for significant speed improvements over pip.
  • Ruff consolidates multiple linting/formatting tools for enhanced performance.
  • VSCode Dev Containers ensure environment consistency.
  • Includes built-in utility modules (logging, config, tracing).
  • Enforces 75% minimum test coverage via pytest.
  • Automated CI/CD via GitHub Actions.

Maintenance & Community

Includes contribution guidelines and a code of conduct. Archived branches (jupyter, rye) suggest past focus shifts. No specific community links (Discord, Slack) or maintainer/sponsor details are provided in the README.

Licensing & Compatibility

Licensed under the permissive MIT License, allowing broad use, including commercial applications, with minimal restrictions.

Limitations & Caveats

The README does not explicitly detail limitations or known issues. Archived branches indicate that certain configurations or toolchains (e.g., Rye) are no longer actively maintained within this template.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
14
Issues (30d)
0
Star History
12 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.