meetshah15 / mage-ai

๐Ÿง™ Mage is an open-source tool for building and running data pipelines that transform your data.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fire mage

PyPi mage-ai License Join Slack

Intro

Mage is an open-source tool for building and running data pipelines that transform your data.


Here is a sample data pipeline defined across 3 files:

# data_loaders/load_data_from_file.py
@data_loader
def load_csv_from_file():
    return pd.read_csv('default_repo/titanic.csv')
# transformers/select_columns.py
@transformer
def select_columns_from_df(df, *args):
    return df[['Age', 'Fare', 'Survived']]
# data_exporters/export_to_file.py
@data_exporter
def export_titanic_data_to_disk(df) -> None:
    df.to_csv('default_repo/titanic_transformed.csv')

What the data pipeline looks like in the UI:

data pipeline overview

New? We recommend reading about blocks and learning from a hands-on tutorial.


Join us on Slack

Table of contents

  1. Quick start
  2. Demo
  3. Tutorials
  4. Core design principles
  5. Features
  6. Documentation

๐Ÿƒโ€โ™€๏ธ Quick start

Install Mage using Docker or pip:

Using Docker

Create a new project and launch tool (change demo_project to any other name if you want):

docker run -it -p 6789:6789 -v $(pwd):/home/src \
  mageai/mageai mage start demo_project

Follow the guide if you want to use PySpark kernel in your notebook.

Using pip

1. Install Mage
pip install mage-ai

For additional packages (e.g. spark, postgres, etc), please see Installing extra packages.

If you run into errors, please see Install errors.

2. Create new project and launch tool (change demo_project to any other name if you want):
mage start demo_project

Open tool in browser

Open http://localhost:6789 in your browser and build a pipeline.


๐ŸŽฎ Demo

Live demo

Try a hosted version of the tool here: http://demo.mage.ai.

WARNING

The live demo is public, please donโ€™t save anything sensitive.

Demo video (2 min)

Mage quick start demo

Click the image to play video


๐Ÿ‘ฉโ€๐Ÿซ Tutorials


๐Ÿ”๏ธ Core design principles

Every user experience and technical design decision adheres to these principles.

  1. Easy developer experience
  2. Engineering best practices built-in
  3. Data is a first-class citizen
  4. Scaling made simple

Read more here.


๐Ÿ›ธ Core abstractions

These are the fundamental concepts that Mage uses to operate.

Read more here.


๐Ÿ”ฎ Features

Read more here.

Mage


๐Ÿ“š Documentation

Read more here.


๐Ÿ™‹โ€โ™€๏ธ Contributing

Check out the ๐ŸŽ contributing guide to get started by setting up your development environment and exploring the code base.


๐Ÿง™ Community

We love the community of Magers (/หˆmฤjษ™r/); a group of mages who help each other realize their full potential!

To live chat with the Mage team and community, please join the free Mage Slack Slack channel.

Join us on Slack

For real-time news and fun memes, check out the Mage Twitter Twitter.

To report bugs or add your awesome code for others to enjoy, visit GitHub.


๐Ÿชช License

See the LICENSE file for licensing information.

Water mage casting spell

About

๐Ÿง™ Mage is an open-source tool for building and running data pipelines that transform your data.

https://www.mage.ai/

License:Apache License 2.0


Languages

Language:TypeScript 53.6%Language:Python 39.3%Language:HTML 4.9%Language:CSS 0.6%Language:HCL 0.5%Language:Jupyter Notebook 0.4%Language:Jinja 0.3%Language:JavaScript 0.2%Language:Shell 0.2%Language:Dockerfile 0.1%Language:Mako 0.0%