Skip to main content

Collection of Python utilities modules to work with PySide/PyQt and DCCs

Project description

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

Collection of Python modules to make your life easier when working with PySide/PyQt.

Also, when working with specific DCCs, tpQtLib will auto import proper modules and will use DCC specific implementations for PySide/PyQt widgets.

Installation

Manual

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

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

Automatic

Automatic installation for tpQtLib is not finished yet.

DCC Implementations

At this moment following DCCs are supported:

During tpQtLib initialization, if DCC specific implementation package is found in sys.path, tpQtLib will automatically detect it and will import it.

Usage

Initialization Code

tpQtLib must be initialized before being used.

import tpQtLib
tpQtLib.init()

Reloading

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

import tpQtLib
reload(tpQtLib)
tpQtLib.init(True)

Enabling debug log

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

import os

os.environ['TPQTLIB_DEV'] = 'True'
import tpQtLib
tpQtLib.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/*

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

tpqtlib-0.0.21.tar.gz (518.7 kB view details)

Uploaded Source

Built Distribution

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

tpqtlib-0.0.21-py3.6.egg (1.3 MB view details)

Uploaded Egg

File details

Details for the file tpqtlib-0.0.21.tar.gz.

File metadata

  • Download URL: tpqtlib-0.0.21.tar.gz
  • Upload date:
  • Size: 518.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for tpqtlib-0.0.21.tar.gz
Algorithm Hash digest
SHA256 553373a0a31a61bb9d6608be99b71d3def7d8606dbd13ad15534b5793797931e
MD5 81d719e5a023d8ca24a8b0dc469c1410
BLAKE2b-256 d166c8caefd721dea127148b61543035e96234567b2e0f5e05611b0d9c1a2569

See more details on using hashes here.

File details

Details for the file tpqtlib-0.0.21-py3.6.egg.

File metadata

  • Download URL: tpqtlib-0.0.21-py3.6.egg
  • Upload date:
  • Size: 1.3 MB
  • Tags: Egg
  • Uploaded using 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

File hashes

Hashes for tpqtlib-0.0.21-py3.6.egg
Algorithm Hash digest
SHA256 cb9df4a8c9f32ac65f0760291a0b88e339309ab46bc381221f244c43ab9bba3a
MD5 0cd59071ee1c445c71225c82bd5f8393
BLAKE2b-256 e469a2c4af69c5ec170e0d2b50009f525ba1573c0b53d2316e84aaa61090c328

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