directory API python SDK
Overview
The directory API python SDK provides a simple and efficient way to interact with the directory API. It allows developers to integrate directory functionality into their Python applications with ease.
Features
- Store API: The SDK includes a store API that allows developers to push the record data model to the store and retrieve it from the store.
- Routing API: The SDK provides a routing API that allows developers to publish and retrieve record to and from the network.
Installation
Install the SDK using uv
init the project:
uv init
add the SDK to your project:
uv add agntcy-dir-sdk --index https://buf.build/gen/python
uv add 'agntcy-dir-grpc-python' --index https://buf.build/gen/python
Usage
Starting the Directory Server
To start the Directory server, you can deploy your instance or use Taskfile as below.
task server:start
Usage of the SDK
See v1/example.py to help get started.
Metadata
Release files for agntcy-dir-sdk 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agntcy_dir_sdk-0.1.10.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agntcy_dir_sdk-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 kB
Release files / agntcy_dir_sdk-0.1.10.tar.gz
| Download URL | agntcy_dir_sdk-0.1.10.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3461bde891c0dabead59badcc748e923f53523b1c14809c7bb74679ae62a7925
|
|
BLAKE2b-256 checksum How to use checksums |
680c864ab12f9ff9508545f488838085de74d521e0334b5612f43f90f1daaf28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.1
|
Release files / agntcy_dir_sdk-0.1.10-py3-none-any.whl
| Download URL | agntcy_dir_sdk-0.1.10-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d28c8ad6f75daf7ad3db9e45d85eb81c3dcb660597c7c0f9df4f922256c8f02d
|
|
BLAKE2b-256 checksum How to use checksums |
f571f4a1a93a80feab778444e86578464b3dda50bc2de091cb18bb35befd47dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.1
|