Skip to main content

tpDccLib

https://img.shields.io/github/license/tpoveda/tpDccLib.svg https://travis-ci.com/tpoveda/tpDccLib.svg?branch=master

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).

  1. 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()

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 tpdcclib 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tpdcclib 0.0.16
File Size Uploaded
tpdcclib-0.0.16.tar.gz 24.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tpdcclib 0.0.16
File Interpreter ABI Platform
tpdcclib-0.0.16-py3.6.egg Legacy Egg format - - Details

Total release size: 98.9 kB

Release files / tpdcclib-0.0.16.tar.gz

Download URL tpdcclib-0.0.16.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5a1da5d6b4f099829f7e17fc85a845b669e6b9f23f747a94cdebe83066757b4d
BLAKE2b-256 checksum
How to use checksums
e281fd7c61b5710f5248dd9c5dc47a8f597e9e61e47dace39ff1acde557f1d44
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 / tpdcclib-0.0.16-py3.6.egg

Download URL tpdcclib-0.0.16-py3.6.egg
Size 74.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
2dd6bd2398205512b26d94452e45eef211030f03dbeed01a60b162e967e1708c
BLAKE2b-256 checksum
How to use checksums
90d62b82cb2bc7d20b3458ba33146850d464cdb7363e65c509e700d3c5b5931e
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 history Release notifications | RSS feed

This release

0.0.16 This release

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page