Drylab (python package)
Event-sourced lab automation core library for Python.
Overview
Drylab delivers unbreakable reproducibility and an immutable audit trail for every step of the autonomous science workflows carried out by your scientific AI agents.
Drylab uses an event‐sourced ledger that cryptographically seals, schema‐validates and version‐controls every instrument readout, simulation snapshot and llm insight
- instant provenance: trace any result back to the exact raw bytes
- built-in verification: reject bad data before it contaminates your analysis
- replay & branching: fork a run, tweak parameters and diff outcomes in seconds
Features
- Event-sourced architecture for reliable lab automation
- Schema validation and registry for lab protocols
- SQLite-based ledger for event persistence
- Type-safe interfaces for lab operations
- Pydantic integration for data validation
Requirements
- Python >= 3.10
- Dependencies:
- pydantic >= 2.6
- sqlite-utils >= 3.35
- jsonschema >= 4.22
Installation
You can install DryLab using pip:
pip install drylab
Or install from source:
git clone https://github.com/drylab/drylab-python.git
cd drylab-python
pip install -e .
Quick Start
from drylab import Reactor, Ledger
# Initialize the reactor and ledger
ledger = Ledger("lab_events.db")
reactor = Reactor(ledger)
# Your lab automation code here
Project Structure
drylab/
├── schemas/ # JSON schemas for lab protocols
├── reactor.py # Core reactor implementation
├── ledger.py # Event persistence layer
├── types.py # Type definitions
└── schema_registry.py # Schema management
Documentation
For detailed documentation, visit https://drylab.bio
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the terms of the license included in the repository.
Contact
- Email: dev@drylab.io
- Website: https://drylab.bio
Metadata
Release files for Drylab 0.0.2
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 |
|---|---|---|---|---|
| drylab-0.0.2.tar.gz | 4.7 kB | Without provenance | Details for drylab-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drylab-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for drylab-0.0.2-py3-none-any.whl |
Total release size: 8.7 kB
Release files / drylab-0.0.2.tar.gz
| Download URL | drylab-0.0.2.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f885eda9773e567fb1dcd52e701f13cfef2687fd9177461bdfdee71cf3183408
|
|
BLAKE2b-256 checksum How to use checksums |
affb8ea23aee5de225a31c51069b3515b9000d2efe0b66311e902d31d1e5f807
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / drylab-0.0.2-py3-none-any.whl
| Download URL | drylab-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e45b326ba7ee14d73bea59e8e214a98fbc138aadaec18aae925eddfb8219c4a
|
|
BLAKE2b-256 checksum How to use checksums |
1ef876473bddebe445d28ed2a2f8f17e3b12781281aa3d2c57ce2d30c587e05f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for Drylab 0.0.2
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.