Skip to main content

Autoviz API by Max Cembalest

Project description

Maxplotlib

1. Autovisualization API

text -> charts and graphs autovisualization API

Example:

plot "five circles like the olympics logo"

General:

plot description --output=folder

Setup

Make sure a server with a known IP address is on (see Server if you are doing this yourself).

pip install maxplotlib
export SERVER_IP=192.168....

How does it work?

Prompts Llama 3.1 (implemented in mlx_lm) to generate matplotlib python scripts. Executes those scripts, capturing the generated images in the process, and sends the images with metadata in the API response.

Server

Turning on a server allows other people to use your machine as a compute engine for maxplotlib API calls.

To turn on a server, install the requirements:

pip install 'maxplotlib[server]'

Then, navigate to the server directory and run the launch script:

cd src/server
./run_server

Once the server is on, remote maxplotlib API calls to your IP address will run on your machine.

2. Visualization functions

Python functions to produce visualizations for geospatial data, machine learning, & graph theory.

Project details


Download files

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

Source Distribution

maxplotlib-0.1.2.tar.gz (16.3 kB view hashes)

Uploaded Source

Built Distribution

maxplotlib-0.1.2-py3-none-any.whl (16.2 kB view hashes)

Uploaded Python 3

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