tpPyUtils
Collection of Python modules to make your life easier when working with Python, specially for DCC tool development.
Installation
Manual
Clone/Download tpPyUtils anywhere in your PC (If you download the repo, you will need to extract the contents of the .zip file).
Copy tpPyUtils folder located inside source folder in a path added to sys.path
Automatic
Automatic installation for tpPyUtils is not finished yet.
Usage
Initialization Code
tpPyUtils must be initialized before being used.
import tpPyUtils
tpPyUtils.init()
Reloading
For development purposes, you can enable reloading system, so you can reload tpPyUtils sources without the necessity of restarting your Python session. Useful when working with DCCs
import tpPyUtils
reload(tpPyUtils)
tpPyUtils.init(True)
Enabling debug log
By default, tpPyUtils logger only logs warning messages. To enable all log messages you can set TPPYUTILS_DEV environment variables to ‘True’
import os
os.environ['TPPYUTILS_DEV'] = 'True'
import tpPyUtils
tpPyUtils.init()
Deploying new version (only for devs)
Update version
Make sure setup.cfg file version field is updated
Installing libraries
Make sure that you have installed the following packages:
wheel
pip install wheel
twine
pip install twine
setuptools
pip install setuptools
Make sure to update setuptools to latest available version:
pip install setuptools --upgrade
Generate wheel
python setup.py sdist bdist_wheel
Validate wheel package generation
twine check dist/*
Upload package to PyPi
twine upload dist/*
Metadata
Release files for tppyutils 0.0.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tppyutils-0.0.22.tar.gz | 67.1 kB | Without provenance | Details for tppyutils-0.0.22.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tppyutils-0.0.22-py3.6.egg | Legacy Egg format | - | - | Details for tppyutils-0.0.22-py3.6.egg |
Total release size: 271.7 kB
Release files / tppyutils-0.0.22.tar.gz
| Download URL | tppyutils-0.0.22.tar.gz |
|---|---|
| Size | 67.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96eb3cf7b2eaf045fdf58cc783ef48390aedc9d6c7c85a34c01594600c96e16c
|
|
BLAKE2b-256 checksum How to use checksums |
6cc3a9ce0623970d5325fee703742537c7d4c54c1a1209a62b9557d33ba98804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
|
Release files / tppyutils-0.0.22-py3.6.egg
| Download URL | tppyutils-0.0.22-py3.6.egg |
|---|---|
| Size | 204.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
78caaa36c499de8407f9bb17faaca63dc3c751ab1c9369bf0f107709bcf64737
|
|
BLAKE2b-256 checksum How to use checksums |
e0909b37a9bb74c5cb77796d9ea6bad1eb9ec86fd952f0cb640530446b7332cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
|
Security for tppyutils 0.0.22
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.