Metadata-Version: 2.5
Name: certone-jupyter
Version: 0.2.1
Summary: CertOne Jupyter plugin: confidential scans from a notebook, plus the inline compliance recommender.
Project-URL: Homepage, https://certkor.ai
Project-URL: Source, https://github.com/certkor/certone
Author: Certkor AI
License: Proprietary
Requires-Python: >=3.10
Requires-Dist: certone-sdk>=0.2.1
Requires-Dist: ipython>=8.0
Provides-Extra: dev
Requires-Dist: mypy>=1.11; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Provides-Extra: recommendations
Requires-Dist: certone-engine>=0.1.0; extra == 'recommendations'
Description-Content-Type: text/markdown

# CertOne Jupyter plugin

Confidential CertOne scans and the inline compliance recommender as IPython magics, for data scientists who work in
JupyterLab / Notebook / VS Code notebooks.

## Install

```bash
pip install certone-jupyter
```

## Use

Produce recommendations from a compliance report (the engine ships the `certone` CLI):

```bash
certone check . --pack packs/iso-42001-core -o certone-report.json
certone correct certone-report.json --recommend jupyter --recommend-out certone-recommendations.json
```

Then, in a notebook cell:

```python
%load_ext certone_jupyter
%certone_recommendations                  # reads ./certone-recommendations.json
%certone_recommendations path/to/recs.json
```

Each compliance issue renders inline (severity, location, policy + regulatory basis, the verifier's
decision); an **approved** fix additionally shows the patch to apply. A plain function is available
for non-magic use:

```python
from certone_jupyter import show_recommendations

show_recommendations()
```

## Publish (maintainers)

```bash
python -m build                          # wheel + sdist in dist/
python -m twine upload dist/*            # to PyPI (so customers can `pip install certone-jupyter`)
```
