Name | qtypes JSON |
Version |
2023.3.0
JSON |
| download |
home_page | https://gitlab.com/yaq/qtypes |
Summary | Build qt graphical user interfaces out of simple type objects. |
upload_time | 2023-03-22 21:40:43 |
maintainer | None |
docs_url | None |
author | Blaise Thompson |
requires_python | None |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# qtypes
[![PyPI](https://img.shields.io/pypi/v/qtypes)](https://pypi.org/project/qtypes)
[![Conda](https://img.shields.io/conda/vn/conda-forge/qtypes)](https://anaconda.org/conda-forge/qtypes)
[![black](https://img.shields.io/badge/code--style-black-black)](https://black.readthedocs.io/)
[![log](https://img.shields.io/badge/change-log-informational)](https://gitlab.com/yaq/qtypes/-/blob/main/CHANGELOG.md)
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](https://pint.readthedocs.io)
### 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.:
```bash
$ 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. |
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/yaq/qtypes",
"name": "qtypes",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Blaise Thompson",
"author_email": "blaise@untzag.com",
"download_url": "https://files.pythonhosted.org/packages/f8/10/a8a44a9f1d516c237ad9ae22c38f2a4b51bf552af988ecb7bccd24f6024f/qtypes-2023.3.0.tar.gz",
"platform": null,
"description": "# qtypes\n\n[![PyPI](https://img.shields.io/pypi/v/qtypes)](https://pypi.org/project/qtypes)\n[![Conda](https://img.shields.io/conda/vn/conda-forge/qtypes)](https://anaconda.org/conda-forge/qtypes)\n[![black](https://img.shields.io/badge/code--style-black-black)](https://black.readthedocs.io/)\n[![log](https://img.shields.io/badge/change-log-informational)](https://gitlab.com/yaq/qtypes/-/blob/main/CHANGELOG.md)\n\nBuild qt graphical user interfaces out of simple type objects.\n\n## Installation\n\nTODO\n\n## Types\n\n### Bool\n\n```\nvalue: bool\n```\n\n### Button\n\n```\nvalue: None\nbackground_color: str\ntext: str\ntext_color: str\n```\n\n### Enum\n```\nvalue: str\nallowed: List[str]\n```\n\n### Float\n\n```\nvalue: double\nunits: str\nminimum: double\nmaximum: double\ndecimals: int\n```\n\nNote that units support works via [pint](https://pint.readthedocs.io)\n\n### Integer\n\n```\nvalue: int\nminimum: int\nmaximum: int\n```\n\n### String\n\n```\nvalue: str\n```\n\n## Examples\n\n`qtypes` comes with a few examples right out of the box.\nRun them using the python module syntax, e.g.:\n\n```bash\n$ python -m qtypes.examples one_of_each\n```\n\nIncluded examples:\n\n| example | description |\n| ------------- | ---------------------------------------------------------------------- |\n| `one_of_each` | Simple example displaying one of each type with some inspection tools. |\n| `units` | Example demonstrating units support for qtypes Float object. |\n",
"bugtrack_url": null,
"license": null,
"summary": "Build qt graphical user interfaces out of simple type objects.",
"version": "2023.3.0",
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "da050b1ca5661120d4572af5c26918e0c02e631d8f983dbc45701c408fe76e58",
"md5": "c261140ea359b45aa07f790c218c3172",
"sha256": "f893ae12087c77a9ed458a745390b4dbd8499f3cb5a4b4b5a9ef22ada92bc450"
},
"downloads": -1,
"filename": "qtypes-2023.3.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "c261140ea359b45aa07f790c218c3172",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 45080,
"upload_time": "2023-03-22T21:40:41",
"upload_time_iso_8601": "2023-03-22T21:40:41.544800Z",
"url": "https://files.pythonhosted.org/packages/da/05/0b1ca5661120d4572af5c26918e0c02e631d8f983dbc45701c408fe76e58/qtypes-2023.3.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "f810a8a44a9f1d516c237ad9ae22c38f2a4b51bf552af988ecb7bccd24f6024f",
"md5": "82485b1dba54b966b49f63d6139353c9",
"sha256": "f4ef997f1c82396a95d14e91aa95fbcd17cfef7e4bc70727e73f03bc801ac041"
},
"downloads": -1,
"filename": "qtypes-2023.3.0.tar.gz",
"has_sig": false,
"md5_digest": "82485b1dba54b966b49f63d6139353c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 34346,
"upload_time": "2023-03-22T21:40:43",
"upload_time_iso_8601": "2023-03-22T21:40:43.751013Z",
"url": "https://files.pythonhosted.org/packages/f8/10/a8a44a9f1d516c237ad9ae22c38f2a4b51bf552af988ecb7bccd24f6024f/qtypes-2023.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-22 21:40:43",
"github": false,
"gitlab": true,
"bitbucket": false,
"gitlab_user": "yaq",
"gitlab_project": "qtypes",
"lcname": "qtypes"
}