Skip to main content

Fast, standard compliant Bencode serialization

Project description

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

>>> import better_bencode
>>> dumped = better_bencode.dumps(['spam', 42])
>>> better_bencode.loads(dumped)
['spam', 42]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for better-bencode, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size better-bencode-0.2.1.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page