Skip to main content
Help us improve Python packaging – donate today!

Kim: A JSON Serialization and Marshaling framework

Project Description

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/

Release history Release notifications

This version
History Node

1.2.1

History Node

1.2.0

History Node

1.1.1

History Node

1.1.0

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

0.1.10

History Node

0.1.9

History Node

0.1.8

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.18

History Node

0.0.17

History Node

0.0.16

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
py-kim-1.2.1.tar.gz (32.9 kB) Copy SHA256 hash SHA256 Source None Mar 9, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page