Skip to main content

Mage is a notebook for building and deploying data pipelines.

Project description

PyPi mage-ai License Join Slack

Intro

Fire mage

Mage is an open-source tool for building and deploying data pipelines.

Here is a sample data pipeline defined across 3 files:

# data_loaders/load_data_from_file.py
import pandas as pd


@data_loader
def load_data():
    return pd.read_csv('default_repo/titanic.csv')
# transformers/select_columns.py
@transformer
def transform_df(df, *args):
    return df[['Age', 'Fare', 'Survived']]
# data_exporters/export_to_file.py
@data_exporter
def export_data(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 video
  3. Tutorials
  4. Features
  5. Documentation
  6. Contributing
  7. Community

🏃‍♀️ Quick start

You can 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

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

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 http://localhost:6789 in your browser and build a pipeline.


🎮 Demo video (2 min)

Mage quick start demo

Click the image to play video


👩‍🏫 Tutorials


🔮 Features

Mage


📚 Documentation

Read more docs here.


🙋‍♀️ Contributing

We welcome all contributions to Mage; from small UI enhancements to brand new cleaning actions. We love seeing community members level up and give people power-ups!

Check out the 🎁 contributing guide to get started by setting up your development environment and exploring the code base.

Got questions? Live chat with us in Slack Slack

Anything you contribute, the Mage team and community will maintain. We’re in it together!


🧙 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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mage-ai-0.3.3.tar.gz (6.1 MB view details)

Uploaded Source

Built Distribution

mage_ai-0.3.3-py3-none-any.whl (6.2 MB view details)

Uploaded Python 3

File details

Details for the file mage-ai-0.3.3.tar.gz.

File metadata

  • Download URL: mage-ai-0.3.3.tar.gz
  • Upload date:
  • Size: 6.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for mage-ai-0.3.3.tar.gz
Algorithm Hash digest
SHA256 ad983dec98b8cd18eef68ed62ae0f4fdb72dd96e44a46ae8b79011b7d1f3f473
MD5 1dfecc8f897217b8dadd863eef507ee2
BLAKE2b-256 1d589c37009720063cfcb1bbba7854baddeed2f02312186b6765989ac44ee1eb

See more details on using hashes here.

File details

Details for the file mage_ai-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: mage_ai-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 6.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for mage_ai-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 32859b6d83fcfd3ee70cb1b4ea1657cebbb243c89f10a574c40ad6673f1beb24
MD5 12f4cd6cae493cee86866cc5e2b960a0
BLAKE2b-256 a810ae46d449a4c9a924b041dc720d67b2bb594ff134a0cad8613e754b3cd53e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page