client for tolino cloud
Project description
pytolino
A client to interact (login, upload, delete ebooks, etc..) with the tolino cloud with python. Most of the code is forked from https://github.com/darkphoenix/tolino-calibre-sync
One difference is that I aim to create a python package from it and to put it on pypi, so that one can use this python module in other projects.
Installation
pip install tolino_cloud_client
Usage
Before being able to send requests, you need to register your computer on which you will run the code:
from pytolino.tolino_cloud import Client, PytolinoException
client = Client()
client.login(USERNAME, PASSWORD)
client.register() # do this only once!
client.logout()
You can then upload or delete ebook on your cloud:
from pytolino.tolino_cloud import Client, PytolinoException
client = Client()
client.login(USERNAME, PASSWORD)
ebook_id = client.upload(EPUB_FILE_PATH) # return a unique id that can be used for reference
client.delete_ebook(epub_id) # delete the previousely uploaded ebook
client.logout()
if you want to unregister your computer:
from pytolino.tolino_cloud import Client, PytolinoException
client = Client()
client.login(USERNAME, PASSWORD)
client.register() # now you will not be able to upload books from this computer
client.logout()
Features
login to tolino partner (for now works only with buecher.de)
register device
unregister device
upload ebook
delete ebook from the cloud
more to come…
License
The project is licensed under GNU GENERAL PUBLIC LICENSE v3.0
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytolino-0.1.tar.gz.
File metadata
- Download URL: pytolino-0.1.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48e85568790328f895c8875f5dae57fa86ba7595a26ae85bb961a5df3f848c7b
|
|
| MD5 |
7736f872ee1943469078b30e7c47ac0d
|
|
| BLAKE2b-256 |
3b80f2d2b1dbec812938d9e5305eaccb203013716f0efd372b2d29db872eafd5
|
File details
Details for the file pytolino-0.1-py3-none-any.whl.
File metadata
- Download URL: pytolino-0.1-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce82392f1256114c494e0078640ce47011660319ed20c78373883973405ce3ab
|
|
| MD5 |
e3eeae00f8c7f7e1b2ba9b99d67ca67d
|
|
| BLAKE2b-256 |
fbea12796e796dcd75c9fbb0368c37af0815ec423d85da9e6851c414f7955678
|