Metadata-Version: 2.1
Name: better-bencode
Version: 0.2.1
Summary: Fast, standard compliant Bencode serialization
Home-page: https://github.com/kosqx/better-bencode
Author: Krzysztof Kosyl
Author-email: krzysztof.kosyl@gmail.com
License: BSD
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy

==============
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]


