Skip to main content

MiCAR Whitepaper Linter

CI License: MIT Python >=3.13

Flag missing and thin disclosures in draft MiCAR white papers before substantive legal review, using deterministic Annex I, II and III checks with pinpoint citations.

A deterministic Python linter for draft white papers under MiCAR (Regulation (EU) 2023/1114). It checks Annex I, II and III requirements as code, accepts JSON, XHTML (incl. numbered-field iXBRL layouts) and DOCX, and runs as a CLI, a GitHub Action, or in your browser.

Review-gated first-pass tooling. It flags candidate gaps for a lawyer; it does not decide whether a white paper is lawful or complete. Not legal advice. Bundled examples are synthetic.

Quick start

From PyPI (Python 3.13+). One command, no install (needs uv):

uvx micar-whitepaper-linter your-draft.json

Or install the micar-lint command:

pip install micar-whitepaper-linter
micar-lint your-draft.json

From a clone of this repository (requires Python 3.13+, uv and make):

make install   # uv sync --extra dev
make demo      # lint examples/incomplete.json, a synthetic ART draft with open blockers

DOCX, review bundles and options: full quick start.

Example output

Real output of uv run micar-lint examples/incomplete.json (a synthetic, deliberately incomplete ART draft), first two findings only:

MiCAR Whitepaper Linter - Incomplete Synthetic EuroStable ART Draft
Whitepaper type: ART
==============================================================================
Pass: 0  |  Review: 12  |  Missing: 8  |  Blockers: 15

[REVIEW] [BLOCKER] COMMON.SUMMARY  Plain-language summary
           Cite:  Art. 6(7), Art. 19(6), Art. 51(6) MiCAR
           Text:  https://eur-lex.europa.eu/eli/reg/2023/1114/oj/eng
           Section: 'summary'  (4 words)
           -  Section is thin: 4 words, expected at least 80.
           -  Missing review terms: summary, key information.

[MISS  ] [BLOCKER] COMMON.RISK_WARNING  Mandatory risk warning statement
           Cite:  Art. 6(5), Art. 19(4), Art. 51(4) MiCAR
           Text:  https://eur-lex.europa.eu/eli/reg/2023/1114/oj/eng
           Section: 'risk_warning'  (0 words)
           -  Section is empty or absent.
...

Metadata

Release files for micar-whitepaper-linter 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for micar-whitepaper-linter 1.2.0
File Interpreter ABI Platform Actions
micar_whitepaper_linter-1.2.0-py3-none-any.whl Python 3 none any Details for micar_whitepaper_linter-1.2.0-py3-none-any.whl

Release files / micar_whitepaper_linter-1.2.0-py3-none-any.whl

Download URL micar_whitepaper_linter-1.2.0-py3-none-any.whl
Size 97.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
045ae287ceb2aedf44695fae856cf1f3bcde238c62c72006f8c1c6a353f28bc5
BLAKE2b-256 checksum
How to use checksums
1e4cd8ce489d4687922ee5705ec88979c55c2c5805b1751e0377cbab2d055538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for micar-whitepaper-linter 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page