shared application utlities.
Project description
tpgUtils
Descripton
This package is currently being used to develop and test the gitlab pipeline
A collection of utilities commonly used in applications. Currently
- tpgPrint: Print reports to console, file or both
Packaging Notes
packaging requirements
build>=1.2.2 packaging>=24.2 twine>=6.0.1 (not need with uv) wheel>=0.45.1
packaging doc with setuptools
https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#package-discovery
pip install --upgrade setuptools[core]
quick steps: use src-layout pip install --upgrade build python -m build or uv build pip install --editable .
when done with dev pip uninstall
packaging doc
https://packaging.python.org/en/latest/tutorials/packaging-projects/ https://packaging.python.org/en/latest/overview/
oicd gitlab doc https://stefan.sofa-rockers.org/2024/11/14/gitlab-trusted-publisher/?utm_source=chatgpt.com
upload to pipy (test or prod)
pip install --upgrade twine or uv sync --extra dev
upload to test env - scoped token
py -m twine upload --repository testpypi/tpgUtils dist/* https://test.pypi.org/project/example_package_YOUR_USERNAME_HERE.
upload to test env
py -m twine upload --repository testpypi dist/* or uv publish --publish-url https://test.pypi.org/legacy/ --token
view package in test pypi https://test.pypi.org/
install package in local env:
py -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-package-YOUR-USERNAME-HERE
prod env
upload to prod env py -m twine upload --repository pypi dist/* or uv publish --token
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tpgutils-0.1.4.tar.gz.
File metadata
- Download URL: tpgutils-0.1.4.tar.gz
- Upload date:
- Size: 51.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
889a3a6108aae659b8db54b7ced8bc94ee9d6fabdd3a5f45e48da1d4bf95a3ee
|
|
| MD5 |
b9e5480897cf181dc829e1e0388c3214
|
|
| BLAKE2b-256 |
a34defde928a8fd646c4dbe4ae00412e59da7fdf15fdba8c8b07e37a2fb6fb0d
|
File details
Details for the file tpgutils-0.1.4-py3-none-any.whl.
File metadata
- Download URL: tpgutils-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c8b7d5d9c3844df047ab9c98a5f26f339c227803596f8bc23d851cf84492f5d
|
|
| MD5 |
eeeaddb8c2b939a67c64b22dacc0946a
|
|
| BLAKE2b-256 |
b6566496923104ac96b65aa09adf66a8e0090b2bd9fb95d45267d1607f9f89a6
|