Skip to main content

lanraragi-api

PyPI Docs License CI Coverage

A Python library for LANraragi API.

Many thanks to the author of this wonderful manga server.

Quick start

Install this package:

pip install lanraragi_api

Get metadata of a random archive:

from lanraragi_api import LANraragiAPI

apikey = "your-key"
server = "http://127.0.0.1:3000"
api = LANraragiAPI(server, key=apikey)

archives = api.search.get_random_archives()
if len(archives) > 0:
    print(archives[0])

How to use?

All the APIs in the lanraragi_api.base package are from the official LANraragi document, which you will be using in most times.

Functions in the lanraragi_api.enhanced package are built on the base APIs, offering useful functionalities.

  • server_side.py contains server-side functions. The code is the same to that of LANraragi, only translated from Perl to Python.
  • script.py contains functions for operation and management.

Release versions

Every release of lanraragi-api is made only for the corresponding release of LANraragi. So you should choose the correct lanraragi-api version based on the server version.

LANraragi lanraragi-api
v.0.9.0 0.9.0.0, 0.9.0.1, ... , 0.9.0.x
v.0.9.40 0.9.40.0, 0.9.40.1, ... , 0.9.40.y

In order to make it simple, the first three version numbers are always the same, while the last version number of lanraragi-api serves as patches (just choose the latest one).

Development

Package and project manager: uv

Python version: 3.10

Use GNU Make to handle the development process. See Makefile for details.

Metadata

Release files for lanraragi_api 0.9.81.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lanraragi_api 0.9.81.3
File Size Uploaded Provenance Actions
lanraragi_api-0.9.81.3.tar.gz 32.5 kB Without provenance Details for lanraragi_api-0.9.81.3.tar.gz

Built distribution (wheel)

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

Total release size: 77.5 kB

Release files / lanraragi_api-0.9.81.3.tar.gz

Download URL lanraragi_api-0.9.81.3.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
876630348434ff73ecfa9629c92bf7ec9ae1fbe0834f19f4d221e2d96121a06d
BLAKE2b-256 checksum
How to use checksums
476fcf1715060cfd42f5c2e87b274fd8bcf5b496790736d11a6f097c3e29a34f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lanraragi_api-0.9.81.3-py3-none-any.whl

Download URL lanraragi_api-0.9.81.3-py3-none-any.whl
Size 45.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35b8ecb52889f8ecfda5981d740da8f5a9e09ed9009f55732c6f1af0ae28c83c
BLAKE2b-256 checksum
How to use checksums
ced071e98b4e46fd34ee8add7059398cd7bd38187933266ae67649dc03c5664c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for lanraragi_api 0.9.81.3

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