{ "info": { "author": "Nervos Core Dev", "author_email": "dev@nervos.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console" ], "description": "# CFB Encoding\n\n## [![Build Status](https://travis-ci.com/nervosnetwork/cfb.svg?branch=master)](https://travis-ci.com/nervosnetwork/cfb)\n\nCFB (Canonical FlatBuffers) is a restricted variant of FlatBuffers for producing unequivocal transfer syntax.\n\n## Usage\n\nInstall the code geneartor as commane line utility:\n\n```\npip install -U cfbc\n```\n\nFirst generate bfbs file from fbs:\n\n```\nflatc -b --schema example.fbs\n```\n\nThen generate rust files from bfbs:\n\n```\ncfbc example.bfbs\n```\n\n### Use Verifier with flatbuffers rust\n\n- Add the generated `_generated_verifier.rs` to the project in the same\n directory with the file `_generated.rs` generated by `flatc -r`.\n- Add crate `flatbuffers-verifier` as a dependency in Cargo.toml.\n- Use the same version of `flatbuffers` as in `flatbuffers-verifier`.\n\n```\nflatbuffers-verifier = { git = \"https://github.com/nervosnetwork/cfb\" }\nflatbuffers = { git = \"https://github.com/google/flatbuffers\", rev = \"4f10da8d99c1a7bc8c9c7d06d2092a689f171d29\" }\n```\n\nThe crate `flatbuffers-verifier` defines a function `get_root`, which is intended to replace the\nfunction with the same name in `flatbuffers`. This function will verify the\nbuffer, and returns a `Result` to indicate whether the buffer is valid.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/nervosnetwork/cfb", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cfbc", "package_url": "https://pypi.org/project/cfbc/", "platform": "", "project_url": "https://pypi.org/project/cfbc/", "project_urls": { "Homepage": "http://github.com/nervosnetwork/cfb" }, "release_url": "https://pypi.org/project/cfbc/0.1.9/", "requires_dist": [ "docopt", "Jinja2", "flatbuffers" ], "requires_python": "", "summary": "CFB code generator", "version": "0.1.9" }, "last_serial": 5114071, "releases": { "0.1.6": [ { "comment_text": "", "digests": { "md5": "fae198b3190779333f2c4ea139625d5d", "sha256": "ce2cbfb7ca0e1ff4163db457faea1443c9962f19455971a0a3d395070ca212fe" }, "downloads": -1, "filename": "cfbc-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "fae198b3190779333f2c4ea139625d5d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 23471, "upload_time": "2019-03-27T02:56:51", "url": "https://files.pythonhosted.org/packages/58/c4/b62ca61d5d700f04f6522de1904735098d8921342aa8bb589a36c62a2a30/cfbc-0.1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b421b869eb4b5c77ec2d6b90d8c9e90c", "sha256": "f0841619e223f6855bac79518be822cc6a3d56c6eec36fea9e49b8daae6cc0a4" }, "downloads": -1, "filename": "cfbc-0.1.6.tar.gz", "has_sig": false, "md5_digest": "b421b869eb4b5c77ec2d6b90d8c9e90c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14205, "upload_time": "2019-03-27T02:56:52", "url": "https://files.pythonhosted.org/packages/4f/bc/7e2f8aa2a81da5db609d8c99a99841c195dfd506207418dbd7a573fd611a/cfbc-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "c499e4e82822a174d424a4e9ce6801db", "sha256": "8560c19f73dff46a868e5fa97173e9f737ad5745078e8dd56e71eab4868ff7de" }, "downloads": -1, "filename": "cfbc-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "c499e4e82822a174d424a4e9ce6801db", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24013, "upload_time": "2019-03-28T11:04:43", "url": "https://files.pythonhosted.org/packages/cd/cc/c2f419d3625957f94a33335f4951dd76aef673f6f7dbab83ff277eb23ee6/cfbc-0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f0603808894de567c0a096206c169696", "sha256": "e98ad5e6c9f7ef5e50ba000bd379ec510461138fb5719ee9fa6b5bae9a1ebf14" }, "downloads": -1, "filename": "cfbc-0.1.7.tar.gz", "has_sig": false, "md5_digest": "f0603808894de567c0a096206c169696", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14386, "upload_time": "2019-03-28T11:04:45", "url": "https://files.pythonhosted.org/packages/51/1e/c5f25cd134449ada4e2d8f74816b7ca37cca6af2b0a0c7882b3c44062a0e/cfbc-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "5baf88eab5007df32f10d80a516aff48", "sha256": "1cad900e7b684233703f5bfdade0cd27818c48aab5da5f41e818a1120acf2536" }, "downloads": -1, "filename": "cfbc-0.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "5baf88eab5007df32f10d80a516aff48", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26087, "upload_time": "2019-04-01T02:15:47", "url": "https://files.pythonhosted.org/packages/f4/b3/3f08bf680d7d5b5fec3bd814161b35eec5bd45b08ca48cb6c11a2e24131a/cfbc-0.1.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a0817f99e491d6e66be5203af6e9c16", "sha256": "0201c6df1c9dd69866e3b27c1be0d0d8a9170e50746996ff3c113dd391899d28" }, "downloads": -1, "filename": "cfbc-0.1.8.tar.gz", "has_sig": false, "md5_digest": "8a0817f99e491d6e66be5203af6e9c16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14120, "upload_time": "2019-04-01T02:15:48", "url": "https://files.pythonhosted.org/packages/99/e4/97e51863ffb0b1165edf50dcdb0c192c5cddcbf6923fea00ff75a934a0c3/cfbc-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "e04376c7932bad948f8c8565d90de259", "sha256": "4fe3cb6ca728650032df85c4c3fe8a6785f553ea08d94848c4dbdd2359ed5579" }, "downloads": -1, "filename": "cfbc-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "e04376c7932bad948f8c8565d90de259", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26107, "upload_time": "2019-04-08T14:50:13", "url": "https://files.pythonhosted.org/packages/03/27/39375aa806b92715a904ac7bf257a4635d6efe32f319c4a2eb45ece61d31/cfbc-0.1.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc6212f4495ceda5df1eeb7b8aac063a", "sha256": "48395019b28f1d03cdbe0fde42c388a473fa0cba03a0342c9f26db8903bbe8ae" }, "downloads": -1, "filename": "cfbc-0.1.9.tar.gz", "has_sig": false, "md5_digest": "bc6212f4495ceda5df1eeb7b8aac063a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14151, "upload_time": "2019-04-08T14:50:15", "url": "https://files.pythonhosted.org/packages/ab/24/bf450c6b97ef078acdb8c4eee5aa89c73a9759721f157cc0d46acd4cfc19/cfbc-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e04376c7932bad948f8c8565d90de259", "sha256": "4fe3cb6ca728650032df85c4c3fe8a6785f553ea08d94848c4dbdd2359ed5579" }, "downloads": -1, "filename": "cfbc-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "e04376c7932bad948f8c8565d90de259", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26107, "upload_time": "2019-04-08T14:50:13", "url": "https://files.pythonhosted.org/packages/03/27/39375aa806b92715a904ac7bf257a4635d6efe32f319c4a2eb45ece61d31/cfbc-0.1.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc6212f4495ceda5df1eeb7b8aac063a", "sha256": "48395019b28f1d03cdbe0fde42c388a473fa0cba03a0342c9f26db8903bbe8ae" }, "downloads": -1, "filename": "cfbc-0.1.9.tar.gz", "has_sig": false, "md5_digest": "bc6212f4495ceda5df1eeb7b8aac063a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14151, "upload_time": "2019-04-08T14:50:15", "url": "https://files.pythonhosted.org/packages/ab/24/bf450c6b97ef078acdb8c4eee5aa89c73a9759721f157cc0d46acd4cfc19/cfbc-0.1.9.tar.gz" } ] }