A Sync/Async API Wrapper for SodiumDB.
Project description
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())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.