MiCAR Whitepaper Linter
Flag missing and thin disclosures in draft MiCAR white papers before substantive legal review, using deterministic Annex I, II and III checks with citations.
A deterministic Python linter for draft white papers under MiCAR (Regulation (EU) 2023/1114). It checks required sections for presence, length and keywords (or a date or language), accepts JSON, XHTML or HTML (incl. numbered-field iXBRL layouts), DOCX, PDF and Markdown, and runs as a CLI, a GitHub Action, or in your browser (JSON, (X)HTML).
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 (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, incomplete ART draft), first two findings only:
MiCAR Whitepaper Linter - Incomplete Synthetic EuroStable ART Draft
Whitepaper type: ART
==============================================================================
Pass: 1 | Review: 13 | Missing: 7 | Blockers: 16
[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.
...
Links
- Browser playground and screenshot of the full example output (text)
- Full usage, features, reviewer route, redline bundles · Setup · Features · Architecture · Rule extension guide · Sample review bundle · Launch readiness
- Study protocol · Contributing · Security · Privacy
- Overview: audience, limits, pilot study, related tools
Metadata
Release files for micar-whitepaper-linter 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| micar_whitepaper_linter-1.3.0.tar.gz | 2.3 MB | Without provenance | Details for micar_whitepaper_linter-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| micar_whitepaper_linter-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for micar_whitepaper_linter-1.3.0-py3-none-any.whl |
Total release size: 2.5 MB
Release files / micar_whitepaper_linter-1.3.0.tar.gz
| Download URL | micar_whitepaper_linter-1.3.0.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f3d805c4aee3f5312656bb2e63efd2690a4918a59829ae6ae6bf3fbc8183837
|
|
BLAKE2b-256 checksum How to use checksums |
e6bb2531f78d0fd4a3d053dd38da8cf84e6da6484932ecc2cf95ea79674dbbca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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}
|
Release files / micar_whitepaper_linter-1.3.0-py3-none-any.whl
| Download URL | micar_whitepaper_linter-1.3.0-py3-none-any.whl |
|---|---|
| Size | 238.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da4db9339b8da516e5ed0ca2983c5d282e80027937ade459810b5aafc3d0dc9a
|
|
BLAKE2b-256 checksum How to use checksums |
760b09c5007e01e54cd4008c70acd568c3ddef47159a808cfa22508f568a9972
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.3.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.