Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

⚠️ DEPRECATION NOTICE / AVVISO DI DEPRECAZIONE

English: This package (akoma2md) is deprecated. Please use normattiva2md instead.

Italiano: Questo pacchetto (akoma2md) è deprecato. Si prega di usare normattiva2md al suo posto.


Migration / Migrazione

Old / Vecchio:

pip install akoma2md

New / Nuovo:

pip install normattiva2md

Both CLI commands (akoma2md and normattiva2md) are available in the new package.

Entrambi i comandi CLI (akoma2md e normattiva2md) sono disponibili nel nuovo pacchetto.


Why the change? / Perché il cambiamento?

The package has been renamed to normattiva2md to better reflect its purpose and align with the project repository name. The new name is more descriptive and follows Python naming conventions.

Il pacchetto è stato rinominato in normattiva2md per riflettere meglio il suo scopo e allinearlo con il nome del repository del progetto. Il nuovo nome è più descrittivo e segue le convenzioni di denominazione Python.


Full Documentation / Documentazione Completa

Please visit the new package page for full documentation:

Per la documentazione completa, visitare la pagina del nuovo pacchetto:

📦 PyPI: https://pypi.org/project/normattiva2md/

📖 GitHub: https://github.com/ondata/normattiva_2_md


normattiva2md

Convertitore da XML Akoma Ntoso (formato Normattiva.it) a Markdown, con funzionalità avanzate:

  • ✅ Conversione da file XML locale o URL normattiva.it
  • 🔍 Ricerca in linguaggio naturale con AI (Exa API)
  • 🔗 Download automatico delle leggi citate con --with-references
  • 📝 Generazione link markdown agli articoli citati con --with-urls
  • 🎯 Estrazione di singoli articoli da URL specifici
  • 🚀 Architettura modulare per facile manutenzione ed estensione

Installation / Installazione

# Use the new package / Usa il nuovo pacchetto
pip install normattiva2md

Quick Start / Avvio Rapido

# Convert from URL / Converti da URL
normattiva2md "https://www.normattiva.it/uri-res/N2Ls?urn:nir:stato:legge:2005-03-07;82" output.md

# Natural language search / Ricerca in linguaggio naturale
normattiva2md -s "codice amministrazione digitale" --auto-select -o output.md

# Download with references / Scarica con riferimenti
normattiva2md --with-references "URL" output_dir/

For more examples and documentation, visit the main package page.

Per altri esempi e documentazione, visita la pagina del pacchetto principale.


Last update of akoma2md: v2.0.19 (December 2025)

Ultimo aggiornamento di akoma2md: v2.0.19 (Dicembre 2025)

Future updates will only be published to normattiva2md.

Gli aggiornamenti futuri saranno pubblicati solo su normattiva2md.

Metadata

Release files for akoma2md 2.0.21

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

Source distribution (sdist)

Source distribution for akoma2md 2.0.21
File Size Uploaded
akoma2md-2.0.21.tar.gz 490.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for akoma2md 2.0.21
File Interpreter ABI Platform
akoma2md-2.0.21-py3-none-any.whl Python 3 none any Details

Total release size: 519.9 kB

Release files / akoma2md-2.0.21.tar.gz

Download URL akoma2md-2.0.21.tar.gz
Size 490.3 kB
Tags Source
SHA-256 checksum
How to use checksums
597274b4624c270c8c259992aab61adcce91be7ad6cb2e166ed04d63790709ab
BLAKE2b-256 checksum
How to use checksums
12935855c7fa2e91e2d7e2a901633cd232c99628474c640ee495ed2c2857358a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / akoma2md-2.0.21-py3-none-any.whl

Download URL akoma2md-2.0.21-py3-none-any.whl
Size 29.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2768789c4323845142cf2d68562957b21cd51c7cb134848c6ce77eb9ccc0cf6
BLAKE2b-256 checksum
How to use checksums
adb3cfac41bb3c15ae094acc7053075606758fd1634a99d4d9ba890e7aa520e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

2.0.21 This release

2 release files

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