XML serialization format for the `masterpiece` framework
Project description
XML Serialization Format
Plugs-in XML support to masterpiece applications.
Note: This is an alpha release; do not use it for anything critical at this stage.
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file masterpiece_xmlformat-1.0.5.tar.gz.
File metadata
- Download URL: masterpiece_xmlformat-1.0.5.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
930f771fcef751af14dd39d4ae1ff0776a3bdd423beb66446e34996be4407373
|
|
| MD5 |
eac29dcb7ba08a53fba98d2c9679607e
|
|
| BLAKE2b-256 |
f9952feb6409be6543133c8434b5d4ed32c29c33a536d8420a39e5ba11c9bda3
|
File details
Details for the file masterpiece_xmlformat-1.0.5-py3-none-any.whl.
File metadata
- Download URL: masterpiece_xmlformat-1.0.5-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be01e4b2fb73ac510de1fecc4e1b7f7519e291052c7906e573602845fbdab945
|
|
| MD5 |
5cc68c0cb9df3ac47ff27b69d2071a71
|
|
| BLAKE2b-256 |
f9bb267ef74bb34e046c7b021f3e9083b4a372c07d1981b44a9d7e1eb686c754
|