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 wrappersio_.py
- input output, files/folders managementparser.py
- Argparse extendsprinting.py
- printing helperss3.py
- AWS S3 interactionsystem_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/.
- Register separate account here https://test.pypi.org/
- Create token.
- Update your
~/.pypirc
[testpypi]
username = __token__
password = Your_token_from_test_pypi_org_here
- Check your upload
$ python -m twine upload --repository testpypi dist/*
Production upload
-
Generate token https://pypi.org/manage/account/token/
-
Edit or create a
~/.pypirc
file with following structure:
[pypi]
username = __token__
password = Your_token_here
- Upload package using twine.
$ python -m twine upload --repository pypi dist/*
Project details
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
p1_helpers-1.0.0-py3-none-any.whl
(28.5 kB
view hashes)
Close
Hashes for p1_helpers-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1233d70292d159d85e1d0787fd328db24aeb7347cf3db62dc1134581bae13941 |
|
MD5 | ec6525b8ba9d19848b367a399964a4b2 |
|
BLAKE2b-256 | b76a9a6f829016cbe096094ad0d44025286b250a9b230449763d78424aa1de8b |