Skip to main content

Mage is a tool 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 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
  7. Contributing
  8. Community

🏃‍♀️ 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

🔮 Features


📚 Documentation

Read more docs 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

Project details


Release history Release notifications | RSS feed

This version

0.4.1

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.4.1.tar.gz (6.2 MB view details)

Uploaded Source

Built Distribution

mage_ai-0.4.1-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mage-ai-0.4.1.tar.gz
  • Upload date:
  • Size: 6.2 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.4.1.tar.gz
Algorithm Hash digest
SHA256 9b40dcf4393b04a1815550546d5c8ef109b3b3034debe6406edfbaee4e6b7539
MD5 703925167b9e601210719dbe57bf1e84
BLAKE2b-256 ab8b132bc863594feb577b1be3895d10fc6ffb9effcdfacae9d72ba564520ac9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mage_ai-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8afcf005017cc1ee58cd61c5b17acc126bbfa50b5e11843237ba4e5bdca48f9c
MD5 eef50f7eb53ed971914eb432bc747d06
BLAKE2b-256 85c7fc46e070be01a1b2279bcadb429b1165dabc24f51c90b6d71a3fe96671f3

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