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.4.tar.gz (4.3 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.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyinitpro-0.1.4.tar.gz
  • Upload date:
  • Size: 4.3 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.4.tar.gz
Algorithm Hash digest
SHA256 8f58d12a66ece9defe4e632e5ee953773c94f7b9aa270ee6dfdf3a6eb6362c41
MD5 000a67a1a26bf823b97d9993e16c15ba
BLAKE2b-256 aecbd2b3bbdff1b76369c7e8ddbdf45f704084f06790aa233cdd6295b3fcc325

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyinitpro-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 75c1173622395e983d6e630b61a36d54c868dbec3cbbc29426c307e7165c301f
MD5 4e8ec719c8ac0701881ff3f3fec88869
BLAKE2b-256 04b74397e04875715fa3764f28e24f7982609adb0a32a69bd643553e40f128bd

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