Skip to main content

Build qt graphical user interfaces out of simple type objects.

Project description

qtypes

PyPI Conda black log

Build qt graphical user interfaces out of simple type objects.

Installation

TODO

Types

Bool

value: bool

Button

value: None
background_color: str
text: str
text_color: str

Enum

value: str
allowed: List[str]

Float

value: double
units: str
minimum: double
maximum: double
decimals: int

Note that units support works via pint

Integer

value: int
minimum: int
maximum: int

String

value: str

Examples

qtypes comes with a few examples right out of the box. Run them using the python module syntax, e.g.:

$ python -m qtypes.examples one_of_each

Included examples:

example description
one_of_each Simple example displaying one of each type with some inspection tools.
units Example demonstrating units support for qtypes Float object.

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

qtypes-2022.11.0.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

qtypes-2022.11.0-py2.py3-none-any.whl (44.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file qtypes-2022.11.0.tar.gz.

File metadata

  • Download URL: qtypes-2022.11.0.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for qtypes-2022.11.0.tar.gz
Algorithm Hash digest
SHA256 bf1934605ed75b182ff0a8442d679d3d5f2820bd27b951fe7c5a363b070ac322
MD5 e114375d6b94e7ee5abe1cbafb833294
BLAKE2b-256 4e80a5a74e542ec0d1f82c04002cbd3489324330eb87bc3fc5db8278e49e5008

See more details on using hashes here.

File details

Details for the file qtypes-2022.11.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for qtypes-2022.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2d990c35a6b312b885c4373e15d41eec593fbf276850e67c7a7a93ff57189f89
MD5 93d6b544175e37e02db6011f4e50a517
BLAKE2b-256 c27ae9826d7d6ae205c9ffcfd2d4f0b7d39bdd61709589b37083a6824b874389

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page