An open API service indexing awesome lists of open source software.

https://github.com/sourcepirate/python-bencode

Becode Encoder and Decoder
https://github.com/sourcepirate/python-bencode

Last synced: 28 days ago
JSON representation

Becode Encoder and Decoder

Awesome Lists containing this project

README

          

##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

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/plasmashadow/python-bencode/trend.png)](https://bitdeli.com/free "Bitdeli Badge")