Skip to main content

Collection of Python utilities modules to work with Python and DCCs

Project description

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

Collection of Python modules to make your life easier when working with Python, specially for DCC tool development.

Installation

Manual

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

  2. Copy tpPyUtils folder located inside source folder in a path added to sys.path

Automatic

Automatic installation for tpPyUtils is not finished yet.

Usage

Initialization Code

tpPyUtils must be initialized before being used.

import tpPyUtils
tpPyUtils.init()

Reloading

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

import tpPyUtils
reload(tpPyUtils)
tpPyUtils.init(True)

Enabling debug log

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

import os
os.environ['TPPYUTILS_DEV'] = 'True'
import tpPyUtils
tpPyUtils.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

tppyutils-0.0.5.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file tppyutils-0.0.5.tar.gz.

File metadata

  • Download URL: tppyutils-0.0.5.tar.gz
  • Upload date:
  • Size: 2.3 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.14

File hashes

Hashes for tppyutils-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ca14ee269f457464d58018c212cde831ae71e9344f0d99aad0525b3dc4d237cc
MD5 703fbda4622d125b809454a5dc1cc076
BLAKE2b-256 2f57c8fdbd67d14c67d6e2c40c0b416b2d234c0e080d8f662e8a99c14ed79359

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