Skip to content

mooncell07/Azaka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

we are back!!

Stargazers Issues Releases Version

LINKS

WELCOME!

Welcome to Azaka, a work-in-progress asynchronous and thin API Wrapper around the visual novel database written in python.

FEATURES

  • Fully Asynchronous - The library supports Async. communication and other jobs.
  • Clean and Expressive - Azaka's syntax is really clean and expressive with SQL like querying.
  • Well Typehinted & Tested - Everything in the library is properly typehinted and checked with strict mypy type checking strategy. However there are few exceptions ;)

INSTALLATION

You can install Azaka using pip.

pip install azaka

USAGE

Example of getting some basic VN data.

import asyncio
from azaka import Client, Node, select

query = (
    select("title", "image.url")
    .frm("vn")
    .where(Node("id") == "v17")
)

async def main() -> None:
    async with Client() as client:
        resp = await client.execute(query=query)
        vn = resp.results[0]
        print(vn.id, vn.title, vn.image["url"], sep="\n")

asyncio.run(main())

DOCUMENTATION & TUTORIAL

Documentation will be available soon.

THANKS

Thank you for your visit :)