Skip to main content

Simple wrapper for pyLoad's API.

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyloadapi-2.1.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyloadapi-2.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file pyloadapi-2.1.0.tar.gz.

File metadata

  • Download URL: pyloadapi-2.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for pyloadapi-2.1.0.tar.gz
Algorithm Hash digest
SHA256 e0ba983705fa72b671c1b19733a21d1262fd463299d80533069bde98bd3ed34d
MD5 2143a1305b78cf110d9d353c0dc7a745
BLAKE2b-256 522036ef5969275dcf55fc2a0dc500b94306537fe6836a22ca6d19b5592c5ce6

See more details on using hashes here.

File details

Details for the file pyloadapi-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyloadapi-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for pyloadapi-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e28e0e76951a2c06d1276332c1b75d4240f96ffd0df30a1b3558aa76e8aa76d6
MD5 ae4da87eb508194ffd840e95637f6ac2
BLAKE2b-256 3888966007677d6356eb6194d6663035f0889f92885681af3dd9a605860880e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page