udapi
Python framework for processing Universal Dependencies data
What it is and what it does
Udapi is a Python framework designed for working with Universal Dependencies (UD) treebanks—standardized linguistic datasets that encode syntactic dependency structures for many languages. It provides tools to read, write, and manipulate UD data in CoNLL-U format, the standard interchange format for dependency trees. The framework is built on colorama and termcolor for terminal output and includes a command-line tool (udapy) for scripting common UD processing tasks.
Developers use Udapi to build NLP pipelines that analyze or transform syntactic structures, validate treebank data, or extract linguistic information from dependency trees. It's actively maintained, supports current Python versions, and integrates optionally with ufal.udpipe for parsing. The project is part of the broader UD ecosystem and is suitable for linguistic research, corpus annotation, and dependency-based NLP work.
Use it for:
- Validate and clean Universal Dependencies treebank data before publication or use in training linguistic models.
- Extract syntactic patterns or linguistic features from UD-formatted corpora for linguistic analysis.
- Build custom NLP pipelines that read UD trees and transform or annotate them with additional linguistic information.
- Integrate UD parsing into larger language processing workflows using the optional ufal.udpipe parser.
- Automate batch processing of UD data across multiple treebanks or languages via the udapy command-line interface.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Udapi is a Python framework for reading, processing, and manipulating Universal Dependencies treebank data in CoNLL-U format.
Yes, if you work with Universal Dependencies treebanks or need to process CoNLL-U formatted linguistic data. The framework is actively maintained, has low install friction, and integrates well into NLP pipelines. The GPL-3.0-or-later license is suitable for research and open-source projects but requires review if used in proprietary software. No known vulnerabilities.
Install
udapi on PyPI
pip
pip install udapiuv
uv add udapipoetry
poetry add udapiInstalling udapi
Before you install
Low friction installation via pip; active maintenance with recent commits and a stable release history since 2017. Requires Python 3.9 or higher.
License in practice
GPL-3.0-or-later copyleft license: any derivative work or distribution must also be open-source under GPL-compatible terms. Suitable for research and open-source projects; check compatibility if integrating into proprietary software.
Quickstart
pip install udapi
import udapi
# Load and process UD data via the udapy command-line tool or programmatic API
Requires Python 3.9 or higher; optional ufal.udpipe parser requires separate installation for advanced parsing.
Verify before relying
- Whether ufal.udpipe integration is required for core functionality or optional for advanced parsing features.
- Performance characteristics and scalability limits for large treebank datasets.
- Availability and completeness of API documentation beyond the GitHub repository.
Package facts
| License | GPL-3.0-or-later (copyleft) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — colorama, termcolor |
| Maintenance | actively maintained — 151 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 248,173/month — #8,673 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: udapi-0.5.2-py3-none-any.whl
Tags
More Linguistic packages
Detects and normalizes text encoding from…
permissive · top 100 on PyPI
tiktokentiktoken is a fast BPE tokenizer that converts…
permissive · top 1,000 on PyPI
chardetDetects character encoding and language in byte…
permissive · top 1,000 on PyPI
text-unidecodeConverts Unicode text to ASCII by…
copyleft · top 1,000 on PyPI
larkLark is a parsing library that builds abstract…
permissive · top 1,000 on PyPI
tree-sitterPython bindings to the tree-sitter parsing…
permissive · top 1,000 on PyPI
udtoolsValidates CoNLL-U format files against…
copyleft · top 15,000 on PyPI
conlluParses CoNLL-U formatted text (a standard NLP…
unclear · top 15,000 on PyPI
lemminflectLemmatizes and inflects English words using…
permissive · top 15,000 on PyPI
simplemmaSimplemma converts inflected word forms to…
permissive · top 15,000 on PyPI
ginzaGiNZA is a Japanese NLP library that performs…
permissive · top 15,000 on PyPI
nltkNLTK is a Python library for natural language…
permissive · top 1,000 on PyPI
treeliteTreelite serializes and exchanges decision tree…
permissive · top 15,000 on PyPI
stanzaStanza is a Python NLP library that runs…
permissive · top 5,000 on PyPI
englishEnglish is a utility library providing English…
permissive · top 15,000 on PyPI
ubai-clientubai-client is a Python client for the…
unclear · top 15,000 on PyPI