Skip to main content

A simple and asynchronous wrapper for SubsPlease

Project description

subsplease.py

A simple and asynchronous wrapper for SubsPlease.

Installation

pip install subsplease.py

Implementation

from subsplease import SubsPlease

client = SubsPlease()

async def save_new_releases():
    releases = await client.get_latest_magnet()
    with open("magnet.txt", "w") as file:
        file.writelines(f"{release.title}: {release.link}\n" for release in releases)

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

subsplease.py-1.2.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

subsplease.py-1.2.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file subsplease.py-1.2.0.tar.gz.

File metadata

  • Download URL: subsplease.py-1.2.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for subsplease.py-1.2.0.tar.gz
Algorithm Hash digest
SHA256 908a739ec0daecb12692af950583a21a0c39dd9273b1463d31951fe9c08fde45
MD5 31170faa05d00554d7e2ee056415163f
BLAKE2b-256 5ddd8ad75042a75cebee4fa6d152b2bc23e0ba9f3053cc2f582ef0be3d6a5599

See more details on using hashes here.

File details

Details for the file subsplease.py-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: subsplease.py-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for subsplease.py-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b34c5297bbb9bb3fa635e484a7ee1a94baffd1a19478abf1758b4eee0ddcb0be
MD5 719afc6a3bcdb67568f1e02dd075addd
BLAKE2b-256 341f026a7bbe5d5a85289cc9553c89cd00c2b849b026e5d9bb534a9734ea5432

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