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.2.3.tar.gz (29.9 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.2.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cctp-1.2.3.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for cctp-1.2.3.tar.gz
Algorithm Hash digest
SHA256 cf7014c355edba4744f8b65ca8a8b88b13c3da0ecf8c54335ffe37b91e7e389e
MD5 10e19e5e48c23bdbc1065b9753305217
BLAKE2b-256 44393dbcef00e7d44361ff4150fe0bd148fe097c0b08427c06da3b21c3535c4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cctp-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for cctp-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 891a155ae9c87828c5f000432a22869e10d0364cabd6fed250b7fc4c8a5b95d7
MD5 6ccbc14938ba7ef1f1cc8c88ff529d1a
BLAKE2b-256 7d0ac474bbdd390de868133f076b723f25f68e11c739b8eb22e7780b7e58b09b

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