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:
- Enter project name
- Choose template (basic/yn_tools/etc)
- 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
- Clone the repository
- Create virtual environment:
python -m venv venv source venv/bin/activate # or `venv\Scripts\activate` on Windows
- Install in development mode:
pip install -e .
License
MIT
Author
Barry Duan
发布步骤:
1. 清理旧的构建文件:
```bash
rm -rf dist/ build/ *.egg-info/
- 构建项目:
python -m build
- 上传到 PyPI:
python -m twine upload dist/*
项目名称改为 project-generator-python 的优点:
- 更好的描述性
- 遵循 Python 包命名约定
- 易于在 PyPI 上搜索
- 能清晰表明这是一个 Python 相关的工具
用户可以通过以下方式安装和使用:
pip install project-generator-python
create-project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file project_generator_python-0.1.2.tar.gz.
File metadata
- Download URL: project_generator_python-0.1.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d42cbd841a55cef035c13c8dd27c65a4cc49f56550b6b86eec67f4170575e434
|
|
| MD5 |
105e5abe744b4fee369e3cd8bf9a7eaa
|
|
| BLAKE2b-256 |
c22b4d0528da6e6c4dca4649d8f46f424d7d994862c4466362960c08841a05ec
|
File details
Details for the file project_generator_python-0.1.2-py3-none-any.whl.
File metadata
- Download URL: project_generator_python-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fdb42c73b5ade415cf87087b50a53171af5837cb40f2b14f2a3453a62c2f4ec
|
|
| MD5 |
0176b1f57c0bef744d667ea9080e83a4
|
|
| BLAKE2b-256 |
1a568343fb7663adf89a964d6da75a2edcfcd7549890cf64fc14c5223bd17acc
|