{ "info": { "author": "Fritz Grimpen", "author_email": "fritz@grimpen.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: System :: Networking" ], "description": "Flynn, the CBOR serializer\n##########################\n\nFlynn (his real name is Walter White Jr.), is a protagonist in Breaking Bad and the son of\nWalter White (a. k. a. Heisenberg).\n\nFlynn is also a Python library providing CBOR [RFC7049] encoding and decoding with a\ntraditional buffered and a streaming interface.\n\nUsage\n=====\n\nThe Flynn API is really simple and inspired by existing Python serialisation\nmodules like json and pickle. The flynn module has four methods called dumps,\ndump, loads and load, where dumps will return the serialised input as bytes\nstring, while dump will write the serialised input to a file descriptor. The\nsame applies to loads and load.\n\n\t>>> flynn.dumps([1, [2, 3]])\n\tb'\\x82\\x01\\x82\\x02\\x03'\n\t>>> flynn.loads(b'\\x82\\x01\\x82\\x02\\x03')\n\t[1, [2, 3]]\n\nFurthermore, Flynn supports generators and other iterables as input for\nstreaming support:\n\n\t>>> flynn.dumps(range(5))\n\tb'\\x9f\\x00\\x01\\x02\\x03\\x04\\xff'\n\t>>> flynn.loads(b'\\x9f\\x00\\x01\\x02\\x03\\x04\\xff')\n\t[0, 1, 2, 3, 4]\n\nOr to generate a map using an iterable:\n\n\t>>> flynn.dumps((((a, a) for a in range(5)), \"map\"))\n\tb'\\xbf\\x00\\x00\\x01\\x01\\x02\\x02\\x03\\x03\\x04\\x04\\xff'\n\t>>> flynn.loads(b'\\xbf\\x00\\x00\\x01\\x01\\x02\\x02\\x03\\x03\\x04\\x04\\xff')\n\t{0: 0, 1: 1, 2: 2, 3: 3, 4: 4}\n\nCopyright / License\n===================\n\n\u00a9 2013 Fritz Conrad Grimpen\n\nThe code is licensed under the MIT license, provided in the COPYING file of the\nFlynn distribution.\n\n", "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/fritz0705/flynn.git", "keywords": null, "license": "http://opensource.org/licenses/MIT", "maintainer": null, "maintainer_email": null, "name": "flynn", "package_url": "https://pypi.org/project/flynn/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/flynn/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/fritz0705/flynn.git" }, "release_url": "https://pypi.org/project/flynn/1.0.0b2/", "requires_dist": null, "requires_python": null, "summary": "Simple decoder and encoder for CBOR", "version": "1.0.0b2" }, "last_serial": 949634, "releases": { "1.0.0b1": [ { "comment_text": "", "digests": { "md5": "39b309a530ffed37263a7efb34dcddec", "sha256": "a39f7f432a51f2f326546ee91af46b19ced6461ddc8edc7c77d1e92541dfec02" }, "downloads": -1, "filename": "flynn-1.0.0b1.tar.gz", "has_sig": false, "md5_digest": "39b309a530ffed37263a7efb34dcddec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3930, "upload_time": "2013-12-01T22:29:44", "url": "https://files.pythonhosted.org/packages/9e/5e/a5d4b5cac7096aaed6bdeb5d12098ef41fd83be959161b5ba0115bb8a51f/flynn-1.0.0b1.tar.gz" } ], "1.0.0b2": [ { "comment_text": "", "digests": { "md5": "89dfc8654fcb8ac713e5e5cf407e122d", "sha256": "bb0004e3f6924b3148e3b537988356875c669fb502696fb2f5e366d7297b02d2" }, "downloads": -1, "filename": "flynn-1.0.0b2.tar.gz", "has_sig": false, "md5_digest": "89dfc8654fcb8ac713e5e5cf407e122d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5004, "upload_time": "2013-12-20T12:29:58", "url": "https://files.pythonhosted.org/packages/de/f1/f114cb847e78a33f755a6a82c1ccc29ea0986244344ee549acbb260f041e/flynn-1.0.0b2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "89dfc8654fcb8ac713e5e5cf407e122d", "sha256": "bb0004e3f6924b3148e3b537988356875c669fb502696fb2f5e366d7297b02d2" }, "downloads": -1, "filename": "flynn-1.0.0b2.tar.gz", "has_sig": false, "md5_digest": "89dfc8654fcb8ac713e5e5cf407e122d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5004, "upload_time": "2013-12-20T12:29:58", "url": "https://files.pythonhosted.org/packages/de/f1/f114cb847e78a33f755a6a82c1ccc29ea0986244344ee549acbb260f041e/flynn-1.0.0b2.tar.gz" } ] }