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
maxplotlib-0.1.4.tar.gz
(16.1 kB
view hashes)
Built Distribution
maxplotlib-0.1.4-py3-none-any.whl
(16.1 kB
view hashes)
Close
Hashes for maxplotlib-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d8fb6e8ecd9d4ab3b3c0286f4f7328d533f5cb8616eaff4c242d757b0891b0f |
|
MD5 | cd14b28258226ddeecdc1de8816c6ec5 |
|
BLAKE2b-256 | 6c313e46022f3c2b9959945aadc166bcdc5063b51536db0b9f1b35b0bbb957ea |