Skip to main content
##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>

Download files

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

Source Distribution

python-udptrack-0.0.5.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file python-udptrack-0.0.5.tar.gz.

File metadata

File hashes

Hashes for python-udptrack-0.0.5.tar.gz
Algorithm Hash digest
SHA256 be110555a140967ecb08f38e61b9ecf0233ed1ccd2c762e070e76b35cb6380b0
MD5 4c449bb99e0245a8127c0fdb6aba5f46
BLAKE2b-256 41a5ce1d2adba373975591b92ea02545d48faf012c2c31865c953c177a8de673

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page