datonic / datadex

📦 Serverless and local-first Open Data Platform
http://datadex.datonic.io
MIT License
262 stars 15 forks source link
dbt duckdb open-data quarto sql

D A T A D E X

The Open Data Platform for your community Open Data

GitHub GitHub Workflow Status GitHub Repo stars


Datadex is a fully open-source, serverless, and local-first Data Platform that improves how communities collaborate on Open Data. Datadex is not a new tool, it is a pattern showing an opinionated bridge between existing ones.

🚀 Implementations

Check other real-world production Open Data Portals of the Datadex pattern in the following repositories:

💡 Principles

Make Open Data compatible with the Modern Data Ecosystem.

⚙️ Setup

Datadex is mainly a Python project, so you'll need to have Python installed. If you hit any issue, please open an issue! The easiest way to get started is using a Python virtual environment, but a development container is also provided.

🐍 Python Virtual Environment

The recommended way is to install uv and let it manage the Python environment. The following commands will install the dependencies and create a virtual environment in the project's folder.

make setup

Alternatively, you can rely on your system's Python installation to create a virtual environment and install the dependencies.

# Create a virtual environment
python3 -m venv .venv
source .venv/bin/activate

# Install the package and dependencies
pip install -e ".[dev]"

Now, you should be able to spin up Dagster UI (make dev or dagster dev) and access it locally.

🐳 Docker / Dev Containers

You can use VSCode Remote Containers to get started with Datadex too. If you have Docker running, open the project in VSCode and click on the bottom right corner to open the project in a container.

Once inside the develpment environment, you'll only need to run make dev to spin up the Dagster UI locally. You'll also have a few extra extensions installed and configured to work with the project.

The development environment can also run in your browser thanks to GitHub Codespaces!

badge

📜 License

Datadex is licensed under the MIT License. See the LICENSE file for details.