GithubHelp home page GithubHelp logo

sspaeti / datadex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datonic/datadex

0.0 1.0 0.0 14.05 MB

Open Data Warehouse with dbt and DuckDB

Home Page: https://github.com/davidgasquez/datadex

License: MIT License

Makefile 0.30% Dockerfile 0.23% Python 2.47% Jupyter Notebook 97.00%

datadex's Introduction

D A T A D E X

Collaborate on Open Data using Open Source Tools

GitHub GitHub Workflow Status GitHub Repo stars

Open source, serverless, and local-first Data Platform to collaborate on Open Data! Built on top of Dagster, dbt, Quarto, DuckDB, and Evidence.

This repository is an up to date toy implementation of the overall pattern. You can check two real world production instances of Datadex working in the following repositories:

  • Gitcoin Grants Data Portal. Improve data access and empower data scientists to conduct research and guide community driven analysis and decisions around Gitcoin Grants.
  • Filecoin Data Portal. Local-first data hub for Filecoin data! Like Dune, but in your laptop.

๐Ÿ’ก Principles

  • Open: Code, standards, infrastructure, and data, are public and open source.
  • Modular and Interoperable: Each component can be replaced, extended, or removed. Works well in many environments (your laptop, in a cluster, or from the browser), can be deployed to many places (S3 + GH Pages, IPFS, ...) and integrates with multiple tools (thanks to the Arrow ecosystem). Use open tool, standards, infrastructure, and share data in accesible formats.
  • Permissionless. Don't ask, fork it and improve the models, add a new source or update any script. No API limits, just plain files.
  • Data as Code. Declarative stateless transformations tracked in git. Version your data as code! Publish and share your reusable models for others to build on top. Datasets should be both reproducible and accessible!
  • Glue: Be a bridge between tools and aproaches. E.g: Use software engineering good practices like types, tests, materialized views, and more.

Datadex is not a new tool. Datadex is a pattern showing an opinionated bridge between existing ones.

๐Ÿš€ What can you do with Datadex?

Dagster Asset_Group

โš™๏ธ Setup

Datadex consists of several components and requires some setup to get started.

๐Ÿณ Docker / Dev Containers

The fastest way to start using Datadex is via VSCode Remote Containers. Once inside the develpment environment, you'll only need to run make dev to spin up the Dagster UI locally.

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

You can also build the Dockerfile image locally and run it with:

docker build -t datadex .
docker run -it -v $(pwd):/workspaces/datadex -p 3000:3000 datadex

๐Ÿ Python Virtual Environment

Clone the repository and run the following commands from the root folder:

# 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 and access it locally.

๐ŸŽฏ Motivation

This project started after thinking how an Open Data Protocol could look like!

๐Ÿ‘ Acknowledgements

datadex's People

Contributors

davidgasquez avatar vitorbaptista avatar sspaeti avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.