Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

UNKNOWN

Project Description
##UDPTRACK

A Bittorrent udp-tracking protocol Based on the specifications given by
http://www.rasterbar.com/products/libtorrent/udp_tracker_protocol.html

[![Build Status](https://travis-ci.org/plasmashadow/python-udptracker.svg?branch=master)](https://travis-ci.org/plasmashadow/python-udptracker)
##Installation

```
pip install python-udptrack

```

##Usage

In order to connect to the tracker the tracker url and info_hash is necessary.

<b>Note</b>: I assume that you have already decoded torrent file dict.

```python

from udptrack import UDPTracker

announce_url = torrent_info_dict.get("announce")

tracker = UDPTracker(announce_url, timeout=2, info_hash="7BC238FD69F5A43C1CD5566870420D63F074BAD8")
tracker.connect()
print tracker.interpret()

```

In order to announce you can have announce method.

```python

tracker.announce()
print tracker.interpret()

```

In order to scrap the details of torrent

```python

tracker.scrape(["7BC238FD69F5A43C1CD5566870420D63F074BAD8"])
print tracker.interpret()

```


###License
<b> BSD </b>
Release History

Release History

This version
History Node

0.0.5

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-udptrack-0.0.5.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Dec 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting