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.2.tar.gz (4.2 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.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for project_generator_python-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d42cbd841a55cef035c13c8dd27c65a4cc49f56550b6b86eec67f4170575e434
MD5 105e5abe744b4fee369e3cd8bf9a7eaa
BLAKE2b-256 c22b4d0528da6e6c4dca4649d8f46f424d7d994862c4466362960c08841a05ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for project_generator_python-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fdb42c73b5ade415cf87087b50a53171af5837cb40f2b14f2a3453a62c2f4ec
MD5 0176b1f57c0bef744d667ea9080e83a4
BLAKE2b-256 1a568343fb7663adf89a964d6da75a2edcfcd7549890cf64fc14c5223bd17acc

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