This release is a pre-release and may not be stable for production use.
uiml
A speacial XML format for drawing PySide6 UI interfaces A special XML format for drawing PySide6 UI interfacesIntroduction
uiml is a tool for drawing PySide6 UI interfaces using a special XML format. It defines the layout, style, and signals of the interface using a special XML format. The syntax of uiml is very simple and easy to learn and use. You can use uiml to create complex interfaces without writing a lot of code.
The syntax of uiml is based on XML, but it adds support for Python objects, so it has both the lightness of XML and the flexibility of Python objects.
Installation
To use uiml, you need to install it first. You can install uiml using pip:
pip install uiml
Usage
To use uiml, you need to create a uiml file and define the layout, style, and signals of the interface in it. Here is a simple example:
<layout name="central_layout" direction="v">
<QLabel name="text" arg=["This is a label"] />
<layout name="bottom_layout" direction="h" stretch="true">
<QPushButton name="ok_button" arg=["Close the window"] style="selected" signals={"clicked": self.close} />
</layout>
</layout>
Properties
layout
This is a layout object, which can add layout objects as children or add component objects. Parameters:
name: The name of the layout object, used to reference it in the code.direction: The direction of the layout, can be "v" (vertical) or "h" (horizontal), can be extended.stretch: The stretch factor of the layout object, can be "true" or "false".
Widget
This is a component object, the tag name of the object is the name of the control, such as "QLabel", "QPushButton" etc. Parameters:
name: The name of the component object, used to reference it in the code.arg: The parameters of the component object, stored in a list, can be strings, lists, dictionaries etc.kwarg: The properties of the component object, with keywords, stored in a dictionary, can be strings, lists, dictionaries etc.style: The style of the component object, can be strings, lists, dictionaries etc.signals: The signals of the component object, stored in a dictionary, the key is the signal name, the value is the signal processing function.init_steps: The initialization steps of the component object, stored in a list, the sub-items are stored in a dictionary.
Metadata
Release files for uiml 0.3.0.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uiml-0.3.0.dev1.tar.gz | 14.6 kB | Without provenance | Details for uiml-0.3.0.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uiml-0.3.0.dev1-py3-none-any.whl | Python 3 | none | any | Details for uiml-0.3.0.dev1-py3-none-any.whl |
Total release size: 26.2 kB
Release files / uiml-0.3.0.dev1.tar.gz
| Download URL | uiml-0.3.0.dev1.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa78c5cc9b47eff8aa167699b72ac667c55cbeeed8cd5f10b5728cfacb391ad5
|
|
BLAKE2b-256 checksum How to use checksums |
58c8f3e3cfc176838383297fa51f4dee308688bb9d9ceed6f4c071a71a34d48e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / uiml-0.3.0.dev1-py3-none-any.whl
| Download URL | uiml-0.3.0.dev1-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54f068489e717ea234a1a6162e7a8f550360f5cb43108e54e92ce66ad4cd759f
|
|
BLAKE2b-256 checksum How to use checksums |
d42631e654c3d5dd34a13ab4314768334865f9c340073475f2defde1d0d16fd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for uiml 0.3.0.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.