A Bittorrent udp-tracking protocol Based on the specifications given by
http://www.rasterbar.com/products/libtorrent/udp_tracker_protocol.html
[](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>
Metadata
Release files for python-udptrack 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-udptrack-0.0.5.tar.gz | 4.1 kB | Without provenance | Details for python-udptrack-0.0.5.tar.gz |
Release files / python-udptrack-0.0.5.tar.gz
| Download URL | python-udptrack-0.0.5.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be110555a140967ecb08f38e61b9ecf0233ed1ccd2c762e070e76b35cb6380b0
|
|
BLAKE2b-256 checksum How to use checksums |
41a5ce1d2adba373975591b92ea02545d48faf012c2c31865c953c177a8de673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-udptrack 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.