TorrentMirror API and CLI interface
Project description
Python library to expose torrentmirror as a command and python library.
:tv: torrentmirror - TorrentMirror CLI Interface
You can invoke torrentmirror command to have a nice tabulated list of mirrors in your terminal
:star: Usage
TorrentMirror. Usage: torrentmirror [<torrent_mirror_url>]
:star: Installation
This is a python package available on pypi.
With python3.8 installed just execute
pip3.8 install torrentmirror
If it asks about permissions and you don’t know what to do, you should probably read Jamie Matthews’s article about virtualenvs
:notebook: Library Usage
TorrentMirror exposes a simple get_proxies method
get_proxies(url="https://www.torrentmirror.net/", renew=False)
It returns a dict in the form
{
"site_name": [
{
"link": "http://foo.com",
"status": "ONLINE",
"percentage": 40
},
{
"link": "http://foo.com",
"status": "ONLINE",
"percentage": 40
}
]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
torrentmirror-2.0.3.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file torrentmirror-2.0.3.tar.gz
.
File metadata
- Download URL: torrentmirror-2.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.3-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0a55bbafd1d8b92769620c3573f95a7b07015fbcb2ee444dd6be3463ffa8ae |
|
MD5 | c5df67da7e768eceacfa068687d523b0 |
|
BLAKE2b-256 | 7d8d43ba962c44e640bafdb0db82f7316e9834d7d98c3bab8b65d404a2d3f6ab |
File details
Details for the file torrentmirror-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: torrentmirror-2.0.3-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.3-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed69d1ad8baa21c10a559ffcb3a9c6710af2f71f849b4e78defe12a930b6b362 |
|
MD5 | 14c7afa36bea5e4559388ab4fbc49bca |
|
BLAKE2b-256 | 49368ed7a0a49e476a39f369a45d7036838714ce14003aa817f2be60a53c35df |