Skip to content

sodium-db/bromide-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bromide.py

A typed, sync/async wrapper for the SodiumDB API in Python.

Quickstart

from bromide import Bromide, AsyncBromide

import asyncio

br = Bromide(password="myAmazingPassword")
br.create({"hello": "world"})
print(br.read("hello")) # "world"

# async client too!

async def main():
    br = AsyncBromide(password="myAmazingPassword")
    await br.create({"hello": "async"})
    print(await br.read("hello")) # "async"

asyncio.run(main())

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages