Skip to main content

tpQtLib

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/*

Metadata

Release files for tpqtlib 0.0.25

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

Source distribution (sdist)

Source distribution for tpqtlib 0.0.25
File Size Uploaded
tpqtlib-0.0.25.tar.gz 1.0 MB Details

Built distribution (wheel)

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

Total release size: 2.9 MB

Release files / tpqtlib-0.0.25.tar.gz

Download URL tpqtlib-0.0.25.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
992fbb9758586129d0b087b1a7a599ba446f3e72967fe8a68003092182b8059b
BLAKE2b-256 checksum
How to use checksums
9e82bbd56ae8a765d355855997cd901b4b61c0d9533ede1863d5e749ccce5549
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 / tpqtlib-0.0.25-py3.6.egg

Download URL tpqtlib-0.0.25-py3.6.egg
Size 1.9 MB
Tags Egg
SHA-256 checksum
How to use checksums
286421416f89c15a99f0272689418f6839894cc410f7dc76e9ae74dc7a96e903
BLAKE2b-256 checksum
How to use checksums
e8b37c6181de5f95dcd4e1e6ad1c8fae523c42ca95cbd51d2fe3cf1727ca1e85
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.25 This release

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

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