Skip to content

ethanavatar/yet-another-bencoder-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Bencoder

As if we need more.

Usage

You can install the latest commit of the package directly from the GitHub repository using the following command:

python3 -m pip install git+https://github.com/ethanavatar/yet-another-bencoder-py.git

The package contains two modules that can be used independently, each containing only their respective member functions.

import bencoder
bencoder.encode('foo') # returns '3:foo'

import bdecoder
bdecoder.decode('3:bar') # returns 'bar'

About

A minimal python implementation of BitTorrent message encoding.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages