Code Monkey home page Code Monkey logo

autonomotorrent's Introduction

##About This is a fork of ABTorrent which is a pure Python implementation of a minimal BitTorrent client. The name AutonomoTorrent is short for Autonomous Torrent. Autonomous in this context means "existing or capable of existing independently," which refers to its pure Python nature.

Autonomo came about because I wanted to use BitTorrent in another Python project of mine (AdroitGM), but found that most of the well-known Python clients relied upon Rasterbar's libtorrent which is in C. This worked well for dedicated clients, but all I wanted was a no-frills, good-enough client to integrate into another application for distributed file sharing. I looked at serveral pure-Python projects before settling on ABTorrent due to its minimal featureset and relatively up-to-date codebase (have a look at the old "Mainline" client code to get an idea of what I was comparing it against).

Please keep in mind that this will remain a minimal, pure python client. I have put it on GitHub for easier forking for those with more grandiose desires. I will happily accept pull requests or patches for bugs however.

##License As the original ABTorrent, this is released under the GPLv3.

##Install

git clone git://github.com/joshsziegler/AutonomoTorrent.git  
cd AutonomoTorrent  
sudo python setup.py install  
autonomo ~/torrents/damn_small_linux.torrent  

If you have issues with Twisted while running setup, first make sure you have the python dev stuff installed (sudo apt-get install python-dev build-essential on Ubuntu). If that doesn't work, you might be better off simply installing it manually.

  • Ubuntu: sudo apt-get install python-twisted
  • Windows: Get the installer here.

##Development Develpoment is slow to non-existent at the moment as real life has caught up with me. If you want to help though, the biggest need is to refactor the code base as it is mostly unchanged from the original ABTorrent, and is really ugly in places. The next biggest issue would be to write unit tests for everything.

Either way, when submitting patches or pull requests, please at least run your code though pylint and the cylomatic complexity tests bundled with the test/pre-commit script. You don't have to fix everything, but at least attempt to stick to PEP 8 and keep your CC under 8.

cd AutonomoTorrent
tests/pre-commit

autonomotorrent's People

Contributors

joshsziegler avatar

Watchers

 avatar  avatar

Forkers

gcnew

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.