# pyraptorq
[![PyPI version](https://badge.fury.io/py/pyraptorq.svg)](https://badge.fury.io/py/pyraptorq)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyraptorq)](https://pypi.org/project/pyraptorq/)
![](https://pepy.tech/badge/pyraptorq)
[![Downloads](https://static.pepy.tech/badge/pyraptorq)](https://pepy.tech/project/pyraptorq)
Python bindings with RaptorQ implementation.
## Examples
You can find usage example in the [/examples](/examples) folder.
## Supported platforms
* Linux (x86_64, arm64)
* MacOS (x86_64m arm64)
* Windows (x86_64)
## How to install
### From pypi, if your system is supported
```bash
pip install pyraptorq
```
### From source
* Compile shared library as described in [cpp-raptorq/README.md](https://github.com/yungwine/cpp-raptorq?tab=readme-ov-file#compile-from-sources)
* Create instance of `RaptorQCppEngine` with path to shared library as argument and provide it to `Decoder` and `Encoder`.
```python
from pyraptorq import Encoder, Decoder, RaptorQCppEngine
engine = RaptorQCppEngine('path_to_lib')
encoder = Encoder(b'data', 2, engine)
decoder = Decoder(2, 2, 4, engine)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/yungwine/pyraptorq",
"name": "pyraptorq",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "",
"author": "Maksim Kurbatov",
"author_email": "cyrbatoff@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7b/11/108cdf3caedb1885025f71d5919837ca14ef8b011d912400a554183ffca6/pyraptorq-0.1.7.tar.gz",
"platform": null,
"description": "# pyraptorq\n\n\n[![PyPI version](https://badge.fury.io/py/pyraptorq.svg)](https://badge.fury.io/py/pyraptorq) \n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyraptorq)](https://pypi.org/project/pyraptorq/)\n![](https://pepy.tech/badge/pyraptorq) \n[![Downloads](https://static.pepy.tech/badge/pyraptorq)](https://pepy.tech/project/pyraptorq) \n\nPython bindings with RaptorQ implementation.\n\n## Examples\n\nYou can find usage example in the [/examples](/examples) folder.\n\n## Supported platforms\n\n* Linux (x86_64, arm64)\n* MacOS (x86_64m arm64)\n* Windows (x86_64)\n\n## How to install\n\n### From pypi, if your system is supported\n\n```bash\npip install pyraptorq\n```\n\n### From source \n\n\n\n* Compile shared library as described in [cpp-raptorq/README.md](https://github.com/yungwine/cpp-raptorq?tab=readme-ov-file#compile-from-sources)\n* Create instance of `RaptorQCppEngine` with path to shared library as argument and provide it to `Decoder` and `Encoder`.\n\n```python\nfrom pyraptorq import Encoder, Decoder, RaptorQCppEngine\n\n\nengine = RaptorQCppEngine('path_to_lib')\nencoder = Encoder(b'data', 2, engine)\ndecoder = Decoder(2, 2, 4, engine)\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "RaptorQ RFC6330 C++ bindings for python",
"version": "0.1.7",
"project_urls": {
"Homepage": "https://github.com/yungwine/pyraptorq"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bca30b2861edaac1e7af320768c58fa962ba56130ab97c47484d8dcdbf424a20",
"md5": "57d35605a04fdb9643226615e9fb0c72",
"sha256": "e83f5e49135de75a748833ec84c5aeee148f1d396f587606b50709986fc7b612"
},
"downloads": -1,
"filename": "pyraptorq-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "57d35605a04fdb9643226615e9fb0c72",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 752486,
"upload_time": "2024-03-06T13:45:47",
"upload_time_iso_8601": "2024-03-06T13:45:47.265640Z",
"url": "https://files.pythonhosted.org/packages/bc/a3/0b2861edaac1e7af320768c58fa962ba56130ab97c47484d8dcdbf424a20/pyraptorq-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7b11108cdf3caedb1885025f71d5919837ca14ef8b011d912400a554183ffca6",
"md5": "6be3e9876745cb61dcf38a45443e9850",
"sha256": "4538b5042cae2763b7506b8d016bdedec0d4c7eeaadab89857d23edf46bbec14"
},
"downloads": -1,
"filename": "pyraptorq-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "6be3e9876745cb61dcf38a45443e9850",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 749943,
"upload_time": "2024-03-06T13:45:49",
"upload_time_iso_8601": "2024-03-06T13:45:49.210818Z",
"url": "https://files.pythonhosted.org/packages/7b/11/108cdf3caedb1885025f71d5919837ca14ef8b011d912400a554183ffca6/pyraptorq-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-06 13:45:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yungwine",
"github_project": "pyraptorq",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyraptorq"
}