PyLoadAPI
Simple wrapper for pyLoad's API.
This module provides a simplified interface (PyLoadAPI class) to interact with pyLoad's API using aiohttp for asynchronous HTTP requests. It handles login authentication and provides methods to perform various operations such as pausing downloads, restarting pyLoad, retrieving status information, and more.
📖 Documentation
- Full Documentation: https://tr4nt0r.github.io/pyloadapi
- Source Code: https://github.com/tr4nt0r/pyloadapi
📦 Installation
You can install PyLoadAPI via pip:
pip install PyLoadAPI
🚀 Usage
Basic Example
import asyncio
from pyloadapi import PyLoadAPI
async def main():
async with PyLoadAPI("http://localhost:8000", "username", "password") as api:
status = await api.status()
print(status)
asyncio.run(main())
More Examples
Pause Downloads
await api.pause(True) # Pause all downloads
Resume Downloads
await api.pause(False) # Resume all downloads
Restart pyLoad
await api.restart()
For more advanced usage, refer to the documentation.
🛠 Contributing
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Submit a pull request.
Make sure to follow the contributing guidelines.
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
❤️ Support
If you find this project useful, consider buying me a coffee ☕ or sponsoring me on GitHub!
Metadata
Release files for PyLoadAPI 2.1.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 | |
|---|---|---|---|
| pyloadapi-2.1.0.tar.gz | 11.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyloadapi-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.1 kB
Release files / pyloadapi-2.1.0.tar.gz
| Download URL | pyloadapi-2.1.0.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0ba983705fa72b671c1b19733a21d1262fd463299d80533069bde98bd3ed34d
|
|
BLAKE2b-256 checksum How to use checksums |
522036ef5969275dcf55fc2a0dc500b94306537fe6836a22ca6d19b5592c5ce6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1
|
Release files / pyloadapi-2.1.0-py3-none-any.whl
| Download URL | pyloadapi-2.1.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e28e0e76951a2c06d1276332c1b75d4240f96ffd0df30a1b3558aa76e8aa76d6
|
|
BLAKE2b-256 checksum How to use checksums |
3888966007677d6356eb6194d6663035f0889f92885681af3dd9a605860880e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1
|