skillfed

udapi

Python framework for processing Universal Dependencies data

udapi v0.5.2 248.2K downloads/30d#8,673 on PyPI58
Copyleft license GPL-3.0-or-later Active released

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 udapi

uv

uv add udapi

poetry

poetry add udapi

Installing 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

Operating System :: OS IndependentProgramming Language :: Python :: 3

Tags

universal dependencies processingconll-u treebank parserlinguistic dependency treesnlp treebank frameworkud format data manipulationsyntactic tree processinglinguistic corpus tools
nlplinguisticsdependency-parsing

More Linguistic packages