brickbed
Python client for Brickbed - the document database built for distributed edge apps.
Coming Soon
Brickbed is currently on waitlist. Visit brickbed.com to get notified when it's ready.
Installation
pip install brickbed
# or
uv add brickbed
Usage
from brickbed import createClient
db = createClient(
endpoint=os.environ["BRICKBED_ENDPOINT"],
api_key=os.environ["BRICKBED_API_KEY"],
)
# Insert a document
post = await db.collection("posts").insert({
"title": "Hello World",
"content": "My first post",
})
# Get a document
fetched = await db.collection("posts").get(post["_id"])
# List documents
result = await db.collection("posts").list(limit=10)
License
MIT
Metadata
Release files for brickbed 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| brickbed-0.1.0.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brickbed-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / brickbed-0.1.0.tar.gz
| Download URL | brickbed-0.1.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f0584f66b2b2f1ed11bb13de6cce391a190a12c8df08d88267a14e5bfe42b19
|
|
BLAKE2b-256 checksum How to use checksums |
de6f42e84b7d50dcf976f185bd4e37b33c26da8198257a280dc45936e3f3ec2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / brickbed-0.1.0-py3-none-any.whl
| Download URL | brickbed-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1730f561363cdf4f7554ca81539290bbc122495366687b71e0787e214852395
|
|
BLAKE2b-256 checksum How to use checksums |
8066f37ab7c9ae20310ddf474895f9d74bba4f4cc059ef9d6b4ec1f26831e3df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|