Skip to main content

Cookiecutter Template for Python.

Project description

简介

用于快速搭建 Python 项目的 Cookiecutter 模板.

主要特性:

  • 支持 Python >= 3.8 环境

  • 支持 uv 构建项目

  • 支持 sphinx 文档构建工具

  • 支持 alabaster / sphinx_rtd_theme / classic 等多种文档风格

  • 支持 Typer / Argparse 命令行项目

快速开始

安装 cctp:

$ pip install cctp  # 通过 pip
$ uv tool install cctp  # 通过 uv

使用 cctp 创建 Python 项目模板:

$ cctp  # 直接使用
$ uvx cctp  # 通过 uv

也可使用以下方式:

$ uvx cookiecutter https://gitee.com/gooker_young/cctp.git

离线模式运行

下载本项目源代码 zip 文件:

$ wget https://gitee.com/gooker_young/cctp/repository/archive/develop.zip

解压到文件夹:

  • windows: C:\Users\xxx\.cookiecutters\cctp

  • linux: /home/xxx/.cookiecutters/cctp

运行命令:

$ cctp --offline

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

cctp-1.1.18.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

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

cctp-1.1.18-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file cctp-1.1.18.tar.gz.

File metadata

  • Download URL: cctp-1.1.18.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for cctp-1.1.18.tar.gz
Algorithm Hash digest
SHA256 86df66302b528568cc9858c61bca17e4e5588cb72ee01813bf68d800bc7999d9
MD5 e7de04f6fb48ed0b98c74c1d9a5f8766
BLAKE2b-256 36ffc82095c17cd93809f1eac8db8c9ecda40b12b2c96b3c9997d166c56e2d54

See more details on using hashes here.

File details

Details for the file cctp-1.1.18-py3-none-any.whl.

File metadata

  • Download URL: cctp-1.1.18-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for cctp-1.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 c1f02045e141dbbc99327cbb9bcf3f36bd4fafb9759a6080c0735b82ee6754a9
MD5 f20a3f4a1a1beef9de32dac71eb0eb94
BLAKE2b-256 93b6c45411075cc0ea5ea5c9b8e28854c39358e94b637b695078c245c01c5f56

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