fastbencode-0.2
توضیحات
Implementation of bencode with optional fast C extensions
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | fastbencode-0.2 |
| نام | fastbencode |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | ['Breezy Developers'] |
| ایمیل نگهدارنده | ['breezy-core@googlegroups.com'] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/breezy-team/fastbencode |
| آدرس اینترنتی | https://pypi.org/project/fastbencode/ |
| مجوز | GPLv2 or later |
fastbencode
===========
fastbencode is an implementation of the bencode serialization format originally
used by BitTorrent.
The package includes both a pure-Python version and an optional C extension
based on Cython. Both provide the same functionality, but the C extension
provides significantly better performance.
Example:
>>> from fastbencode import bencode, bdecode
>>> bencode([1, 2, b'a', {b'd': 3}])
b'li1ei2e1:ad1:di3eee'
>>> bdecode(bencode([1, 2, b'a', {b'd': 3}]))
[1, 2, b'a', {b'd': 3}]
License
=======
fastbencode is available under the GNU GPL, version 2 or later.
Copyright
=========
* Original Pure-Python bencoder (c) Petru Paler
* Cython version and modifications (c) Canonical Ltd
* Split out from Bazaar/Breezy by Jelmer Vernooij
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl fastbencode-0.2:
pip install fastbencode-0.2.whl
نصب پکیج tar.gz fastbencode-0.2:
pip install fastbencode-0.2.tar.gz