Skip to main content

Collection of Python modules to write DCC tools in a DCC agnostic way.

Project description

Collection of Python modules to write DCC tools in a DCC agnostic way.

When working with specific DCCs, tpDccLib will auto import proper modules and will use DCC specific implementations.



1. Clone/Download tpDccLib anywhere in your PC (If you download the repo, you will need to extract the contents of the .zip file).

  1. Copy tpDccLib folder located inside source folder in a path added to sys.path


Automatic installation for tpDccLib is not finished yet.

DCC Implementations

At this moment following DCCs are supported:

During tpDccLib initialization, if DCC specific implementation package is found in sys.path, tpDccLib will automatically detect it and will import it.


Initialization Code

tpDccLib must be initialized before being used.

import tpDccLib


For development purposes, you can enable reloading system, so you can reload tpDccLib sources without the necessity of restarting your Python session. Useful when working with DCCs.

import tpDccLib

Enabling debug log

By default, tpDccLib logger only logs warning messages. To enable all log messages you can set TPDCCLIB_DEV environment variables to ‘True’

import os

os.environ['TPDCCLIB_DEV'] = 'True'
import tpDccLib

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 sdist bdist_wheel

Validate wheel package generation

twine check dist/*

Upload package to PyPi

twine upload dist/*

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tpdcclib-0.0.16.tar.gz (24.1 kB view hashes)

Uploaded source

Built Distribution

tpdcclib-0.0.16-py3.6.egg (74.8 kB view hashes)

Uploaded 3 6

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page