semvec/pypi-packages huggingface dataset:
kuryana 0.2.0
Python library for [Kuryana](https://github.com/tbdsux/kuryana) API.
Requires Python: >=3.12

# kuryana

Python library for [Kuryana](https://github.com/tbdsux/kuryana) API.

## Install

```sh
# pip
pip install kuryana

# uv
uv add kuryana
```

## Development

```sh
# install deps
uv sync
```

## Usage

Clients are built on top of `httpx`

```python
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.results.dramas:
        print(f"{drama.title} - {drama.year}")

```

### Async Client

```python
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.results.dramas:
        print(f"{drama.title} - {drama.year}")


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

---

&copy; 2025 | tbdsux
mozilla-django-oidc-db 0.25.2
A database-backed configuration for mozilla-django-oidc
Requires Python: >=3.10
Keywords: OIDC, django, database, authentication



.. mozilla_django_oidc_db documentation master file, created by startproject.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

mozilla-django-oidc-db
======================

:Version: 0.25.2
:Source: https://github.com/maykinmedia/mozilla-django-oidc-db
:Keywords: OIDC, django, database, authentication

|build-status| |coverage| |ruff|

|python-versions| |django-versions| |pypi-version|

Database-backed settings for mozilla-django-oidc, with modified unique identifiers

.. contents::

.. section-numbering::

Features
========

* Thin layer on top of `mozilla-django-oidc`_
* Allows configuring OpenID connect providers and clients.
* Overrides `mozilla-django-oidc`_ default behaviour, using the ``sub`` claim
  instead of the ``email`` claim as unique identifier for users

``mozilla-django-oidc-db`` provides database configuration for several configuration
variables required for ``mozilla-django-oidc``, moving them from deploy-time to run-time.
This enables modification of the configuration, without having to restart the application.

Additionally, ``mozilla-django-oidc-db`` by default uses the ``sub`` (subject) claim
instead of the ``email`` claim as the unique identifier for users in the RP (Relying Party) application.
Using ``email`` as the unique identifier is not recommended, as mentioned in the `OpenID Connect specification`_.

Usage
=====

Please see the hosted `documentation`_ for installation, configuration and usage instructions.

.. |build-status| image:: https://github.com/maykinmedia/mozilla-django-oidc-db/actions/workflows/ci.yml/badge.svg
    :target: https://github.com/maykinmedia/mozilla-django-oidc-db/actions/workflows/ci.yml

.. |coverage| image:: https://codecov.io/gh/maykinmedia/mozilla-django-oidc-db/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/maykinmedia/mozilla-django-oidc-db
    :alt: Coverage status

.. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/mozilla_django_oidc_db.svg

.. |django-versions| image:: https://img.shields.io/pypi/djversions/mozilla_django_oidc_db.svg

.. |pypi-version| image:: https://img.shields.io/pypi/v/mozilla_django_oidc_db.svg
    :target: https://pypi.org/project/mozilla_django_oidc_db/

.. |docs| image:: https://readthedocs.org/projects/mozilla-django-oidc-db/badge/?version=latest
    :target: https://mozilla-django-oidc-db.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. _mozilla-django-oidc: https://github.com/mozilla/mozilla-django-oidc

.. _OpenID Connect specification: https://openid.net/specs/openid-connect-core-1_0.html#ClaimStability

.. _documentation: https://mozilla-django-oidc-db.readthedocs.io/en/latest/