Skip to main content

DataJunction

Introduction

DataJunction (DJ) is an open source metrics platform that allows users to define metrics and the data models behind them using SQL, serving as a semantic layer on top of a physical data warehouse. By leveraging this metadata, DJ can enable efficient retrieval of metrics data across different dimensions and filters.

DataJunction

Getting Started

To launch the DataJunction UI with a minimal DataJunction backend, start the default docker compose environment.

docker compose up

If you'd like to launch the full suite of services, including open-source implementations of the DataJunction query service and DataJunction reflection service specifications, use the demo profile.

docker compose --profile demo up

DJUI: http://localhost:3000/ DJ Swagger Docs: http://localhost:8000/docs DJQS Swagger Docs: http://localhost:8001/docs Jaeger UI: http://localhost:16686/search Jupyter Lab: http://localhost:8888

How does this work?

At its core, DJ stores metrics and their upstream abstractions as interconnected nodes. These nodes can represent a variety of elements, such as tables in a data warehouse (source nodes), SQL transformation logic (transform nodes), dimensions logic, metrics logic, and even selections of metrics, dimensions, and filters (cube nodes).

By parsing each node's SQL into an AST and through dimensional links between columns, DJ can infer a graph of dependencies between nodes, which allows it to find the appropriate join paths between nodes to generate queries for metrics.

Semantic view discovery

POST /semantic/views requires a path array and returns the hierarchy and views at the selected location. Use [] to browse the root. Missing or null paths are rejected. For example:

{"path": ["sales", "main"]}

Deprecated POST /semantic/views/list returns a flat array of all matching cube views and does not accept path. It preserves the legacy runtime_configuration namespace and branch selectors.

AI Integration

DataJunction provides an MCP (Model Context Protocol) client that enables AI assistants like Claude to interact with your semantic layer.

The MCP client is part of the DataJunction Python client package.

For installation and setup, see the MCP documentation in the client package.

Documentation

For more detailed documentation, visit datajunction.io.

Metadata

Release files for datajunction-server 0.0.289

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datajunction-server 0.0.289
File Size Uploaded Provenance Actions
datajunction_server-0.0.289.tar.gz 10.0 kB With provenance Details for datajunction_server-0.0.289.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datajunction-server 0.0.289
File Interpreter ABI Platform Actions
datajunction_server-0.0.289-py3-none-any.whl Python 3 none any Details for datajunction_server-0.0.289-py3-none-any.whl

Total release size: 1.4 MB

Release files / datajunction_server-0.0.289.tar.gz

Download URL datajunction_server-0.0.289.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f25f5469798c5cdaf8e313e0706818fd904e95f95dbcd4bfab057630454c60ad
BLAKE2b-256 checksum
How to use checksums
cf408f3ee2e801a90e5e903eb75fd995a593f1442fb820fe44708c22d3219ba8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Release files / datajunction_server-0.0.289-py3-none-any.whl

Download URL datajunction_server-0.0.289-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3bce314b3a6600f312f3e77b5321a7727497ec019f088d28edc9df2c5c984f82
BLAKE2b-256 checksum
How to use checksums
d2f3ad34f113eff39c591db1ac5932c97941b7a70d34b2feb6fe14ed344b5e25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Security for datajunction-server 0.0.289

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for datajunction_server-0.0.289.tar.gz

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 Nov 17, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.0.289 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page