Skip to main content

CLI script to initialize python packages

Project description

pyboil

python package for initializing a python package

Getting started

for usage information, type

pyboil --help

usage: Pyboil [-h] -n NAME -a AUTHOR [-v VERSION] [-d DESCRIPTION] [-e EMAIL] [-u URL]

Initialize a basic python wheel package setup via cli script

options:
  -h, --help            show this help message and exit
  -n NAME, --name NAME  Specifies the name of the package to be initialized.
  -a AUTHOR, --author AUTHOR
                        The author of this package (likely you!).
  -v VERSION, --version VERSION
                        Version of the wheel to be placed in setup.py
  -d DESCRIPTION, --description DESCRIPTION
                        A short description of the package's purpose.
  -e EMAIL, --email EMAIL
                        email address for inquiries regarding the package.
  -u URL, --url URL     Project website link (Github or Pypi).

Get started fast!

NAME and AUTHOR are required fields. VERSION will default to 0.1.0 if not included. DESCRIPTION will default to "New python package!" if not included. EMAIL and URL will both default to an empty string ("") if not included.

Generated tree

for now, this script will generate a specific file structure as shown below

{NAME}
  -> __init__.py
build.sh
pyproject.toml
setup.py

when you run ./build.sh, it will install the build and twine python module. The wheel will be built using the 'build' package, and it will be uploaded to Pypi via Twine. Once you run build.sh, you will eventually be prompted for your Pypi username and password. Pass this verification and your wheel will be uploaded. After uploading the wheel, the script deletes all artifacts created locally.

I hope to expand this with more options to include various other build files, such as the MANIFEST.in. For now, a simple script to quick start projects is all that I needed.

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

pyboil-1.0.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

pyboil-1.0.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file pyboil-1.0.0.tar.gz.

File metadata

  • Download URL: pyboil-1.0.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyboil-1.0.0.tar.gz
Algorithm Hash digest
SHA256 33a578caddd478ed9751bcb3eb25e3c6059fadf4a86a82775e584e29151c2f22
MD5 52767368d3e677fd60b6360bbb376764
BLAKE2b-256 f7fa7c64d120977a3806cbd7eb9d5e4558e1978a35315cce1ad9bae11330c9b2

See more details on using hashes here.

File details

Details for the file pyboil-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyboil-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyboil-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6edacdb2733d7f2563bcb88d3bce209737e47caa4a5dad69d38d8dab2a0ef455
MD5 05153d871e7f341d383bbe5dd8a67927
BLAKE2b-256 3a0b451557323ad1242f07b41809dbf7ba2b6f0623cb0da2e84d68dba66adcd5

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