drsg-embedded
The dr-strange graph engine inside your own process: no server, no socket, no port. One file on disk, opened directly.
import asyncio
import drsg_embedded as drsg
async def main():
db = await drsg.open("graph.drsg")
print(await db.planes())
print(await db.context("myrepo", "Service.Save"))
print(await db.impact("myrepo", "normalize", depth=3))
print(await db.deployed("myrepo"))
asyncio.run(main())
Every method is a coroutine, and every one does its work on a blocking thread rather than on the event loop. A point lookup here is microseconds of CPU, not I/O to wait on, so running it inline would stall every other task for exactly as long as it takes.
Calls name their plane. A plane handle borrows the database it came from
and a Python object cannot hold a borrow, so the surface is the one the MCP
server and the CLI already use — db.context("myrepo", "Service.Save").
What this is and is not
This wraps the engine: planes, nodes, edges, and the agent verbs over a graph that already exists. It does not digest a repository — that needs the sandboxed wasm parser plugins, which would put tens of megabytes into every wheel. Build a plane with the CLI and read it from here:
$ drsg digest ./myrepo --apply --plane myrepo
For talking to a running drsg serve over JSON-RPC instead, the pure-Python
client is drsg.
Status
Alpha. The surface above is settled; cypher, the change feed and bulk writes
are the next additions.
Metadata
Release files for drsg-embedded 2.24.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| drsg_embedded-2.24.4-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for drsg_embedded-2.24.4-cp39-abi3-win_amd64.whl |
| drsg_embedded-2.24.4-cp39-abi3-manylinux_2_34_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.34+ x86-64 | Details for drsg_embedded-2.24.4-cp39-abi3-manylinux_2_34_x86_64.whl |
| drsg_embedded-2.24.4-cp39-abi3-manylinux_2_34_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.34+ ARM64 | Details for drsg_embedded-2.24.4-cp39-abi3-manylinux_2_34_aarch64.whl |
| drsg_embedded-2.24.4-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details for drsg_embedded-2.24.4-cp39-abi3-macosx_11_0_arm64.whl |
| drsg_embedded-2.24.4-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details for drsg_embedded-2.24.4-cp39-abi3-macosx_10_12_x86_64.whl |
Total release size: 20.4 MB
Release files / drsg_embedded-2.24.4-cp39-abi3-win_amd64.whl
| Download URL | drsg_embedded-2.24.4-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
471837a2c6efc25fadbabf85583e6d719c7bef9714bef2c7b8c7e05725971b49
|
|
BLAKE2b-256 checksum How to use checksums |
ac7d811056efb35c64962d059cd127d3bc2315efd4e7d49d789d69281e13d48a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / drsg_embedded-2.24.4-cp39-abi3-manylinux_2_34_x86_64.whl
| Download URL | drsg_embedded-2.24.4-cp39-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.9 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0b78276c36e1ad543d976ce4683670e74ab3276a1c5670f43ebb8dd546e56fc4
|
|
BLAKE2b-256 checksum How to use checksums |
bac1abf475fcc3a01a27a5a002022f7c758daf88f8bef4655a195445e31a61d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / drsg_embedded-2.24.4-cp39-abi3-manylinux_2_34_aarch64.whl
| Download URL | drsg_embedded-2.24.4-cp39-abi3-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.9 Linux glibc 2.34+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
756bcdc7e46b3e49c654e726e8d50c782c93b448a9c8f29cd2fc467a3f4ecb61
|
|
BLAKE2b-256 checksum How to use checksums |
b8cae136b79fb88cc16a5ff7df4fa0244e8b34e115c1a8527a607cb29f61be39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / drsg_embedded-2.24.4-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | drsg_embedded-2.24.4-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3162a2a93a337a893e97951e9d10cc755669612c91a6a2acc2614a57a3a4d218
|
|
BLAKE2b-256 checksum How to use checksums |
59dd3f335d4cb03dd3d5659b4ddacd34757de681e2c5274b551e63acd750dbf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / drsg_embedded-2.24.4-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | drsg_embedded-2.24.4-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
d2d7d35e055bff9e2d176ff0bfc315d53b356465d02f6ac58cdd7aba23dd0629
|
|
BLAKE2b-256 checksum How to use checksums |
ecb0846c00e90effbb216717c95ba9d004079e39d9273d34fcc21090628bdc1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for drsg-embedded 2.24.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.