Library for serializing and deserializing Python Objects to and from JSON and XML.
Project description
py-serializable
This Pythonic library provides a framework for serializing/deserializing Python classes to and from JSON and XML.
It relies upon the use of Python Properties in your Python classes.
Read the full documentation for more details.
Installation
Install this from PyPi.org using your preferred Python package manager.
Example using pip
:
pip install py-serializable
Example using poetry
:
poetry add py-serializable
Usage
See the full documentation or our unit tests for usage and details.
Python Support
We endeavour to support all functionality for all current actively supported Python versions. However, some features may not be possible/present in older Python versions due to their lack of support.
Contributing
Feel free to open issues, bugreports or pull requests.
See the CONTRIBUTING file for details.
Copyright & License
py-serializable
is Copyright (c) Paul Horton 2022. All Rights Reserved.
Permission to modify and redistribute is granted under the terms of the Apache 2.0 license.
See the LICENSE file for the full license.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file py_serializable-1.1.0.tar.gz
.
File metadata
- Download URL: py_serializable-1.1.0.tar.gz
- Upload date:
- Size: 53.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3311ab39063b131caca0fb75e2038153682e55576c67f24a2de72d402dccb6e0 |
|
MD5 | 8d323de7b222770cf2ed3c2e67b34e8c |
|
BLAKE2b-256 | 1767b3f82dfbaaee8888380db391cdb870b95b034de5ac10634e5e6cafd50d3e |
File details
Details for the file py_serializable-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: py_serializable-1.1.0-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7ae4326b0d037b7e710f6e8bb1a97ece4ac2895a1f443a17ffd17f85547d76 |
|
MD5 | 8797a90ac1b09e5f239b5c1a59732d0e |
|
BLAKE2b-256 | 23ed2ea2165bbdb14fcbd2a13ce8937b1e398a9c80a34d8f31301679bb4a5798 |