Skip to main content

Maya implementation for tpDccLib and tpQtLib. Utils functions to work with Maya Python APIs.

Project description

Maya implementation for tpDccLib and tpQtLib packages.

Also, this module contains a lot of utilities functions and classes to work with Maya Python APIs (cmds and OpenMaya)



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

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


Automatic installation for tpMayaLib is not finished yet.


Initialization Code

1. If tpDccLib or tpQtLib packages are being used, tpMayaLib will be automatic imported during the initialization of those packages. 2. If tpDccLib and tpQtLib are not found in your sys.path, you will need to initialize manually tpMayaLib.

import tpMayaLib


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

  1. If tpDccLib and tpQtLib packages are being used, tpMayaLib will be automatic reload by tpDccLib and tpQtLib reload systems.
  2. If tpDccLib and tpQtLib are not found, you will need to reload tpMayaLib manually.
import tpMayaLib

Enabling debug log

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

import os

os.environ['TPMAYALIB_DEV'] = 'True'
import tpMayaLib

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

tpmayalib-0.0.17.tar.gz (217.0 kB view hashes)

Uploaded source

Built Distribution

tpmayalib-0.0.17-py3.6.egg (624.0 kB view hashes)

Uploaded 3 6

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page