Skip to main content

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.

build codecov PyPI version GitHub Sponsor


📖 Documentation


📦 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:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. 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)

Source distribution for PyLoadAPI 2.1.0
File Size Uploaded
pyloadapi-2.1.0.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyLoadAPI 2.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.0

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page