Kim: A JSON Serialization and Marshaling framework
Project description
Introducing Kim:
.. code-block:: python
>>> mapper = UserMapper(data=response.json()) >>> mapper.marshal() User(id='one', name='Bruce Wayne', 'title'='CEO/Super Hero') >>> user_two = User.query.get('two') >>> mapper = UserMapper(obj=user_two) >>> mapper.serialize() {u'id': 'two', u'name': 'Martha Wayne', 'title': 'Mother of Batman'}
Kim Features
Kim is a feature packed framework for handling even the most complex marshaling and serialization requirements.
Web framework agnostic - Flask, Django, Framework-XXX supported!
Highly customisable field processing system
Security focused
Control included fields with powerful roles system
Handle mixed data types with polymorphic mappers
Marshal and Serialize nested objects
Kim officially supports Python 2.7 & 3.3–3.5
Installation
Install Kim using pip:
.. code-block:: bash
$ pip install py-kim
Documentation
Learn all of Kim’s features with these simple step-by-step instructions or check out the quickstart guide for a rapid overview to get going quickly.
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
File details
Details for the file py-kim-1.2.4.tar.gz
.
File metadata
- Download URL: py-kim-1.2.4.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2c6543f14c4ee276ec8780655db037dde813a5fb32420fb8092ff501a67e11f |
|
MD5 | ed57712f91f96156d82a265ae6b2044e |
|
BLAKE2b-256 | 0c363cb5f49ee802d48bdd8c9a3379d1932137cc5f3a83e241cb68aad14b52f0 |