{ "info": { "author": "Maxwell Koo ", "author_email": "Maxwell Koo ", "bugtrack_url": null, "classifiers": [], "description": "# cbo-rs\n[![Build Status](https://travis-ci.org/mjkoo/cbors.svg?branch=master)](https://travis-ci.org/mjkoo/cbors)\n[![codecov](https://codecov.io/gh/mjkoo/cbors/branch/master/graph/badge.svg)](https://codecov.io/gh/mjkoo/cbors)\n![PyPI](https://img.shields.io/pypi/v/cbors.svg)\n\nA Python CBOR (de)serialization module, powered by Rust.\n\nWraps the excellent [serde_cbor](https://github.com/pyfisch/cbor) crate and provides a pythonic interface via [pyo3](https://github.com/PyO3/pyo3).\n\n## Installation\n\nPython>=3.5 is required due to the requirements of pyo3.\n\nRecommended to install from [PyPI](https://pypi.org/project/cbors/), e.g.\n\n```\npip install cbors\n```\n\nTo install from source, use [pyo3-pack](https://github.com/PyO3/pyo3-pack) to build a wheel from repository root.\n\n```\npyo3-pack build -i python3\npip install target/wheels/*.whl\n```\n\n## Usage\n\nSerialize data via `cbors.dumpb`, deserialize via `cbors.loadb`.\n\nInterface is similar to the standard library's `json` module.\n\n```python\nimport cbors\n\nb = cbors.dumpb(\"foo\")\nassert(b == b\"cfoo\")\n\ns = cbors.loadb(b)\nassert(s = \"foo\")\n```\n\n## Limitations\n\nAs this uses `serde_cbor` under the hood, the same limitations apply here.\n\nNotably, tags are not currently supported (see [pyfisch/cbor#3](https://github.com/pyfisch/cbor/issues/3)).\n\nIf this functionality is important to you, [cbor2](https://pypi.org/project/cbor2/) might be a better choice.\n\n## Development\n\nFor local development, it is recommended to create a virtual environment, and build the module via `pyo3-pack develop`.\n\nA Dockerfile is provided which will build and install the module and run the test suite.\n\nIf you do not want to use docker, it is recommended to use `tox` for testing.\n\nPull requests welcome!\n", "description_content_type": "text/markdown; charset=UTF-8; variant=GFM", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mjkoo/cbors", "keywords": "cbor serialization deserialization python", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cbors", "package_url": "https://pypi.org/project/cbors/", "platform": "", "project_url": "https://pypi.org/project/cbors/", "project_urls": { "Homepage": "https://github.com/mjkoo/cbors" }, "release_url": "https://pypi.org/project/cbors/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A Python CBOR (de)serialization module, powered by Rust", "version": "0.1.2" }, "last_serial": 5322606, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c6ec96a49a9cabeacc3bbd3158c84187", "sha256": "f693e73da7b34a4dea74ba2a94343b771fa8bf592e61cdf8d9d195e3a9a71558" }, "downloads": -1, "filename": "cbors-0.1.0-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "c6ec96a49a9cabeacc3bbd3158c84187", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 164289, "upload_time": "2019-05-19T16:38:49", "url": "https://files.pythonhosted.org/packages/a6/08/a0e0fe009f1850540241d6a777a62301990185cd51ef1fa2284c0f4df8f3/cbors-0.1.0-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "20c0267d9ebf7b0ac694b3f828eb0d29", "sha256": "b5a6aa1e9aa5b9bfb79925e2229c0ef1bca10187cc89742d7d4fd379be1ada8b" }, "downloads": -1, "filename": "cbors-0.1.0-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "20c0267d9ebf7b0ac694b3f828eb0d29", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 164276, "upload_time": "2019-05-19T16:38:59", "url": "https://files.pythonhosted.org/packages/b0/ea/606cca0c6340d615c529a5e5579ce22c374827b5f50bbd7b7f133952a8ec/cbors-0.1.0-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "bf71a4c316ca68a6323267c7328ed7c9", "sha256": "a2aaf4dba1dacbf065173fb68939b895713d54bc33e7c8930d0fccc84313d31f" }, "downloads": -1, "filename": "cbors-0.1.0-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "bf71a4c316ca68a6323267c7328ed7c9", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 164303, "upload_time": "2019-05-19T16:39:15", "url": "https://files.pythonhosted.org/packages/79/c8/975e617b64f010c6e5f475f89d8d6ee48023c83b678ea701f3176530775e/cbors-0.1.0-cp37-cp37m-manylinux1_x86_64.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5ecee18e05ee5fab5f15c82e6beed620", "sha256": "3d2c0363eabb910358f91d4d77d8971c94c73affc94186bc9133f0bfe515ce59" }, "downloads": -1, "filename": "cbors-0.1.1-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "5ecee18e05ee5fab5f15c82e6beed620", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 164540, "upload_time": "2019-05-19T17:03:44", "url": "https://files.pythonhosted.org/packages/6b/66/8f790f6a00ca1231d4d140659fbb5f7d09c3a38537c83205a88673026cca/cbors-0.1.1-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "cdd0b717fbd8291382741ea2d737af41", "sha256": "f1e34c5b414d6f98a5d3439355bab4d854d6d7723924e40cacd51a316cf617ba" }, "downloads": -1, "filename": "cbors-0.1.1-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "cdd0b717fbd8291382741ea2d737af41", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 164532, "upload_time": "2019-05-19T17:03:50", "url": "https://files.pythonhosted.org/packages/67/b5/cfd52eade5debf0fd6721e457e0af1aa197e527900f3993fb44994f3e899/cbors-0.1.1-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "e5ed21baba51a505e6c5589069a08079", "sha256": "796b8652b88bacbf2a995a4502e12b9ff8ad0b9933659cbfad03524b40336090" }, "downloads": -1, "filename": "cbors-0.1.1-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "e5ed21baba51a505e6c5589069a08079", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 164543, "upload_time": "2019-05-19T17:08:40", "url": "https://files.pythonhosted.org/packages/a8/2b/1b08a8956423d9960552558ed11fb1384227a419dd55933d9883e1eb6a8d/cbors-0.1.1-cp37-cp37m-manylinux1_x86_64.whl" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c3daab2cae7915c212051c10fd23fd8c", "sha256": "3f32ec27a0b3e00105db7970bdbf12d8259cde9361ff785da7a61df492bac3ba" }, "downloads": -1, "filename": "cbors-0.1.2-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "c3daab2cae7915c212051c10fd23fd8c", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 164506, "upload_time": "2019-05-27T14:30:42", "url": "https://files.pythonhosted.org/packages/43/93/f7ccfadcbda1d80c0d8f47c258ab624c26a294cc8678bcf452e7d2b52de4/cbors-0.1.2-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "66bcf1c792539729da925af39261867e", "sha256": "767aaaef699bf83f6a9396fd63582feaf3077e925ba6273263fc1c527d57fe3c" }, "downloads": -1, "filename": "cbors-0.1.2-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "66bcf1c792539729da925af39261867e", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 164565, "upload_time": "2019-05-27T14:30:25", "url": "https://files.pythonhosted.org/packages/e4/26/eb5c7a31fb83f078ba3d811e30593449f67e684fa01c03ae84f4e4dd1676/cbors-0.1.2-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "549feb80a606fd5038c03440f553bf5e", "sha256": "1680a3bb47b46e444178afe088332de4e327c3ded418ea4eca041102a130e094" }, "downloads": -1, "filename": "cbors-0.1.2-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "549feb80a606fd5038c03440f553bf5e", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 164521, "upload_time": "2019-05-27T14:35:16", "url": "https://files.pythonhosted.org/packages/bd/6d/b09eee4fed368191292a45204c473b4a26c3cd361dc69dbcae3295b5a8e9/cbors-0.1.2-cp37-cp37m-manylinux1_x86_64.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c3daab2cae7915c212051c10fd23fd8c", "sha256": "3f32ec27a0b3e00105db7970bdbf12d8259cde9361ff785da7a61df492bac3ba" }, "downloads": -1, "filename": "cbors-0.1.2-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "c3daab2cae7915c212051c10fd23fd8c", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 164506, "upload_time": "2019-05-27T14:30:42", "url": "https://files.pythonhosted.org/packages/43/93/f7ccfadcbda1d80c0d8f47c258ab624c26a294cc8678bcf452e7d2b52de4/cbors-0.1.2-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "66bcf1c792539729da925af39261867e", "sha256": "767aaaef699bf83f6a9396fd63582feaf3077e925ba6273263fc1c527d57fe3c" }, "downloads": -1, "filename": "cbors-0.1.2-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "66bcf1c792539729da925af39261867e", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 164565, "upload_time": "2019-05-27T14:30:25", "url": "https://files.pythonhosted.org/packages/e4/26/eb5c7a31fb83f078ba3d811e30593449f67e684fa01c03ae84f4e4dd1676/cbors-0.1.2-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "549feb80a606fd5038c03440f553bf5e", "sha256": "1680a3bb47b46e444178afe088332de4e327c3ded418ea4eca041102a130e094" }, "downloads": -1, "filename": "cbors-0.1.2-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "549feb80a606fd5038c03440f553bf5e", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 164521, "upload_time": "2019-05-27T14:35:16", "url": "https://files.pythonhosted.org/packages/bd/6d/b09eee4fed368191292a45204c473b4a26c3cd361dc69dbcae3295b5a8e9/cbors-0.1.2-cp37-cp37m-manylinux1_x86_64.whl" } ] }