<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Developers on</title><link>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/developers/</link><description>Recent content in Developers on</description><generator>Hugo -- gohugo.io</generator><atom:link href="https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/developers/index.xml" rel="self" type="application/rss+xml"/><item><title>Running DJ Locally</title><link>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/running-dj-locally/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/running-dj-locally/</guid><description>Using Docker Compose # The easiest way to try out DataJunction locally is to use the Docker Compose setup. This setup will launch and connect the primary DJ backend, the DJ UI, a reflection service, a query service, and a JupyterLab instance with a few example notebooks.
Clone the DJ repository. git clone git@github.com:DataJunction/dj.git Change into the dj/ directory and start the Docker Compose environment with the demo profile. cd dj/ docker compose --profile demo up Check that the following services are accessible: 👉 The DJ UI at http://localhost:3000, with some example data models pre-loaded.</description></item><item><title>Clients</title><link>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/clients/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/clients/</guid><description>Python # The DataJunction python client can be installed using pip. See the PyPI client library.
pip install datajunction To use the read-only client:
from datajunction import DJClient dj = DJClient(&amp;#34;http://localhost:8000&amp;#34;) To use the full client:
from datajunction import DJBuilder dj = DJBuilder(&amp;#34;http://localhost:8000&amp;#34;) Javascript # The DataJunction javascript client can be installed using npm for use in a node project or using the UNPKG CDN for client-side use.
CommonJS npm install datajunction const { DJClient } = require(&amp;#39;datajunction&amp;#39;) const dj = new DJClient(&amp;#39;http://localhost:8000&amp;#39;) dj.</description></item><item><title>Authentication</title><link>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/authentication/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/authentication/</guid><description>The open-source DJ project comes with support for multiple forms of authentication. Which forms of authentication are enabled is determined by the server configuration.
OAuth Provider Server Configuration Variables Basic SECRET GitHub SECRET, GITHUB_OAUTH_CLIENT_ID, GITHUB_OAUTH_CLIENT_SECRET Basic # To enable basic authentication, you simply need to set SECRET in the server configuration. The value must be a 16-bit string. The secret will be used for hashing and verifying user passwords as well as encrypting and decrypting JWT cookies.</description></item><item><title>How Metric Requests are Converted to SQL</title><link>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/how-metric-requests-are-converted-to-sql/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/how-metric-requests-are-converted-to-sql/</guid><description>How Metric Requests are Converted to SQL # This document explains how DataJunction converts metric requests into SQL queries. Understanding this flow is essential for:
Debugging generated SQL Optimizing metric definitions Contributing to the SQL generation code For background on metric decomposition (the theory behind breaking metrics into pre-aggregatable components), see Metric Decomposition.
Overview Architecture # User Request (metrics + dimensions + filters) | v +-------------------------------------------------------------+ | DECOMPOSITION PHASE | | - Load metric nodes and their dependencies | | - Extract components from base metrics | | - Build parent_map for derived metric relationships | | - Identify window metrics (LAG/LEAD/etc.</description></item><item><title>Docs Development</title><link>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/docs-development/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/docs-development/</guid><description>The DJ project uses the Hugo framework for building the docs site and all of the pages are defined as markdown files. The deployed docs site is actually a combination of multiple sites for different versions of DJ. This page will help to understand how to modify, locally test, and deploy DJ docs.
Running the Docs Site Locally # Clone the DJ repo locally.
git clone https://github.com/datajunction/dj Clone the hugo-doks theme submodule.</description></item><item><title>Releasing New Version</title><link>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/releasing-new-version/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/releasing-new-version/</guid><description>DataJunction project publishes all of its backend services and the Python client library to PyPI:
datajunction-clients/python datajunction-query datajunction-server datajunction-reflection Javascript client and the UI component go to NPM:
datajunction-clients/javascript datajunction-ui JAVA client (TODO):
datajunction-clients/java Documentation (TODO).
docs Dev Releases # If you&amp;rsquo;d like make a dev release of any DataJunction component switch to a corresponding component directory and run:
make dev-release Look for the version and a target release url in the output.</description></item><item><title>DJ server v0.0.1a44</title><link>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/dj-server-v0.0.1a44/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://6a024bf2a7e6a60008bd1284--thriving-cassata-78ae72.netlify.app/docs/0.1.0/developers/dj-server-v0.0.1a44/</guid><description>Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
A DataJunction metrics layer
License: MIT License
Authentication # HTTP Authentication, scheme: bearer Handle Http Get # GET /graphql
Example responses
200 Response
null Status Meaning Description Schema 200 OK The GraphiQL integrated development environment. Inline 404 Not Found Not found if GraphiQL or query via GET are not enabled.</description></item></channel></rss>