XML Serialization Format
Adds support for XML serialization in masterpiece applications, enabling configuration through XML files.
Usage
To install:
.. code-block:: bash
pip install masterpiece-xmlformat
Once installed, you can pass the --init and --application_serialization_format
startup arguments to create a default set of configuration files. For example, to create
XML configuration files for the 'examples/myapp.py' application:
.. code-block:: bash
python examples/myapp.py --init --application_serialization_format XMLFormat
Upon successful execution, there should be a file located at ~/.myapp/config/MyApp.xml
with the following content:
.. code-block:: xml
0.0 yellowTo use XML as the default format, add the following line of code to your application:
.. code-block:: python
Application.serialization_format = "XMLFormat"
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for masterpiece-xmlformat 1.0.9
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 |
|---|---|---|---|---|
| masterpiece_xmlformat-1.0.9.tar.gz | 5.1 kB | Without provenance | Details for masterpiece_xmlformat-1.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| masterpiece_xmlformat-1.0.9-py3-none-any.whl | Python 3 | none | any | Details for masterpiece_xmlformat-1.0.9-py3-none-any.whl |
Total release size: 9.8 kB
Release files / masterpiece_xmlformat-1.0.9.tar.gz
| Download URL | masterpiece_xmlformat-1.0.9.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1bb98e75c0fd9b89a887f6e9b24ea3fd0a0c602cae97f7ef0e471656f1c8d918
|
|
BLAKE2b-256 checksum How to use checksums |
f443b94805bea3454c2d79702e211c60040a527451f324c22469a5c0cb3253d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / masterpiece_xmlformat-1.0.9-py3-none-any.whl
| Download URL | masterpiece_xmlformat-1.0.9-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f93740a4d084ef08c809d347e8c457d45e6575fd3299629cf277e4194c872979
|
|
BLAKE2b-256 checksum How to use checksums |
a4abf8017f73ae9feabea259592be2733c72473a3cb970d48eba1b9f2ec499be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Security for masterpiece-xmlformat 1.0.9
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.