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://gitcode.com/gooker_young/cctp.git

离线模式运行

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

$ wget https://gitcode.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.2.0.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cctp-1.2.0.tar.gz
Algorithm Hash digest
SHA256 653aeb0d05db7f387d17a755bb98a0fea7ac0b40c6236914bb5b5c07144a275b
MD5 dff96d20cd90503638c61e64b39fcb56
BLAKE2b-256 3a85659ca46d587126e22e5d771e1e90ebbd41e4e32d7d4136c7d4daa069ff8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cctp-1.2.0-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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f2a9ba4b52842de263070dd1c7019861195b22aaf7863dce2ec988cb5832181
MD5 e2a097f23eb7f369d9e76469b612ddc7
BLAKE2b-256 7b456138279d919e4910593c09cf30584955318af3a774f73ef06c9edc19aabf

See more details on using hashes here.

Supported by

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