mage-ai / mage-ai

๐Ÿง™ Build, run, and manage data pipelines for integrating and transforming data.

Home Page:https://www.mage.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mage AI

Give your data team magical powers.

Mage AI GitHub repo stars Mage AI Docker downloads Mage AI license Join the Mage AI community


Mage AI hero

Mage is a hybrid framework for transforming and integrating data. It combines the best of both worlds: the flexibility of notebooks with the rigor of modular code.


  • Extract and synchronize data from 3rd party sources.
  • Transform data with real-time and batch pipelines using Python, SQL, and R.
  • Load data into your data warehouse or data lake using our pre-built connectors.
  • Run, monitor, and orchestrate thousands of pipelines without losing sleep.

Plus hundreds of enterprise-class features, infrastructure innovations, and magical surprises.

Available in two spellbinding versions


Mage Pro For teams. Fully managed platform for integrating and transforming data. Mage OSS Self-hosted. System to build, run, and manage data pipelines.

Try out Mage Pro

Itโ€™s magic.

For documentation on getting started, how to develop, and how to deploy to production check out the live
Developer documentation portal.


๐Ÿƒโ€โ™€๏ธ Install

The recommended way to install the latest version of Mage is through Docker with the following command:

docker pull mageai/mageai:latest

You can also install Mage using pip or conda, though this may cause dependency issues without the proper environment.

pip install mage-ai
conda install -c conda-forge mage-ai

Looking for help? The fastest way to get started is by checking out our documentation here.

Looking for quick examples? Open a demo project right in your browser or check out our guides.

๐ŸŽฎ Demo

Live demo

Build and run a data pipeline with our demo app.

WARNING

The live demo is public to everyone, please donโ€™t save anything sensitive (e.g. passwords, secrets, etc).

Demo video (5 min)

Mage quick start demo

Click the image to play video


๐Ÿ”ฎ Features

๐ŸŽถ Orchestration Schedule and manage data pipelines with observability.
๐Ÿ““ Notebook Interactive Python, SQL, & R editor for coding data pipelines.
๐Ÿ—๏ธ Data integrations Synchronize data from 3rd party sources to your internal destinations.
๐Ÿšฐ Streaming pipelines Ingest and transform real-time data.
โŽ dbt Build, run, and manage your dbt models with Mage.

A sample data pipeline defined across 3 files โž


  1. Load data โž
    @data_loader
    def load_csv_from_file() -> pl.DataFrame:
        return pl.read_csv('default_repo/titanic.csv')
  2. Transform data โž
    @transformer
    def select_columns_from_df(df: pl.DataFrame, *args) -> pl.DataFrame:
        return df[['Age', 'Fare', 'Survived']]
  3. Export data โž
    @data_exporter
    def export_titanic_data_to_disk(df: pl.DataFrame) -> None:
        df.to_csv('default_repo/titanic_transformed.csv')

Water mage casting spell

About

๐Ÿง™ Build, run, and manage data pipelines for integrating and transforming data.

https://www.mage.ai

License:Apache License 2.0


Languages

Language:Python 53.4%Language:TypeScript 36.3%Language:HTML 8.5%Language:CSS 0.7%Language:SCSS 0.5%Language:JavaScript 0.2%Language:Shell 0.1%Language:Dockerfile 0.1%Language:Jinja 0.1%Language:Jupyter Notebook 0.1%Language:Mako 0.0%Language:Makefile 0.0%Language:R 0.0%