Autoviz API by Max Cembalest
Project description
Maxplotlib
Autovisualization API
Example:
maxplotlib "textbook-quality art with sine and cosine waves"
Option 1 | Option 2 |
Option 3 | Option 4 |
General:
maxplotlib prompt --output=optional_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?
Llama 3.1 (implemented in mlx_lm
) generates matplotlib
python scripts which are executed to produce images for 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.
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
Built Distribution
File details
Details for the file maxplotlib-0.1.8.tar.gz
.
File metadata
- Download URL: maxplotlib-0.1.8.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e48c53596704791e8f7d849c5d57416c923976bdb0c25bc9b3044968dbc37c94 |
|
MD5 | 2eb81f2d41de9046b2d18ce59d5d629c |
|
BLAKE2b-256 | 826278d2c11d9a15a43343056fedef8e418ed1a005c064db1f6554761f6baf09 |
File details
Details for the file maxplotlib-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: maxplotlib-0.1.8-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84ba7a7c9495f471538da7d10d9cbcdfbc7917f83a5aec6b6a3b455b296861ed |
|
MD5 | abea1cd026d765744eb910f1e2ae11cc |
|
BLAKE2b-256 | 6a326aee95fb36278fc1e44c9a1e6095262024e16ec3ab791423a044be95f8a3 |