Skip to main content

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

This version

0.1

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.

Built Distribution

bromide.py-0.1-py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page