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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file bromide.py-0.1-py3-none-any.whl.

File metadata

  • Download URL: bromide.py-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for bromide.py-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4a2d4e1b6b7e1fc01808176773e00abff621a40030c9fb61d9239b71c74fd85
MD5 d6e4ed826176306667d2e173fa2dea55
BLAKE2b-256 e6baf573329590ada535e1d436ba55b37947e444a2b63f0a2df45338a228a8d1

See more details on using hashes here.

Supported by

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