{ "info": { "author": "Bernhard Weitzhofer", "author_email": "bernhard@weitzhofer.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: DFSG approved", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=================================================\nlima: Lightweight Marshalling of Python 3 Objects\n=================================================\n\n|pypi| |docs| |build| |coverage|\n\n**lima** takes arbitrary Python objects and converts them into data structures\nnative to Python. The result can easily be serialized into JSON, XML, and all\nsorts of other things. lima is Free Software, lightweight and fast.\n\n\nlima at a Glance\n================\n\n.. code-block:: python\n\n import datetime\n import lima\n\n # a model\n class Book:\n def __init__(self, title, date_published):\n self.title = title\n self.date_published = date_published\n\n # a marshalling schema\n class BookSchema(lima.Schema):\n title = lima.fields.String()\n published = lima.fields.Date(attr='date_published')\n\n book = Book('The Old Man and the Sea', datetime.date(1952, 9, 1))\n schema = BookSchema()\n schema.dump(book)\n # {'published': '1952-09-01', 'title': 'The Old Man and the Sea'}\n\n\nKey Features\n============\n\nLightweight\n lima has only a few hundred SLOC. lima has no external dependencies.\n\nFast\n lima tries to be as fast as possible while still remaining pure Python 3.\n\nWell documented\n lima has a comprehensive tutorial and more than one line of docstring per\n line of Python code (see `documentation`_).\n\nFree\n lima is Free Software, licensed under the terms of the MIT license.\n\n\nRequirements\n============\n\nPython 3.3 or newer. That's it.\n\n\nInstallation\n============\n\n::\n\n $ pip install lima\n\nSee the `documentation`_ for more comprehensive install instructions.\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/lima.svg\n ?style=flat-square\n :target: https://pypi.python.org/pypi/lima\n :alt: PyPi Package\n\n.. |docs| image:: https://readthedocs.org/projects/lima/badge/\n ?version=latest&style=flat-square\n :target: https://lima.readthedocs.org\n :alt: Documentation Status\n\n.. |build| image:: https://img.shields.io/travis/b6d/lima/master.svg\n ?style=flat-square\n :target: https://travis-ci.org/b6d/lima\n :alt: Build Status\n\n.. |coverage| image:: https://img.shields.io/coveralls/b6d/lima/master.svg\n ?style=flat-square\n :target: https://coveralls.io/r/b6d/lima\n :alt: Test Coverage\n\n.. _documentation: https://lima.readthedocs.org/en/latest/", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://lima.readthedocs.org", "keywords": "marshal marshalling serialization api json rest", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "lima", "package_url": "https://pypi.org/project/lima/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/lima/", "project_urls": { "Homepage": "https://lima.readthedocs.org" }, "release_url": "https://pypi.org/project/lima/0.5/", "requires_dist": null, "requires_python": null, "summary": "Lightweight Marshalling of Python 3 Objects.", "version": "0.5" }, "last_serial": 1543369, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "76a343cd5b7b57207c4fe23804c0b9bd", "sha256": "26f2e2abb9f6c119fad444d38c63d74898a6ea7681e5d539a30517173a665735" }, "downloads": -1, "filename": "lima-0.2.2.tar.gz", "has_sig": false, "md5_digest": "76a343cd5b7b57207c4fe23804c0b9bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11190, "upload_time": "2014-10-27T20:48:10", "url": "https://files.pythonhosted.org/packages/59/00/53ed58b5bd12dfab8d4679e84ab349a8f3231cd21b041d838f04ead39177/lima-0.2.2.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "33d5bce85abe4fe32441f30eedb2f1e3", "sha256": "863b737fa48702677a2a462fef355f3f4bcc9af46990f2be54946089097a1daf" }, "downloads": -1, "filename": "lima-0.3.1.tar.gz", "has_sig": false, "md5_digest": "33d5bce85abe4fe32441f30eedb2f1e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13588, "upload_time": "2014-11-11T14:14:27", "url": "https://files.pythonhosted.org/packages/22/46/47de413457bce0f422e3c8a5cbf43f6abc585e8870fdfbc680502723dd72/lima-0.3.1.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "512f9127a87048eeac2deffe75a5b512", "sha256": "066cc62965f80bdc03dfee117677f4f4b667bfda02dac62966084deba89b30e0" }, "downloads": -1, "filename": "lima-0.4.tar.gz", "has_sig": false, "md5_digest": "512f9127a87048eeac2deffe75a5b512", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15869, "upload_time": "2015-01-15T17:23:36", "url": "https://files.pythonhosted.org/packages/25/07/77b99a96036aaebbe0be7a44e5617c10850ab8abd0188ddea6477b1f9bc5/lima-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "21a660858a516a83bf74d17a6416d763", "sha256": "3b10419b364633e3eda52c398b120c547fd9d5854e4cefd9bcf79c3c0a001263" }, "downloads": -1, "filename": "lima-0.5.tar.gz", "has_sig": false, "md5_digest": "21a660858a516a83bf74d17a6416d763", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24630, "upload_time": "2015-05-12T08:47:52", "url": "https://files.pythonhosted.org/packages/6e/28/21c28adcd88cb607f33aa6be8794861da0db089058183e62cfe053d68fe0/lima-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21a660858a516a83bf74d17a6416d763", "sha256": "3b10419b364633e3eda52c398b120c547fd9d5854e4cefd9bcf79c3c0a001263" }, "downloads": -1, "filename": "lima-0.5.tar.gz", "has_sig": false, "md5_digest": "21a660858a516a83bf74d17a6416d763", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24630, "upload_time": "2015-05-12T08:47:52", "url": "https://files.pythonhosted.org/packages/6e/28/21c28adcd88cb607f33aa6be8794861da0db089058183e62cfe053d68fe0/lima-0.5.tar.gz" } ] }