Skip to main content
https://img.shields.io/github/license/tpoveda/tpMayaLib.svg

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)

Installation

Manual

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

Automatic installation for tpMayaLib is not finished yet.

Usage

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

Reloading

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

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

Metadata

Release files for tpmayalib 0.0.17

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

Source distribution (sdist)

Source distribution for tpmayalib 0.0.17
File Size Uploaded
tpmayalib-0.0.17.tar.gz 217.0 kB Details

Built distribution (wheel)

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

Total release size: 841.0 kB

Release files / tpmayalib-0.0.17.tar.gz

Download URL tpmayalib-0.0.17.tar.gz
Size 217.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2ad4e3716e461feaca258da223bfef7cef36c07133147fc293227a4c6d7043b9
BLAKE2b-256 checksum
How to use checksums
c1207126c3a6101d77156607fff56a9b468d57c612e2a68c228e0182de205b3d
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 / tpmayalib-0.0.17-py3.6.egg

Download URL tpmayalib-0.0.17-py3.6.egg
Size 624.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
c5b1b31abf705e0e0790974c99ba35cc12aee5b99ccc3dfc51f05aacf5f01bcf
BLAKE2b-256 checksum
How to use checksums
c8ab02b66faf40922b95d0024385164d685149ebb5f83e3e8bee7a90435cfad1
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.17 This release

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.12

2 release files

0.0.10

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