Skip to main content

Kim: A JSON Serialization and Marshaling framework

https://img.shields.io/pypi/v/py-kim.svg https://img.shields.io/pypi/l/py-kim.svg https://circleci.com/gh/mikeywaites/kim.svg?style=shield&circle-token=d46954b5e66c2cc885f35c745baaea9a70e961af

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.

http://kim.readthedocs.io/en/latest/

Metadata

Release files for py-kim 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-kim 1.2.4
File Size Uploaded
py-kim-1.2.4.tar.gz 33.0 kB Details

Release files / py-kim-1.2.4.tar.gz

Download URL py-kim-1.2.4.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e2c6543f14c4ee276ec8780655db037dde813a5fb32420fb8092ff501a67e11f
BLAKE2b-256 checksum
How to use checksums
0c363cb5f49ee802d48bdd8c9a3379d1932137cc5f3a83e241cb68aad14b52f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

This release

1.2.4 This release

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.1

1 release file

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.18

1 release file

0.0.17

1 release file

0.0.16

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page