Simple wrapper for Put.io API v2.
Installing
putio.py is available on PyPI.
$ pip install putio.py
Usage
import putiopy
helper = putiopy.AuthHelper(CLIENT_ID, CLIENT_SECRET, \
CALLBACK_URL, type='token')
# this will open a browser to authetication url
# after authenticating you will find the oauth_token in the address bar
helper.open_authentication_url()
client = putiopy.Client(OAUTH_TOKEN)
# list files
files = client.File.list()
# add a new transfer
transfer = client.Transfer.add_url('http://example.com/good.torrent')
# read the code for other methods.
Release files for putio.py 8.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| putio_py-8.8.0.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| putio_py-8.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / putio_py-8.8.0.tar.gz
| Download URL | putio_py-8.8.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9a40959f730d0af9c6fe5c9f1dae123a4cd6b2a82f57928a1890b05fb73b4c2
|
|
BLAKE2b-256 checksum How to use checksums |
a62a52bc4e441b680f3d50921e7142d54c8ff39a04cc13cfa1f2aca8301b24c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.2
|
Release files / putio_py-8.8.0-py3-none-any.whl
| Download URL | putio_py-8.8.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b7aafca64bed956dd3ce6c1c612558ee1b8a26eb77afa04c8ee43abb7afc29c
|
|
BLAKE2b-256 checksum How to use checksums |
c15366b94e95ad7eaf151284ee4551441beb4a763d337f507e03e74d831e559b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.2
|