Check out the latest news for Nanome AI Early Access. Learn More
Back to Blog

MARA and Jupyter Notebook Integration

October 21, 2024

We are thrilled to announce a major new feature for our users: you can now harness the power of MARA directly within Jupyter Notebooks! This integration opens up exciting possibilities for users who want to leverage Jupyter's interactive environment while calling MARA to enhance data exploration, automation, and computational workflows.

What are Jupyter Notebooks?

Jupyter Notebooks have become a staple in data science, machine learning, and academic research due to their flexibility and interactive nature. At their core, Jupyter notebooks are an interactive computational environment that allows users to execute code, visualize outputs, and iterate on that code until they achieve their desired results.

MARA Installation Process for Jupyter Notebooks

Installation of python package

The first thing to do is to install the python package necessary. This can be done by following the GIF below.

Obtain your API key

Next you need to obtain your API key so you can securely call MARA through the Jupyter notebook. This can be done by following the steps below, or watch the GIF to see how to do it.

Go to MARA main page

  • Click on the user name on the lower left corner
  • Go to Settings
  • Switch to System Tab
  • Click on Create from the API Keys field
  • Obtain API key

Run Commands in jupyter notebook

Jupyter notebook.gif

Why Use MARA with Jupyter?

Integrating MARA with Jupyter Notebooks elevates your data workflow in several ways:

Seamless Integration - You no longer need to switch between environments or interfaces to run complex MARA tasks.

Enhanced Productivity - MARA takes over repetitive and computationally heavy processes, allowing you to focus on the insights and decisions that matter most.

Interactive Exploration - Jupyter’s notebook format allows you to tweak and rerun your code while MARA handles the backend processes, giving you immediate feedback and flexibility.

Collaboration and Sharing - Jupyter notebooks are a fantastic tool for collaboration. Your team can work together, see the code, the commands you’ve executed, and the results—all in one place.

Want to try this for yourself? Sign up here and receive 50 free credits!