Reference compiler for just-dna annotation modules: spec directory → parquet artifact + manifest
Project description
just-dna-compiler
The reference compiler for just-dna annotation modules: it turns an authored spec directory
(module_spec.yaml + variants.csv + studies.csv) into the deployable three-parquet artifact
(weights / annotations / studies) plus a manifest.json with integrity digests.
It consumes the schema/contract from just-dna-format and is the shared transform
called by both just-dna-pipelines (local compile) and just-dna-marketplace (server-side
recompile on publish).
from just_dna_compiler.compiler import validate_spec, compile_module
validate_spec(spec_dir) # -> ValidationResult (genes/categories lists)
compile_module(spec_dir, out_dir, # -> CompilationResult (+ manifest.json written)
resolve_with_ensembl=False, # inject an Ensembl DuckDB/parquet dir to resolve
compiled_by="marketplace-server")
Dependencies: just-dna-format, polars, duckdb, pyyaml — deliberately no Dagster / LLM
SDKs. The Ensembl reference is injected by the caller (a .duckdb file or a parquet dir); this
package never downloads it.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file just_dna_compiler-0.1.0.tar.gz.
File metadata
- Download URL: just_dna_compiler-0.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5935e1642370ddd2a5a59768f81cf210bd071ae51a724740456642e85d55df82
|
|
| MD5 |
98f2f28f88c2a99510f2837522d58832
|
|
| BLAKE2b-256 |
d027f826bc92c293aaf8136f909a7f93672ad73af4d6f2201897ca12165750af
|
File details
Details for the file just_dna_compiler-0.1.0-py3-none-any.whl.
File metadata
- Download URL: just_dna_compiler-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9179a7f791ba02933f92433fdd4b2b73ff7a0582ad69ebdb5e6a36d684ce6f10
|
|
| MD5 |
045ba0538cd69983524ac7453a8d6ea6
|
|
| BLAKE2b-256 |
d847ab6f224a691b0d56dab79f4c9644abc6e604c1fab6d0dabbb5ab6fd1b006
|