Skip to main content

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

Project description

https://img.shields.io/github/license/tpoveda/tpDccLib.svg

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.

Installation

Manual

1. Clone/Download tpDccLib anywhere in your PC (If you download the repo, you will need to extract the contents of the .zip file). 2. Copy tpDccLib folder located inside source folder in a path added to sys.path

Automatic

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.

Usage

Initialization Code

tpDccLib must be initialized before being used.

import tpDccLib
tpDccLib.init()

Reloading

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
reload(tpDccLib)
tpDccLib.init(True)

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
tpDccLib.init()

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.2.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tpdcclib-0.0.2-py2.py3-none-any.whl (23.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tpdcclib-0.0.2.tar.gz.

File metadata

  • Download URL: tpdcclib-0.0.2.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for tpdcclib-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7215e821a5028a108b6fb45c66466bd35e6bb1f8bb0e82fc077d955efbda5c91
MD5 1e85978c85457f876c9b84667365de78
BLAKE2b-256 ec6d252ab7fc6f128d25542d011609a45b2cae69baf302764a2c6eda252ff092

See more details on using hashes here.

File details

Details for the file tpdcclib-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: tpdcclib-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for tpdcclib-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a271cf38cda3ba95a8e9e2e643b89f8df525f244dcc107d6a4b4331ea7253cca
MD5 a9a5df1519f94c58da9bb27ce56d11fa
BLAKE2b-256 a79d870d915f1af9c6fee7364f510114241df4031eaad53249b0069c9e86542a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page