A CLI tool to scaffold Python projects with venv and folder structure
Project description
Sure! Here’s the updated “How To” guide that includes the new flags and functionalities added to the pyinitpro CLI tool.
⸻
✅ How to Set Up and Use pyinitpro CLI (Cross-Platform Guide)
🚀 Install pyinitpro using pip
pip install pyinitpro
✅ This makes the pyinitpro command available globally.
⸻
✅ 4. Usage
Now you can run pyinitpro from anywhere in your terminal:
pyinitpro
It will prompt you to: • Create a new project or use an existing one: • New project: Asks for the project name, subfolders, etc. • Existing project: Asks for the path and sets up the folders. • Create a Python virtual environment (optional): • You can skip this with the --no-venv flag. • You can specify a Python version with the --python-version flag. • Add dependencies to requirements.txt: • Provide a comma-separated list of dependencies via the --dependencies flag. • If no dependencies are provided, a preconfigured template for requirements.txt will be created. • Initialize a Git repository (optional): • You can choose to initialize a Git repo by answering y when prompted. • If desired, add a remote repository URL with the --git-remote flag. • Interactive Setup (optional): • Enable an interactive setup where you will be prompted for custom folder names by using the --interactive flag.
Example usage with flags:
pyinitpro --interactive --dependencies flask,requests --python-version 3.9
⸻
💡 Notes • To uninstall pyinitpro:
pip uninstall pyinitpro
• For more information, visit the project's GitHub repository: https://github.com/Martins-O/pyinitpro
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 pyinitpro-0.1.6.tar.gz.
File metadata
- Download URL: pyinitpro-0.1.6.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04246b4c783637aa3f60023e5249b30393e319a8350cdd98a4dac024b78fe8ca
|
|
| MD5 |
09dd6c80ae13454cfb4846b33a5096e4
|
|
| BLAKE2b-256 |
4baafcfcb72e4a30d65ee88f3a335f94d3056e02d50c622bc3478b555a26be0e
|
File details
Details for the file pyinitpro-0.1.6-py3-none-any.whl.
File metadata
- Download URL: pyinitpro-0.1.6-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237d497ab2689aa587ec43e8adbba8c80b47055ba971ae033fb49a3767f619df
|
|
| MD5 |
cfc0173fad52d796c767e6934ef37654
|
|
| BLAKE2b-256 |
eefa3f583d95565bed77b07401051ef4d369b1124c63359faf0d66b9256358f5
|