{ "info": { "author": "Sokolov Yura aka funny_falcon, Fritz Grimpen", "author_email": "funny.falcon@gmail.com, 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": "Flunn - Simple CBOR En/Decoder\n##############################\n\nFlunn is also a Python library providing CBOR [RFC7049] encoding and decoding with a\ntraditional buffered and a streaming interface.\n(flunn is a fork of flynn)\n\nUsage\n=====\n\nThe Flunn API is really simple and inspired by existing Python serialisation\nmodules like json and pickle. The flunn 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>>> flunn.dumps([1, [2, 3]])\n\tb'\\x82\\x01\\x82\\x02\\x03'\n\t>>> flunn.loads(b'\\x82\\x01\\x82\\x02\\x03')\n\t[1, [2, 3]]\n\nFurthermore, Flunn supports generators and other iterables as input for\nstreaming support:\n\n\t>>> flunn.dumps(range(5))\n\tb'\\x9f\\x00\\x01\\x02\\x03\\x04\\xff'\n\t>>> flunn.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>>> flunn.dumps(flunn.mapping(((a, a) for a in range(5))))\n\tb'\\xbf\\x00\\x00\\x01\\x01\\x02\\x02\\x03\\x03\\x04\\x04\\xff'\n\t>>> flunn.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 2015 Sokolov Yura aka funny_falcon\n\u00a9 2013 Fritz Conrad Grimpen\n\nThe code is licensed under the MIT license, provided in the COPYING file of the\nFlunn distribution.\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/funny-falcon/flunn/tarball/v1.0.0b4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/funny-falcon/flunn.git", "keywords": null, "license": "http://opensource.org/licenses/MIT", "maintainer": null, "maintainer_email": null, "name": "flunn", "package_url": "https://pypi.org/project/flunn/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/flunn/", "project_urls": { "Download": "https://github.com/funny-falcon/flunn/tarball/v1.0.0b4", "Homepage": "https://github.com/funny-falcon/flunn.git" }, "release_url": "https://pypi.org/project/flunn/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Simple decoder and encoder for CBOR (fork of flynn)", "version": "1.0.0" }, "last_serial": 2247133, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e78e0e772e94218d68d0a530a194cc73", "sha256": "07678da9b286415b3e8c79d7b75c48bbc30b95d2255589d2482b1b9f0dee44c3" }, "downloads": -1, "filename": "flunn-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e78e0e772e94218d68d0a530a194cc73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5228, "upload_time": "2016-07-27T15:35:15", "url": "https://files.pythonhosted.org/packages/92/9c/94c21d5d724563bc7ef08a30bf553c7e913926312e7138084e5cbbc17d81/flunn-1.0.0.tar.gz" } ], "1.0.0b4": [ { "comment_text": "", "digests": { "md5": "c5f6c817517916db37ef2a744a673667", "sha256": "6358e72d925f081622acbad27fd2bfadb713eabc55e06ef435325e99aa078059" }, "downloads": -1, "filename": "flunn-1.0.0b4.tar.gz", "has_sig": false, "md5_digest": "c5f6c817517916db37ef2a744a673667", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5260, "upload_time": "2015-03-26T11:26:18", "url": "https://files.pythonhosted.org/packages/b6/b7/6662b2ed94ee10fdfde7294323dfadbc336d98c9b4fe170c37359a693a99/flunn-1.0.0b4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e78e0e772e94218d68d0a530a194cc73", "sha256": "07678da9b286415b3e8c79d7b75c48bbc30b95d2255589d2482b1b9f0dee44c3" }, "downloads": -1, "filename": "flunn-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e78e0e772e94218d68d0a530a194cc73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5228, "upload_time": "2016-07-27T15:35:15", "url": "https://files.pythonhosted.org/packages/92/9c/94c21d5d724563bc7ef08a30bf553c7e913926312e7138084e5cbbc17d81/flunn-1.0.0.tar.gz" } ] }