{ "info": { "author": "Eugene Eeo", "author_email": "packwolf58@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "=====\ncargo\n=====\n\nEasily create Python objects from dictionaries-\nbasically an ORM that can work with any type of\ndatabase. Usage example:\n\n.. code:: python\n\n from cargo.spec import Spec, unpack\n from cargo.fields import Field\n\n class Model(Spec):\n name = Field(str).With.length(6)\n version = Field(tuple).where.each.Is.An(int)\n\n unpack(Model, {\n 'name':'Eugene',\n 'version':(0,1)\n })\n\nNested unpacking is currently supported but the\nlibrary assumes that you are passing in objects\nof a reasonable depth (i.e. not recursive) and\ntherefore does not cache the `seen` values.\n\n``cargo`` is still work in progress and it's API\nmay change either completeley or partially, or\nthe internal functionality modified without any\nnotice at any given point in time.\n\nYou can now get this package easily by installing\nthe latest release from the Python Package Index,\nsomething like the following::\n\n $ pip install cargo\n\nIf you want to run the test suites or contribute\nsome code you need to install a library called\n``Requires`` via ``pip``, i.e. which will make\nthe tests run::\n\n $ pip install Requires\n $ git clone ssh://git@github.com/eugene-eeo/cargo\n $ python cargo/tests.py", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/eugene-eeo/cargo", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "cargo", "package_url": "https://pypi.org/project/cargo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cargo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/eugene-eeo/cargo" }, "release_url": "https://pypi.org/project/cargo/0.2.15/", "requires_dist": null, "requires_python": null, "summary": "Transform dictionaries into Python objects", "version": "0.2.15" }, "last_serial": 1705790, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2fcc654cb5af3daa4997d27f0f21c9ee", "sha256": "7510a45d96de23628d7ed9067749e00c8c22d6a10695fafb5ae8f6d686d27985" }, "downloads": -1, "filename": "cargo-0.1.tar.gz", "has_sig": false, "md5_digest": "2fcc654cb5af3daa4997d27f0f21c9ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4750, "upload_time": "2014-02-04T04:25:15", "url": "https://files.pythonhosted.org/packages/0f/0c/56000d2ecc297f6fb0170bb6f81ece2bc4dc407e1db2bf867da3d8fcd395/cargo-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4511a0a0e3d70561564c3aebe1065a1a", "sha256": "431025d1a9633825f370a6d31339ddf10313f37b9ace0120f6d4c8fc55752c29" }, "downloads": -1, "filename": "cargo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4511a0a0e3d70561564c3aebe1065a1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4857, "upload_time": "2014-02-04T04:33:35", "url": "https://files.pythonhosted.org/packages/05/40/06efe3c2b015d76bbd0122665ab936909ee4852441b0037026ceba018fa7/cargo-0.1.1.tar.gz" } ], "0.2.15": [] }, "urls": [] }