Maidr

Latest version: v0.10.6

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.9.1

Bug Fixes

- Address an issue where rendered result is not displayed when ipy…
([114](https://github.com/xability/py-maidr/pull/114),
[`ccb1ae4`](https://github.com/xability/py-maidr/commit/ccb1ae42d4cefb9ad6962ea2fe10813745405602))

Chores

- **semantic-release**: Update `exclude_commit_patterns` in pyproject.toml to clean up CHANGELOG
([`794816d`](https://github.com/xability/py-maidr/commit/794816d27d1289e6d8904a12ff06e077c1616b85))

Documentation

- **example**: Update ipynb to exclude inline rendering
([113](https://github.com/xability/py-maidr/pull/113),
[`c6ee419`](https://github.com/xability/py-maidr/commit/c6ee419c3bfb28c48f80b9715eb177fd4a67c89f))

0.9.0

Chores

- Refactor ([95](https://github.com/xability/py-maidr/pull/95),
[`63b7f3f`](https://github.com/xability/py-maidr/commit/63b7f3fb791e7945d54ad6cdf73a7054ab5b7bea))

- Refactor ([96](https://github.com/xability/py-maidr/pull/96),
[`a37b0f1`](https://github.com/xability/py-maidr/commit/a37b0f1a0ef1ea79483a5cd06b32dcb43c837cfa))

- **vscode**: Add a missing space to window title format in `.vscode/settings.json`
([`aa739d3`](https://github.com/xability/py-maidr/commit/aa739d3111b3dcaadc50fc940ae1cbf57b65af67))

- **vscode**: Add Copilot instructions for coding style and documentation
([`b7037d8`](https://github.com/xability/py-maidr/commit/b7037d83a1e4485f178a26951d5187247602689b))

- **vscode**: Refine Copilot instruction
([`f049b44`](https://github.com/xability/py-maidr/commit/f049b441ab980c6e9a1c3f9a47ff7c16ecffe836))

Continuous Integration

- Sort out semantic release config to display `feat` and `fix` first in the release notes
([`529c721`](https://github.com/xability/py-maidr/commit/529c721b6d0b70e5bfb6d2d46c40991027502ff2))

- **semantic-release**: Exclude non-conventional commits from `CHANGELOG`
([106](https://github.com/xability/py-maidr/pull/106),
[`d40a95c`](https://github.com/xability/py-maidr/commit/d40a95c1d380a43553328e246025faea760f5e04))

This pull request updates the `exclude_commit_patterns` in the `pyproject.toml` file. The previous
commits that don't match the conventional commits prefixes and internal changes that do not
necessarily affect end-user interactions, such as `chore`, `ci`, and `style`, are excluded from
our CHANGELOG and GitHub release note moving forward. This is not a direct fix, but after this
change, it ensures that only relevant commits are included in the release changelog as a fair
stopgap solution.

Closes 99

Documentation

- **example**: Add `streamlit` dashboard demo with `maidr`
([107](https://github.com/xability/py-maidr/pull/107),
[`ae7bc15`](https://github.com/xability/py-maidr/commit/ae7bc15fabe2927c3377402eb4dbf4646dbe5806))

<!-- Suggested PR Title: [feat/fix/refactor/perf/test/ci/docs/chore] brief description of the change
--> <!-- Please follow Conventional Commits: https://www.conventionalcommits.org/en/v1.0.0/ -->

Description This PR includes an example streamlit web app to demonstrate interactivity
capabilities with maidr.

closes 84

Type of Change

- [ ] Bug fix - [ ] New feature - [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected) - [x] Documentation update

Checklist

- [x] My code follows the style guidelines of this project - [x] I have performed a self-review of
my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have made
corresponding changes to the documentation - [x] My changes generate no new warnings - [x] Any
dependent changes have been merged and published in downstream modules

Pull Request

Description Added a new file `example_streamlit_app.py` under streamlit folder in example
directory.

Screenshots (if applicable) <img width="1964" alt="image"
src="https://github.com/user-attachments/assets/bf3b5630-2e71-4057-87ad-5b9ca0940769">

Features

- Fetch LLM API keys from user env variables ([102](https://github.com/xability/py-maidr/pull/102),
[`fc84593`](https://github.com/xability/py-maidr/commit/fc84593a9b01904d24fd86da88f79e25db02417a))

<!-- Suggested PR Title: [feat/fix/refactor/perf/test/ci/docs/chore] brief description of the change
--> <!-- Please follow Conventional Commits: https://www.conventionalcommits.org/en/v1.0.0/ -->

Description This pull request fixes the handling of API keys for LLMs in the code. It adds a
JavaScript script to handle the API keys for LLMs and initializes the LLM secrets in the MAIDR
instance. The script injects the LLM API keys into the MAIDR instance and sets the appropriate
settings based on the presence of the Gemini and OpenAI API keys. This ensures that the LLM
functionality works correctly with the updated API key handling.

closes 76

Type of Change

- [x] Bug fix - [ ] New feature - [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected) - [ ] Documentation update

Checklist

- [x] My code follows the style guidelines of this project - [x] I have performed a self-review of
my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have made
corresponding changes to the documentation - [x] My changes generate no new warnings - [x] Any
dependent changes have been merged and published in downstream modules

Pull Request

Description 1. Added a new method called `initialize_llm_secrets()` in environment.py which
fetches the keys from the environment variable. 2. Injected the script when the maidr iframe loads
initially.

Checklist <!-- Please select all applicable options. --> <!-- To select your options, please put
an 'x' in the all boxes that apply. -->

- [x] I have read the [Contributor Guidelines](../CONTRIBUTING.md). - [x] I have performed a
self-review of my own code and ensured it follows the project's coding standards. - [x] I have
tested the changes locally following `ManualTestingProcess.md`, and all tests related to this pull
request pass. - [x] I have commented my code, particularly in hard-to-understand areas. - [x] I
have updated the documentation, if applicable. - [x] I have added appropriate unit tests, if
applicable.

Additional Notes <!-- Add any additional notes or comments here. --> <!-- Template credit: This
pull request template is based on Embedded Artistry
{https://github.com/embeddedartistry/templates/blob/master/.github/PULL_REQUEST_TEMPLATE.md},
Clowder
{https://github.com/clowder-framework/clowder/blob/develop/.github/PULL_REQUEST_TEMPLATE.md}, and
TalAter {https://github.com/TalAter/open-source-templates} templates. -->

0.8.0

Build System

- Move `black` formatter to `dev` dependencies
([`ca460b4`](https://github.com/xability/py-maidr/commit/ca460b4cca26418bee3cab2ce4949b96d5e60147))

- Remove `sphinx` from package dev dependencies
([`41f61a9`](https://github.com/xability/py-maidr/commit/41f61a915d9b3dea27419d984c8cd9408de794d5))

Chores

- Clean up messy CHANGELOG
([`20785a8`](https://github.com/xability/py-maidr/commit/20785a8b95ff17132c900dc96035814d34821974))

- Hide `chore` and `ci` updates from future release notes
([`e886067`](https://github.com/xability/py-maidr/commit/e88606736a9b9a481b5aa463e7231ca83f63521f))

- Update `poetry.lock`
([`ac89fd7`](https://github.com/xability/py-maidr/commit/ac89fd78d5df129caeef3c57518463a6812cf4fb))

Features

- Pick up seaborn heatmap fmt towards maidr ([90](https://github.com/xability/py-maidr/pull/90),
[`fb5dde0`](https://github.com/xability/py-maidr/commit/fb5dde0c7b2d65f6649342ff5474f032e4e36bae))

0.7.0

Continuous Integration

- Rectify commit-lint job crash ([92](https://github.com/xability/py-maidr/pull/92),
[`ae50904`](https://github.com/xability/py-maidr/commit/ae509047d6063e2cebc291c94b72281f00fa3617))

<!-- Suggested PR Title: [feat/fix/refactor/perf/test/ci/docs/chore] brief description of the change
--> <!-- Please follow Conventional Commits: https://www.conventionalcommits.org/en/v1.0.0/ -->

Description

This PR resolves an issue related to the `commit-lint` job in `.github/workflows/ci.yml`.

Closes [91]

Type of Change

- [X] Bug fix - [ ] New feature - [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected) - [ ] Documentation update

Checklist

- [X] My code follows the style guidelines of this project - [X] I have performed a self-review of
my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made
corresponding changes to the documentation - [X] My changes generate no new warnings - [ ] Any
dependent changes have been merged and published in downstream modules

Pull Request

Description This PR addresses an issue where `commit-lint` job crashes when validating pull
requests.

Changes Made Currently, the commitlint config file is getting loaded as an ES module whilst it
contains vanilla javascript configurations. This causes the job to crash because it expects a
common javascript config but finds an ES module config. To address this issue The commit-lint
config file has been changed to a `common-js` file instead of a `js` file and the conventional
commit dependancy will now be installed during the job via npm.

Screenshots (if applicable) After making the changes, I tested the commit-lint job locally and
here is an excerpt of the execution: (py-maidr) ➜ py_maidr git:(Krishna/fix-commitlint) act -j
commit-lint -W .github/workflows/ci.yml --container-architecture linux/amd64

INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket
'unix:///var/run/docker.sock' [CI/commit-lint] 🚀 Start image=catthehacker/ubuntu:act-latest
INFO[0000] Parallel tasks (0) below minimum, setting to 1 [CI/commit-lint] 🐳 docker pull
image=catthehacker/ubuntu:act-latest platform=linux/amd64 username= forcePull=true
[CI/commit-lint] using DockerAuthConfig authentication for docker pull INFO[0001] Parallel tasks
(0) below minimum, setting to 1 [CI/commit-lint] 🐳 docker create
image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"]
cmd=[] network="host" [CI/commit-lint] 🐳 docker run image=catthehacker/ubuntu:act-latest
platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [CI/commit-lint] ☁
git clone 'https://github.com/wagoid/commitlint-github-action' # ref=v6 [CI/commit-lint] ⭐ Run
Main actions/checkoutv3 [CI/commit-lint] 🐳 docker cp
src=/Users/krishnaanandan/Desktop/maidr_krishna/py_maidr/.
dst=/Users/krishnaanandan/Desktop/maidr_krishna/py_maidr [CI/commit-lint] ✅ Success - Main
actions/checkoutv3 [CI/commit-lint] ⭐ Run Main Install commitlint dependencies [CI/commit-lint] 🐳
docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1] user= workdir= |
| added 11 packages in 3s | | 1 package is looking for funding | run `npm fund` for details
[CI/commit-lint] ✅ Success - Main Install commitlint dependencies [CI/commit-lint] ⭐ Run Main Lint
commit messages [CI/commit-lint] 🐳 docker pull image=wagoid/commitlint-github-action:6.1.1
platform=linux/amd64 username= forcePull=true [CI/commit-lint] using DockerAuthConfig
authentication for docker pull [CI/commit-lint] 🐳 docker create
image=wagoid/commitlint-github-action:6.1.1 platform=linux/amd64 entrypoint=[] cmd=[]
network="container:act-CI-commit-lint-6b355268bbbb8e27234c3c935b66fc686b070544b9a3b02b47d79688837a12ff"
[CI/commit-lint] 🐳 docker run image=wagoid/commitlint-github-action:6.1.1 platform=linux/amd64
entrypoint=[] cmd=[]
network="container:act-CI-commit-lint-6b355268bbbb8e27234c3c935b66fc686b070544b9a3b02b47d79688837a12ff"
| Lint free! 🎉 [CI/commit-lint] ✅ Success - Main Lint commit messages [CI/commit-lint] ⚙
::set-output:: results=[] [CI/commit-lint] Cleaning up container for job commit-lint
[CI/commit-lint] 🏁 Job succeeded (py-maidr) ➜ py_maidr git:(Krishna/fix-commitlint)

Checklist <!-- Please select all applicable options. --> <!-- To select your options, please put
an 'x' in the all boxes that apply. -->

- [X] I have read the [Contributor Guidelines](../CONTRIBUTING.md). - [X] I have performed a
self-review of my own code and ensured it follows the project's coding standards. - [X] I have
tested the changes locally following `ManualTestingProcess.md`, and all tests related to this pull
request pass. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I
have updated the documentation, if applicable. - [ ] I have added appropriate unit tests, if
applicable.

- **commitlint**: Disable commitlint line length and total length checking
([87](https://github.com/xability/py-maidr/pull/87),
[`3f718a7`](https://github.com/xability/py-maidr/commit/3f718a7dd12c9569ef63c9318d120d00650b5995))

closes 86

Features

- **maidr.show**: Support py-shiny renderer ([67](https://github.com/xability/py-maidr/pull/67),
[`a944826`](https://github.com/xability/py-maidr/commit/a9448263f413246213bfc2bedf8d859b3cf74695))

0.6.0

Chores

- Add bug report and feature request templates ([81](https://github.com/xability/py-maidr/pull/81),
[`5af72c2`](https://github.com/xability/py-maidr/commit/5af72c2cc1f01f4b1b1d1ac1944ed06c789891d8))

Added bug report and feature request templates to improve the issue creation process. These
templates provide a standardized structure for reporting bugs and requesting new features, making
it easier for contributors to provide clear and concise information. This will help streamline the
issue triage and resolution process.

The bug report template includes sections for describing the bug, steps to reproduce, actual and
expected behavior, screenshots, and additional information. The feature request template includes
sections for describing the requested feature, motivation, proposed solution, and additional
context.

This commit follows the established commit message convention of starting with a verb in the
imperative form, followed by a brief description of the change. It also includes a type prefix
("feat") to indicate that it is a new feature.

closes 80

- **vscode**: Update shiny extension
([`483a075`](https://github.com/xability/py-maidr/commit/483a0758a68960de0670e36c312cfbc1ee90c110))

Continuous Integration

- Add repo name condidtion to docs workflow ([75](https://github.com/xability/py-maidr/pull/75),
[`0fb17e9`](https://github.com/xability/py-maidr/commit/0fb17e9c86d92d29b315dd3af254ae187a853abb))

Features

- Support interactivity within ipython and quarto
([64](https://github.com/xability/py-maidr/pull/64),
[`620ddc9`](https://github.com/xability/py-maidr/commit/620ddc9d57175d5ca663d9dfaef4d2704809462f))

0.5.1

Bug Fixes

- Update poetry.lock ([74](https://github.com/xability/py-maidr/pull/74),
[`6216959`](https://github.com/xability/py-maidr/commit/621695940075fe195b0310c544c117bdc5a9d35e))

Chores

- **vscode**: Update settings to use numpy docstring
([`e9b0c4d`](https://github.com/xability/py-maidr/commit/e9b0c4d08eacdb4d9e40e46ffd74e13799da42d7))

Continuous Integration

- Fixate python version in docs action ([71](https://github.com/xability/py-maidr/pull/71),
[`c0f981a`](https://github.com/xability/py-maidr/commit/c0f981a1d3741709c929af1d8616b39313501c62))

- Fixate python version in docs action (71) ([72](https://github.com/xability/py-maidr/pull/72),
[`513780d`](https://github.com/xability/py-maidr/commit/513780d732ea2feb3890ace6c7028ebf5f193b17))

- Remove poetry.lock ([73](https://github.com/xability/py-maidr/pull/73),
[`da1cd26`](https://github.com/xability/py-maidr/commit/da1cd26d8db10aabfe989a760e8df9a62a4bfe3a))

- Update poetry.lock ([70](https://github.com/xability/py-maidr/pull/70),
[`87ffb06`](https://github.com/xability/py-maidr/commit/87ffb06d49f4062a35f5ebee0fa0e28265ceeec5))

- Upgrade quartodoc version ([62](https://github.com/xability/py-maidr/pull/62),
[`36fe34f`](https://github.com/xability/py-maidr/commit/36fe34fe52abca4be8e2101a10b76d887cd17bf2))

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.