Skip to content

Commit 9ba2bc7

Browse files
feat: add SpiceDB module for Python (#163)
* Update index.md Added a link to the python module that I uploaded. Also, changed the wording of SpiceDB to match the SpiceDB github repo * fix: install from PyPi * fix: use PyPi URL * Update index.md chore: fixed lint error * Update index.md fixed trailing spaces in yaml file, again. --------- Co-authored-by: Manuel de la Peña <[email protected]>
1 parent 06d5ec6 commit 9ba2bc7

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

modules/spicedb/index.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,24 @@ docs:
1414
```bash
1515
go get github.com/Mariscal6/testcontainers-spicedb-go
1616
```
17+
- id: python
18+
url: https://pypi.org/project/testcontainers-spicedb/
19+
maintainer: community
20+
example: |
21+
```python
22+
from testcontainers_spicedb import SpiceDBContainer
23+
# Using context manager (recommended)
24+
with SpiceDBContainer(image="authzed/spicedb:v1.47.1") as spicedb:
25+
endpoint = spicedb.get_endpoint()
26+
secret_key = spicedb.get_secret_key()
27+
28+
# Use endpoint and secret_key with your SpiceDB client
29+
# ...
30+
```
31+
installation: |
32+
```bash
33+
pip install testcontainers-spicedb
34+
```
1735
description: |
18-
SpiceDB is a graph database purpose-built for storing and evaluating access control data.
36+
SpiceDB is an Open Source, Google Zanzibar-inspired database for scalably storing and querying fine-grained authorization data.
1937
---

0 commit comments

Comments
 (0)