Skip to main content
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]

Download files

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

Source Distribution

better-bencode-0.2.1.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file better-bencode-0.2.1.tar.gz.

File metadata

File hashes

Hashes for better-bencode-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3a83ad0fc6b1b0c3db7819fc885f4f6561349cfc4221707871fc74bb9d6946d0
MD5 7a6ff4cd2a2ee331298c5d563d241796
BLAKE2b-256 0ec2a9060ea075dadc97d3933286166c821dfc60b8c5f7f28120e958cb484200

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 file

0.2.0

1 file

0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page