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.3.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.

pyinitpro-0.1.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyinitpro-0.1.3.tar.gz
  • Upload date:
  • Size: 4.2 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.3.tar.gz
Algorithm Hash digest
SHA256 073186fc3935c898dfb903a0d451bb4fe7bc08b9d48b3c60ead83e70fcc666da
MD5 c9643a4e38298eeda79a2b53146fcbca
BLAKE2b-256 5154b420f3c60050e45ee41d79e1f8589a074e18a2675d2d0396329894a78aec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyinitpro-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 97e6441c934cd278db1d0d7d7cf7f115aa3e88dd5567b491636091eef0905572
MD5 0fe784ce20d223fe3291f359208062c9
BLAKE2b-256 dcf7887a5637f1ba02eb03f775d05557c46dca8fc364840ab33cc4822f9de329

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