Skip to main content

A modern Python project scaffolder powered by UV.

Project description

create-uv-project

UV Project Creator

PyPI version License: MIT Python Version


🚀 create-uv-project 是一个革命性的 Python 项目脚手架工具,专为现代 Python 开发者打造。它利用 UV 包管理器的强大功能,帮助您在几秒钟内创建一个完全配置好的 Python 项目。

✨ 特性

  • 🎯 零配置: 一键创建标准化的 Python 项目结构
  • 🔋 电池已包含: 预配置了最佳实践和常用工具
  • 🚄 极速依赖安装: 采用 UV 超快的包管理能力
  • 📦 现代化工具链: 集成 Poetry/PDM 风格的依赖管理
  • 🛡️ 类型检查: 默认支持 type hints 和 mypy
  • 🧪 测试就绪: 预置 pytest 配置
  • 📝 文档模板: 自动生成项目文档框架

🚀 快速开始

安装

pip install create-uv-project

或者使用 UV(推荐):

uv pip install create-uv-project

使用方法

创建新项目:

create-uv-project my-awesome-project

使用模板创建:

create-uv-project my-awesome-project --template fastapi

📖 可用模板

  • basic: 基础 Python 项目结构
  • cli: 命令行工具项目
  • fastapi: FastAPI Web 应用
  • library: Python 库项目
  • flask: Flask Web 应用

🎨 项目结构

my-awesome-project/
├── src/
│   └── my_awesome_project/
│       ├── __init__.py
│       └── main.py
├── tests/
│   └── test_main.py
├── docs/
│   └── index.md
├── README.md
├── pyproject.toml
├── .gitignore

🛠️ 开发者指南

  1. 克隆仓库:
git clone https://github.com/yourusername/create-uv-project.git
cd create-uv-project
  1. 安装依赖:
uv pip install -e ".[dev]"
  1. 运行测试:
pytest

🤝 贡献指南

我们欢迎所有形式的贡献,无论是新功能、文档改进还是错误报告。请查看我们的 贡献指南 了解更多信息。

📜 许可证

本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情

🌟 致谢


如果这个项目对您有帮助,请考虑给它一个星标 ⭐️

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

create_uv_project-0.1.0.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

create_uv_project-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file create_uv_project-0.1.0.tar.gz.

File metadata

  • Download URL: create_uv_project-0.1.0.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for create_uv_project-0.1.0.tar.gz
Algorithm Hash digest
SHA256 27d6a90993bef505e9f0c1b4b7de391a0eb1e4ba3364a64cba9ab94de86c88d1
MD5 b74fdfd06cd264c6d56ac9c2072f40c9
BLAKE2b-256 ac3c631415fb870bf3b3758748756dce750d0b66c03e7b5e3cb4708cd1c50ab2

See more details on using hashes here.

File details

Details for the file create_uv_project-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for create_uv_project-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44e236dbe6254328cc6ba0dddc353e1828b7dcd8adbf34d29ce6ad766506db34
MD5 6c936ba6b45ace4f3921fa3bc012f708
BLAKE2b-256 42da13380859d13038e65bad851d556267e0b6cbb8e65f937b9c8e6fa6db9227

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page