LSMC Dewey canonical artifact registry service
Project description
Dewey
Dewey is the canonical artifact registry and artifact-resolution service for the stack. It gives analysis and delivery systems a stable place to register artifact identity, sets, share references, and links to external objects without handing artifact authority to the portal or the lab system.
Dewey owns:
- artifact identity and artifact metadata
- artifact-set identity and membership
- artifact resolution and storage metadata lookup
- share-reference issuance
- external object links to artifacts and artifact sets
Dewey does not own:
- customer release visibility decisions
- Atlas storage policy authority
- wet-lab or analysis execution state
Component View
flowchart LR
Clients["Atlas / Ursa / operators"] --> Dewey["Dewey API + small browser UI"]
Dewey --> TapDB["TapDB persistence"]
Dewey --> Cognito["Cognito / daycog"]
Prerequisites
- Python 3.11+
- local PostgreSQL/TapDB-compatible runtime
- HTTPS certificates for the normal local path
- optional Cognito setup for the browser UI
Getting Started
Quickstart
source ./activate
dewey config init
dewey db build --target local
dewey server start --port 8914
HTTPS is the expected local posture. Place certs at certs/cert.pem and certs/key.pem before starting the normal local server flow.
Architecture
Technology
- FastAPI + Jinja2
- Typer-based
deweyCLI - TapDB-backed persistence
- Cognito-backed browser auth
Core Object Model
Dewey centers on:
- artifacts
- artifact sets
- external objects and external-object relations
- share references
- resolution requests that map identifiers to storage metadata
Runtime Shape
- app factory:
dewey_service.app:create_app - CLI:
dewey - main CLI groups:
server,db,config,env,test,quality
API Shape
Current major route groups include:
- artifact registration and lookup under
/api/v1/artifacts - artifact-set registration and membership under
/api/v1/artifact-sets - resolution flows under
/api/v1/resolve/* - share references and external-object relations under
/api/v1/*
The browser UI is intentionally narrow and focused on search, anomalies, observability, and literature-oriented workflows.
Cost Estimates
Approximate only.
- Local development: workstation plus local database.
- Shared sandbox: generally a modest portion of the broader Dayhoff-managed service footprint.
- Production-like environments cost more because registry availability, storage metadata, TLS, and database uptime matter more than the Dewey code itself.
Development Notes
- Canonical local entry path:
source ./activate - Use
dewey ...for Dewey-owned operations - Use
tapdb ...for shared DB/runtime lifecycle when Dewey explicitly delegates it - Use
daycog ...for shared Cognito lifecycle when Dewey explicitly delegates it dewey db reset --target localdeletes the current local TapDB target and rebuilds itdewey db nuke --target localdeletes the current local TapDB target without rebuilding
Useful checks:
source ./activate
dewey --help
pytest -q
Sandboxing
- Safe: docs work, tests,
dewey --help, and local-only runtime checks - Local-stateful:
dewey db build --target local - Requires extra care: HTTPS cert management, Cognito lifecycle, and any deployed environment integration
Current Docs
References
Project details
Release history Release notifications | RSS feed
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 dewey_service-0.3.2.tar.gz.
File metadata
- Download URL: dewey_service-0.3.2.tar.gz
- Upload date:
- Size: 120.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
300b69d858792d5fb9a9615bfbafd4a0074e7360b94551ed3d47a473ef8aa0f4
|
|
| MD5 |
fc6b6838ec69b22bab69f1323788b401
|
|
| BLAKE2b-256 |
e5ee8c61c3a3504334c75c56daedc1565bc28803c266e34bfe5bc79b0ae6dae8
|
File details
Details for the file dewey_service-0.3.2-py3-none-any.whl.
File metadata
- Download URL: dewey_service-0.3.2-py3-none-any.whl
- Upload date:
- Size: 104.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb528a068001b56df1478922286fd0bc61fe5a08a673803224e3b666f1e06542
|
|
| MD5 |
bbec48844f86e1ba878d8dc2badc1690
|
|
| BLAKE2b-256 |
1b10ca4f2a81cf7377af743146b92b7159cec71a27cac9a125f06b8e451674a3
|