Collection of Python utilities modules to work with Python and DCCs
Project description
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()
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.