{ "info": { "author": "Anthony Miyaguchi", "author_email": "amiyaguchi@mozilla.com", "bugtrack_url": null, "classifiers": [], "description": "# python-libprio\n[![CircleCI](https://circleci.com/gh/acmiyaguchi/python-libprio.svg?style=svg)](https://circleci.com/gh/acmiyaguchi/python-libprio)\n\nA python wrapper around libprio.\n\nThis library provides low-level bindings to the reference C implementation of the [Prio system](https://github.com/mozilla/libprio) and a high-level Python interface.\n\n\n## Build\n\n### Docker (recommended)\n\nThis project contains a pre-configured build and test environment through docker.\n\n```\n$ docker build -t prio .\n$ docker run -it prio\n```\nThis will build the package and run the tests.\nYou can mount your working directory and shell into the container for development work.\n\n```\n$ docker run -v `pwd`:/app -it prio bash\n```\n\n### Local\n\nRefer to the Dockerfile and the `libprio` submodule for dependencies.\n\n```\n$ make\n$ make test\n```\n\n### Notes\n\n`libprio` is compiled with position-independent code (`fPIC`).\nThis is required for the python foreign-function interface.\n\n\n## Test\n\n```bash\n$ docker build -t prio . && docker run -it prio\n```\nYou can avoid rebuilds by mounting your working directory and testing directly within the container.\n\nIf you want to avoid the Makefile for tests, the project uses pytest.\n```bash\n$ pipenv sync --dev\n$ pipenv run pytest\n```\n\n## Running examples\n\nThe `wrapper_example.py` includes an example of the full pipeline.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/acmiyaguchi/python-libprio", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "prio", "package_url": "https://pypi.org/project/prio/", "platform": "", "project_url": "https://pypi.org/project/prio/", "project_urls": { "Homepage": "https://github.com/acmiyaguchi/python-libprio" }, "release_url": "https://pypi.org/project/prio/0.2/", "requires_dist": null, "requires_python": "", "summary": "An interface to libprio", "version": "0.2" }, "last_serial": 4483540, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "db055ce25d99e69cfdc8f7ac9aeb6815", "sha256": "ecf56c67fefdcb7ee125f42df4e85352cf7ad02c822135b1f0cb8c47a8d65c59" }, "downloads": -1, "filename": "prio-0.1.tar.gz", "has_sig": false, "md5_digest": "db055ce25d99e69cfdc8f7ac9aeb6815", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 198347, "upload_time": "2018-11-13T22:45:35", "url": "https://files.pythonhosted.org/packages/8f/9a/c568b0affdc1588dedf4b440f9e21ec592fd0346953543f2c502331110df/prio-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "75024dbf55da4a4c1df81a2edf0f1ba5", "sha256": "de3bfab541e402965554a42ad108400fb978b09834ed282fe681b641f25c71a5" }, "downloads": -1, "filename": "prio-0.1.1.tar.gz", "has_sig": false, "md5_digest": "75024dbf55da4a4c1df81a2edf0f1ba5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 198348, "upload_time": "2018-11-13T22:45:25", "url": "https://files.pythonhosted.org/packages/54/53/fc577fb85648bc6eca9b55e0ab753d5af144c469c76a58efffb50964e89c/prio-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d1fd98563532a6269e152537d6648e4c", "sha256": "dfd855d09d27bb32490f619cd9eb0e87ee59ada2782de1092d923d7daf07b2d7" }, "downloads": -1, "filename": "prio-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d1fd98563532a6269e152537d6648e4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 201333, "upload_time": "2018-11-13T22:45:28", "url": "https://files.pythonhosted.org/packages/f5/9f/d3b2a2ce3f34911043b7ee9249bf6c2c06adeebff33644b21e3c0766192a/prio-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "60cb7642c844c388fb3f0fb0df3fbe89", "sha256": "a9f968f55f3db696d49f258e2842f350cd6705ee0d44e19b5f573667756d3789" }, "downloads": -1, "filename": "prio-0.1.3.tar.gz", "has_sig": false, "md5_digest": "60cb7642c844c388fb3f0fb0df3fbe89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 202844, "upload_time": "2018-11-13T22:45:30", "url": "https://files.pythonhosted.org/packages/68/18/7033c22883183e83e7cd1709c1a9af398d5263df14b9f536da6084d31199/prio-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "90fc5f65acb25c353cdbc8941417698d", "sha256": "54f08af8716386883360e9a172ed4964d463838f1df5b38687a192d8f13b0f6a" }, "downloads": -1, "filename": "prio-0.1.4.tar.gz", "has_sig": false, "md5_digest": "90fc5f65acb25c353cdbc8941417698d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 207782, "upload_time": "2018-11-13T22:45:32", "url": "https://files.pythonhosted.org/packages/3a/11/18fef181f6cab60a94bb06615d40e2fbc5481c6703a958f2fd428a0b3e3f/prio-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "1e2674705487e449ab187b9796a5f8ea", "sha256": "b894f5fe892dfa7c371c1c2c6fa3274cfbf8cd570f4792ebbe2eea458a4e5b53" }, "downloads": -1, "filename": "prio-0.1.5.tar.gz", "has_sig": false, "md5_digest": "1e2674705487e449ab187b9796a5f8ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 207778, "upload_time": "2018-11-13T22:45:33", "url": "https://files.pythonhosted.org/packages/21/18/99b0e59ffc427e54c17bbcb97925ae7d252b859e7d33b635e35217345e4f/prio-0.1.5.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b8ee1357e9810a8e036c4939ceb1b7b4", "sha256": "1341253178024a29ebaef32829b17bfd687e9ee5b83e5721a7b6c936b998a024" }, "downloads": -1, "filename": "prio-0.2.tar.gz", "has_sig": false, "md5_digest": "b8ee1357e9810a8e036c4939ceb1b7b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 207754, "upload_time": "2018-11-13T22:45:37", "url": "https://files.pythonhosted.org/packages/9a/87/27069703eed95770e29788cd35b7eab6d70d6693be35997d5dd8d05dac81/prio-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b8ee1357e9810a8e036c4939ceb1b7b4", "sha256": "1341253178024a29ebaef32829b17bfd687e9ee5b83e5721a7b6c936b998a024" }, "downloads": -1, "filename": "prio-0.2.tar.gz", "has_sig": false, "md5_digest": "b8ee1357e9810a8e036c4939ceb1b7b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 207754, "upload_time": "2018-11-13T22:45:37", "url": "https://files.pythonhosted.org/packages/9a/87/27069703eed95770e29788cd35b7eab6d70d6693be35997d5dd8d05dac81/prio-0.2.tar.gz" } ] }