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
User Guide
Please visit the user guide page.
Offline and Restricted-Network Use
py-maidr loads its JavaScript from a CDN by default, and resolves the current published version so browsers cannot serve a stale cached copy. That costs one bounded outbound request, the first time a plot is rendered. import maidr itself makes no request.
If you work air-gapped, behind a proxy, or in CI:
export MAIDR_CDN_VERSION=bundled # serve the version in this wheel, no lookup
export MAIDR_USE_CDN=false # or skip the CDN entirely
bundled is usually the best choice for restricted networks: it emits an immutable
CDN URL — so browser caching still works correctly — without contacting anything.
It is also the only one of the two that covers Altair charts: the Altair adapter
has no offline path and always references the CDN, so MAIDR_USE_CDN=false does not
apply to it, while MAIDR_CDN_VERSION=bundled still removes the lookup.
See Offline Use and the JavaScript Bundle for the full set of options.
Example Code
We provide some example code for using py-maidr with matplotlib, seaborn, Jupyter Notebook, Quarto, Shiny, and Streamlit.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maidr-1.20.0.tar.gz.
File metadata
- Download URL: maidr-1.20.0.tar.gz
- Upload date:
- Size: 838.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82447be6edf874efb8d80f9695f3e27fee32f1b46c2a65a250a4c829211b9f8e
|
|
| MD5 |
ff0ba96ee6f14ea906a4611c193a8a96
|
|
| BLAKE2b-256 |
3653ff986cd63567fad60e02f6b3977579e4dcdaed3776c70f49f0896ae87cf1
|
File details
Details for the file maidr-1.20.0-py3-none-any.whl.
File metadata
- Download URL: maidr-1.20.0-py3-none-any.whl
- Upload date:
- Size: 885.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e025a74a800665790b7ce3c5a5ee638d9353a6f8a7859fa4d16603f234c462b
|
|
| MD5 |
b719226ee292db3e4ac675d7b6f68e8b
|
|
| BLAKE2b-256 |
bad0e2057578a81ec7bfc97419298d67a021ced96fcbc60cbbe76bc29470eb49
|