Skip to main content

kuryana

Python library for Kuryana API.

Install

# pip
pip install kuryana

# uv
uv add kuryana

Development

# install deps
uv sync

Usage

Full guide (all methods, errors, pagination, upgrading from 0.1.x): USAGE.md

Clients are built on top of niquests

from kuryana import Kuryana

client = Kuryana()


if __name__ == "__main__":
    response = client.get()
    print(response.message)

    assert "MDL Scraper API" in response.message

    print("\n\n")

    search = client.search("goblin")
    for drama in search.data.dramas:
        print(f"{drama.title} - {drama.year}")

Errors

v2 methods return the response envelope (.data, .link, .scraped_at) and raise KuryanaError on failure. status is the HTTP status (None if Kuryana couldn't be reached).

from kuryana import Kuryana, KuryanaError

try:
    drama = Kuryana().get_drama("18452-goblin")
    print(drama.data.title, drama.link)
except KuryanaError as e:
    print(e.status, e.message)  # e.g. 404 when the drama doesn't exist

Async Client

import asyncio

from kuryana import AsyncKuryana

client = AsyncKuryana()


async def main():
    response = await client.get()
    print(response.message)

    assert "MDL Scraper API" in response.message

    print("\n\n")

    search = await client.search("goblin")
    for drama in search.data.dramas:
        print(f"{drama.title} - {drama.year}")


if __name__ == "__main__":
    asyncio.run(main())

© 2025 | tbdsux

Metadata

Release files for kuryana 0.3.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 kuryana 0.3.0
File Size Uploaded Provenance Actions
kuryana-0.3.0.tar.gz 8.4 kB Without provenance Details for kuryana-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kuryana 0.3.0
File Interpreter ABI Platform Actions
kuryana-0.3.0-py3-none-any.whl Python 3 none any Details for kuryana-0.3.0-py3-none-any.whl

Total release size: 23.1 kB

Release files / kuryana-0.3.0.tar.gz

Download URL kuryana-0.3.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0a03fb9b58df6c31807fd61cdfd74499afd8ae50ea19cb3f8e37f702f8fa12c5
BLAKE2b-256 checksum
How to use checksums
b02501b849d1fa81504f5f5140d347ec5e6662b326b445666e9f4ef0dd705f3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / kuryana-0.3.0-py3-none-any.whl

Download URL kuryana-0.3.0-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b421b0f5e8d051817a4d056cabb7fa21bf0f0c1cc84c0168e47ddedb0987f65
BLAKE2b-256 checksum
How to use checksums
5dc6e534a28cbf00f72e9e6f46f84fe73f7a9d8bff8710c9875462abeae68677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for kuryana 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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