Collection of Python utilities modules to work with PySide/PyQt and DCCs
Project description
Collection of Python modules to make your life easier when working with PySide/PyQt.
Also, when working with specific DCCs, tpQtLib will auto import proper modules and will use DCC specific implementations for PySide/PyQt widgets.
Installation
Manual
1. Clone/Download tpQtLib anywhere in your PC (If you download the repo, you will need to extract the contents of the .zip file). 2. Copy tpQtLib folder located inside source folder in a path added to sys.path
Automatic
Automatic installation for tpQtLib is not finished yet.
DCC Implementations
At this moment following DCCs are supported:
3ds Max: https://github.com/tpoveda/tpMaxLib
Blender: Work in Progress
During tpQtLib initialization, if DCC specific implementation package is found in sys.path, tpQtLib will automatically detect it and will import it.
Usage
Initialization Code
tpQtLib must be initialized before being used.
import tpQtLib
tpQtLib.init()
Reloading
For development purposes, you can enable reloading system, so you can reload tpQtLib sources without the necessity of restarting your Python session. Useful when working with DCCs.
import tpQtLib
reload(tpQtLib)
tpQtLib.init(True)
Enabling debug log
By default, tpQtLib logger only logs warning messages. To enable all log messages you can set TPQTLIB_DEV environment variables to ‘True’
import os
os.environ['TPQTLIB_DEV'] = 'True'
import tpQtLib
tpQtLib.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.
Source Distribution
Built Distribution
Hashes for tpqtlib-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4db4e572af451eb6c253d48194527d5acd1eabaf83d5470df34e95178b9bebd |
|
MD5 | b835614170c09653fa6ea0c7e549dadc |
|
BLAKE2b-256 | d3f9a730a82745bb95b9b7cb674265c0c3ad88241282cc277ec90a64941643d3 |