Metadata-Version: 2.4
Name: brickbed
Version: 0.1.0
Summary: Python client for Brickbed - the document database built for distributed edge apps
Project-URL: Homepage, https://brickbed.com
Project-URL: Repository, https://github.com/brickbed/brickbed
Project-URL: Issues, https://github.com/brickbed/brickbed/issues
Author-email: Brickbed <hello@brickbed.com>
License-Expression: MIT
Keywords: brickbed,database,document,edge,multi-region
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Description-Content-Type: text/markdown

# brickbed

Python client for [Brickbed](https://brickbed.com) - the document database built for distributed edge apps.

## Coming Soon

Brickbed is currently on waitlist. Visit [brickbed.com](https://brickbed.com) to get notified when it's ready.

## Installation

```bash
pip install brickbed
# or
uv add brickbed
```

## Usage

```python
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
