Skip to main content

A corporate helper package

Project description

p1_helpers

Package with common helper functions we use all the time. We use it to reduce code repeating and unify common processes.

$ tree p1_helpers/
p1_helpers/
├── dbg.py
├── io_.py
├── parser.py
├── printing.py
├── s3.py
└── system_interaction.py

Package contents

  • dbg.py - debugging wrappers, logging, assertion wrappers
  • io_.py - input output, files/folders management
  • parser.py - Argparse extends
  • printing.py - printing helpers
  • s3.py - AWS S3 interaction
  • system_interaction.py - CLI wrappers

Build package

  • Build
$ python -m build --no-isolation

Will create dist/ folder with package.

  • Test your package with local installation

Upload package to pypi.org

Test upload

Before upload on pypy.org try to upload using test.pypi.org server, more info here https://packaging.python.org/guides/using-testpypi/.

[testpypi]
  username = __token__
  password = Your_token_from_test_pypi_org_here
  • Check your upload
$ python -m twine upload --repository testpypi dist/*

Production upload

[pypi]
  username = __token__
  password = Your_token_here
  • Upload package using twine.
$ python -m twine upload --repository pypi dist/*

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

p1_helpers-1.0.0.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

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

p1_helpers-1.0.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: p1_helpers-1.0.0.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for p1_helpers-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7fd471f62f2bd9bcd5b130f75f47f10bfb8145b3db657609346f9666ebbf22ba
MD5 ce4c7fab17420150e46ce73fb141ef0a
BLAKE2b-256 d7fde9010ce017ac8d54b8a61c5a40974914417881d2894e22e33ca3a2313732

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p1_helpers-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for p1_helpers-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1233d70292d159d85e1d0787fd328db24aeb7347cf3db62dc1134581bae13941
MD5 ec6525b8ba9d19848b367a399964a4b2
BLAKE2b-256 b76a9a6f829016cbe096094ad0d44025286b250a9b230449763d78424aa1de8b

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