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 "Buy Me A Coffee" 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.0.0.tar.gz (11.3 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.0.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyloadapi-2.0.0.tar.gz
  • Upload date:
  • Size: 11.3 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.0.0.tar.gz
Algorithm Hash digest
SHA256 b6ee28551546e050cde91f34e84a59f1704a430534a6be527b39b3b6d961fcbd
MD5 10dd0b4ac952f18bf4295a355362ae1e
BLAKE2b-256 89183f7c7a1db3aa7123c292d42262d49812a2d7c720ba25e78e3cc604b14a73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyloadapi-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f87a8789f44756df165f6732bf2024100fd29e21da179d55bab89230f2edca4d
MD5 eacc6a2883c46fe940dcc536d7545b2b
BLAKE2b-256 0fc42ec0b210bf40e2e715f850d83905c9089fb18ee66806aee7ac1f4fc3cf5f

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