Multimodal Access and Interactive Data Representations
Project description
py-maidr
Python binder for maidr library
Install and Upgrade
# install the latest release from PyPI
pip install -U maidr
# or install the development version from GitHub
pip install -U git+https://github.com/xability/py_maidr.git
LLM Configuration for Interactive Shell
To use OpenAI or Gemini Models along with the maidr library, follow the steps below:
- Signup and get the API Keys for OpenAI or Gemini Models.
- Add the keys to environment variables so that python binder can access the keys. (Note: This only temporarily adds keys in environment variable, for persistent access you might want to add the export command to your shell configuration)
Mac Configuration
export OPENAI_API_KEY="<< add you key here >>"
export GEMINI_API_KEY="<< add you key here >>"
Windows Configuration
setx OPENAI_API_KEY "<< add you key here >>"
setx GEMINI_API_KEY "<< add you key here >>"
- Run your python program.
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
maidr-0.10.2.tar.gz
(30.1 kB
view details)
Built Distribution
maidr-0.10.2-py3-none-any.whl
(40.5 kB
view details)
File details
Details for the file maidr-0.10.2.tar.gz
.
File metadata
- Download URL: maidr-0.10.2.tar.gz
- Upload date:
- Size: 30.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1574f5434699ed7605b867f450f250ef169bd4e01b9a956ea1b7fa2fadc4131a |
|
MD5 | c397abe709739dae2aa070481ab0d0c0 |
|
BLAKE2b-256 | d8d67f4f3695030ea0b5a6e3b77e3f6574a79802aea2af1f9abf6a7b6960261d |
File details
Details for the file maidr-0.10.2-py3-none-any.whl
.
File metadata
- Download URL: maidr-0.10.2-py3-none-any.whl
- Upload date:
- Size: 40.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c69aa68581fb1b461fbfee7537bad200318e31ef01c4d15372da1ae1152c5780 |
|
MD5 | 5f8d865d8a6d3f6084ef0355df15b0a9 |
|
BLAKE2b-256 | 957097225767558ca5e4e3b4372a6569185b6a0ea6a22b9f53082876a913f0a2 |