Skip to main content

简介

用于快速搭建 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

Metadata

Release files for cctp 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cctp 1.2.4
File Size Uploaded
cctp-1.2.4.tar.gz 30.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cctp 1.2.4
File Interpreter ABI Platform
cctp-1.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 34.2 kB

Release files / cctp-1.2.4.tar.gz

Download URL cctp-1.2.4.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
083cbb0eae474633ebd2dcbea2e7590410794db8c72f34109aaea2fb6c2bf299
BLAKE2b-256 checksum
How to use checksums
fb3704d40baf438d1bb515f8ec456edbd00aa907e0ea1c9cb6124f6344665b1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / cctp-1.2.4-py3-none-any.whl

Download URL cctp-1.2.4-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d49d2125879791e72192ec2f1a017e4456ad00134a60c3e74fe8576558c93d81
BLAKE2b-256 checksum
How to use checksums
4ac9e7b22e99c862a6518e1e894812df0f2cde481644f446a5605dea6a3ba31e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

1.2.4 This release

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.18

2 release files

1.1.17

2 release files

1.1.16

2 release files

1.1.14

2 release files

1.1.13

2 release files

1.1.12

2 release files

1.1.11

2 release files

1.1.10

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page