better-bencode-0.2.1
توضیحات
Fast, standard compliant Bencode serialization
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | better-bencode-0.2.1 |
| نام | better-bencode |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Krzysztof Kosyl |
| ایمیل نویسنده | krzysztof.kosyl@gmail.com |
| آدرس صفحه اصلی | https://github.com/kosqx/better-bencode |
| آدرس اینترنتی | https://pypi.org/project/better-bencode/ |
| مجوز | BSD |
==============
Better Bencode
==============
:author: Krzysztof Kosyl
:version: 0.2.1
:date: 2016-05-12
Why use ``better_bencode``?
---------------------------
* standard Python object serialization functions: ``load()``, ``loads()``, ``dump()``, ``dumps()``
* works with Python 2.6, 2.7, 3.3, 3.4, 3.5 and PyPy
* 4.5 times faster than ``bencode`` module, thanks to C Extension
* well tested
Installation
------------
::
$ pip install better-bencode
Example
-------
.. code-block:: pycon
>>> import better_bencode
>>> dumped = better_bencode.dumps(['spam', 42])
>>> better_bencode.loads(dumped)
['spam', 42]
نحوه نصب
نصب پکیج whl better-bencode-0.2.1:
pip install better-bencode-0.2.1.whl
نصب پکیج tar.gz better-bencode-0.2.1:
pip install better-bencode-0.2.1.tar.gz