Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyinitpro-0.1.5.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

pyinitpro-0.1.5-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file pyinitpro-0.1.5.tar.gz.

File metadata

  • Download URL: pyinitpro-0.1.5.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for pyinitpro-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2bbeb2966017000bf02e7358f7dd61511b49fe9ffa4884696dc80ed3a17f50db
MD5 4a3a6fc96d2937eb4c2ea0b632cb0640
BLAKE2b-256 a605fb58571619da782be7be74025a1f92598ac1f5dc9d8f297c0fcc8c8d1745

See more details on using hashes here.

File details

Details for the file pyinitpro-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pyinitpro-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for pyinitpro-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b77e970e50685baffb1deb6652c196f5166510f545cc32cc0fb13f86398cd83c
MD5 bbfda23faabd9164b97c8d24891c19ec
BLAKE2b-256 983142b73ba30ad1d077eb04c766a8b0d30229e61af733c846a18a681f9fc54b

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