Skip to main content

A CLI tool to generate Python projects with various templates

Project description

Project Generator Python

A command-line tool to quickly generate Python projects with various templates and project structures.

Installation

pip install project-generator-python

Usage

create-project

Follow the interactive prompts to:

  1. Enter project name
  2. Choose template (basic/yn_tools/etc)
  3. Configure project options

Available Templates

  • Basic Flask API project
  • YN Tools project structure
  • More templates coming soon

Features

  • Multiple project templates
  • Docker support (optional)
  • Common Python project patterns
  • Ready-to-use CLI commands
  • Customizable project structure

Development

  1. Clone the repository
  2. Create virtual environment:
    python -m venv venv
    source venv/bin/activate  # or `venv\Scripts\activate` on Windows
    
  3. Install in development mode:
    pip install -e .
    

License

MIT

Author

Barry Duan


发布步骤:

1. 清理旧的构建文件:
```bash
rm -rf dist/ build/ *.egg-info/
  1. 构建项目:
python -m build
  1. 上传到 PyPI:
python -m twine upload dist/*

项目名称改为 project-generator-python 的优点:

  1. 更好的描述性
  2. 遵循 Python 包命名约定
  3. 易于在 PyPI 上搜索
  4. 能清晰表明这是一个 Python 相关的工具

用户可以通过以下方式安装和使用:

pip install project-generator-python
create-project

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

project_generator_python-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

project_generator_python-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file project_generator_python-0.1.1.tar.gz.

File metadata

File hashes

Hashes for project_generator_python-0.1.1.tar.gz
Algorithm Hash digest
SHA256 40842dcefe678dd807a8291570282143d5d84def47e3988fe84fd868e411a506
MD5 991b8f54ef52057bf3e8261a0e669b0a
BLAKE2b-256 8fcfbbc638adfe57af12cd83591f6e3a210fa6765df8ede83109e3d1ed8293a6

See more details on using hashes here.

File details

Details for the file project_generator_python-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for project_generator_python-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71062c4f641ecfae521742c88c76caed1560f6ed74e8c00bee70b760ff2a35bd
MD5 064f1ee402ce6033e02d8f676b36d915
BLAKE2b-256 ef36766cb1acf1011dc6cd0944d2ec74d226a6ed886f0f58c8e83a9bc24eb023

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