dydact-lab
Official Python SDK for DOLAS Lab — universal-substrate reasoning API.
Zero-parameter, zero-training geometric compilation across domains: symbolic math, constraint satisfaction (Sudoku, SAT), chemistry (SMILES), and circuit equivalence — all served from a single op-routed endpoint.
pip install dydact-lab
Quickstart
from dydact_lab import Lab
lab = Lab(api_key="sk-dol-...") # or set env DOLAS_API_KEY
# Math — LaTeX, sympy, or Python syntax
r = lab.math.evaluate("sqrt(3**2 + 4**2)")
print(r.result["value"]) # → 5.0
# Sudoku — any perfect-square N (4, 9, 16, 25)
grid = [[5,3,0,0,7,0,0,0,0], ...]
r = lab.sudoku.solve(grid)
print(r.result["solved"], r.elapsed_ms) # → True, ~30 ms
# Chemistry — SMILES → geometric signature + zero-shot properties
r = lab.smiles.encode("CN1C=NC2=C1C(=O)N(C(=O)N2C)C") # caffeine
print(r.result["properties"]["molecular_weight"])
# Circuit equivalence — ISCAS'85 .bench format
r = lab.circuit.equivalence(bench_a, bench_b)
print(r.result["equivalent"])
# Boolean SAT — CNF as list of [(var_idx, negated), ...]
clauses = [[(0,False),(1,True),(2,False)], [(0,True),(1,False),(2,True)]]
r = lab.sat.solve(clauses, n_vars=3)
print(r.result["sat"], r.result["assignment"])
Async
import asyncio
from dydact_lab import AsyncLab
async def main():
async with AsyncLab(api_key="sk-dol-...") as lab:
r = await lab.math.evaluate("2+2")
print(r.result["value"])
asyncio.run(main())
Capability discovery
lab.ops() # → list of all ops + schemas supported by the deployed backend
Unified compute (low-level)
Every namespace call routes through the same single endpoint:
r = lab.compute("math.evaluate", {"math": "2+2"})
This is by design — minimizes API surface, makes adding new ops a backend-only change.
Reproducibility
Every response includes a trace_id (SHA-256 of op + input + options) you can cite in publications. The compiler is deterministic given input + seed.
Tiers + auth
- Academic — free for verified
.eduresearchers (citation required) - Pro Researcher — $79/mo
- Lab Enterprise — $2,500/mo
- DOLAS Strategic — contracted
Sign up: https://lab.dydact.io/signup
License
Apache-2.0.
Metadata
Release files for dydact-lab 0.3.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 | Provenance | Actions |
|---|---|---|---|---|
| dydact_lab-0.3.0.tar.gz | 7.8 kB | Without provenance | Details for dydact_lab-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dydact_lab-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for dydact_lab-0.3.0-py3-none-any.whl |
Total release size: 15.3 kB
Release files / dydact_lab-0.3.0.tar.gz
| Download URL | dydact_lab-0.3.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8ab57fdb3edebefc1386a7d413d15ef188d793d05076c49657728c98fe56c3f
|
|
BLAKE2b-256 checksum How to use checksums |
528902895f7480345e569269c5dba1ede183c27f16c15f87509171b3e13c6310
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / dydact_lab-0.3.0-py3-none-any.whl
| Download URL | dydact_lab-0.3.0-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cf93a66e97abf3bec979ed4cfebe108cb8cbb6963946084fed730da8ba0a9c3
|
|
BLAKE2b-256 checksum How to use checksums |
7ae69ecf6d5def4bd571d5a8bc7d284d676d3115e222aa8af6fe2b77d7543433
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for dydact-lab 0.3.0
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.