This release is a pre-release and may not be stable for production use.
DRYML
DRYML provides immutable construction definitions, exact graph references, and local checkpoint publication for Python machine-learning objects.
CDef V2
Definition is a soft declaration. Concretizing it produces a ConcreteDefinition (CDef): a fully bound structural recipe. CDef equality and stable_hash() compare class and semantic parameters; they intentionally do not include graph sharing or object identity. CDef.graph_equal() and graph_hash() additionally preserve shared versus independent equal nodes.
ObjectRef adds durable ObjectId lineage for every owned Serializable node. StateRef adds one immutable local-state hash for each of those paths. Inspecting CDefs, ObjectRefs, StateRefs, and structural queries is import-free. CDef .args and .kwargs are call projections and may import the current class; use .cls and .parameters for inspection.
from dryml import Definition, Object, Repo, Serializable
from dryml.core.store.dir import DirStore
class Counter(Serializable):
def __init__(self, value=0):
super().__init__()
self.value = value
repo = Repo(DirStore("./checkpoint-store"))
counter = Counter(3, repo=repo)
state = counter.save(repo=repo)
restored = repo.load_state_ref(state)
assert restored.object_ref == state.object
Object.save() publishes immutable directory state and returns a StateRef. federated=False is self-contained by default; federated=True may retain immutable dependencies in connected Stores. deep_capture=True captures each owned serializable node once. There is no automatic mutation detection: call save() after relevant mutation.
See Objects and Definitions, Repos and Stores, Formats, and Graph Querying.
Metadata
Release files for dryml 0.3.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dryml-0.3.0b2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / dryml-0.3.0b2-py3-none-any.whl
| Download URL | dryml-0.3.0b2-py3-none-any.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
055c097fae5861aa204a08306a8b948a9cfad8ec7ab40234de85247967a384bf
|
|
BLAKE2b-256 checksum How to use checksums |
dd840b6a1c0be1146773eac69e06ac24ad79d2e0902016ea12a5702c49ffeff1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency log