Dartfx Workspace is a high-performance management tool for data storage areas (workspaces). It focuses on organizing and publishing data commodities aligned with FAIR principles, making them easily consumable by both humans and AI agents.
- Targeted Scanning: Sync the full workspace or target specific subdirectories with
scan .for high-performance indexing. - Interactive Metadata: Minimalist
aboutcommand with clickable links to resource-mirrored metadata storage. - Robust Persistence: Atomic Knowledge Base updates for
mvandrmoperations, ensuring stable UUIDs across directory renames. - Context-Free Classification: Scientific-grade file type sniffing relying on signatures (SQL, JSONL, SAS, etc.) rather than directory hints.
- FAIR-Aligned: Seamless generation of RDF metadata (Turtle) using Dublin Core and Schema.org standards.
We recommend using uv for fast and reliable dependency management.
# Clone the repository
git clone https://github.com/DataArtifex/dartfx-workspace.git
cd dartfx-workspace
# Sync environment
uv syncThe core of the package is an interactive shell built on prompt_toolkit. It provides a Unix-like experience for managing your data assets.
# Start the shell in the current directory
uv run dartfx-workspace .scan [path]: Sync the Knowledge Base. Use--cleanor--refreshfor a full metadata reset and fresh scan.stats: Show a high-level breakdown of file types (Data, Code, Docs) and registration status.ls -l --uuid: List files with stable UUIDs and registration status (✔/✘).about <file>: Show detailed FAIR metadata. Includes a clickable 📂 icon that opens the mirrored storage directory.mv / rm: Standard filesystem operations that automatically update the semantic graph.tree -L 2: Visualize the directory hierarchy.
The Knowledge Base is mirrored at .dartfx/kb/workspace/. Each resource has a dedicated directory containing its resources.ttl file, making it accessible to external RDF tools and AI agents.
https://dataartifex.org/workspace/<UUID>
We integrate multiple vocabularies for maximum interoperability:
- DCTERMS: For standard administrative metadata (identifiers, dates).
- Schema.org: Mapped to
MediaObjectto ensure compatibility with major data discovery engines.
uv run pytestThe project uses strict linting and formatting via Ruff. Run hooks before committing:
uv run pre-commit run --all-filesBuild the full documentation suite (Sphinx/MyST):
hatch run docs:build- Phase 1: Core Workspace Management & Shell.
- Phase 2: Data Product Management & DCAT Integration.
- Phase 3: Advanced Inference Engines & Data Provenance.
- Phase 4: Workspace API Service (
dartfx-workspace-api).
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
© 2024 Data Artifex | SPECIFICATIONS.md