Skip to main content

bencode for humans

Project description

##python-bencode

[![Build Status](https://travis-ci.org/plasmashadow/python-bencode.svg)](https://travis-ci.org/plasmashadow/python-bencode)

Becode Encoder and Decoder

##Installation

```

pip install python-bencode

```

##Usage

```python

from bencode import Bencoder

#encoding
built_to_bencode = [1,2,3]
strs = Bencoder.encode(built_to_bencode)

#decoding
decodable = "8:announce"
obj = Bencoder.decode(decodeable)


```


##LICENSE
BSD

Project details


Download files

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

Source Distribution

python-bencode-1.0.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page