Skip to main content

Python framework for processing Universal Dependencies data

Project description

udapi-python

Python framework for processing Universal Dependencies data

Build Status Website Documentation Status

Requirements

  • You need Python 3.6 or higher.
  • If the ufal.udpipe parser is needed, make sure you have a C++11 compiler (e.g. g++ 4.7 or newer) and install UDPipe with pip3 install --user --upgrade ufal.udpipe.

Install Udapi for developers

Let's clone the git repo to ~/udapi-python/, install dependencies and setup $PATH and $PYTHONPATH accordingly.

cd
git clone https://github.com/udapi/udapi-python.git
pip3 install --user -r udapi-python/requirements.txt
echo '## Use Udapi from ~/udapi-python/ ##'                >> ~/.bashrc
echo 'export PATH="$HOME/udapi-python/bin:$PATH"'          >> ~/.bashrc
echo 'export PYTHONPATH="$HOME/udapi-python/:$PYTHONPATH"' >> ~/.bashrc
source ~/.bashrc # or open new bash

Install Udapi for users

This is similar to the above, but installs Udapi from PyPI to the standard (user) Python paths.

pip3 install --user --upgrade udapi

Try udapy -h to check it is installed correctly. If it fails, make sure your PATH includes the directory where pip3 installed the udapy script. Usually, this results in

export PATH="$HOME/.local/bin/:$PATH"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

udapi-0.5.1.tar.gz (257.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

udapi-0.5.1-py3-none-any.whl (337.2 kB view details)

Uploaded Python 3

File details

Details for the file udapi-0.5.1.tar.gz.

File metadata

  • Download URL: udapi-0.5.1.tar.gz
  • Upload date:
  • Size: 257.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for udapi-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5f8db0c5e6a63108e0f2f8001970c3ecb8381da471509593393941259e44f44a
MD5 fbe2d72a14520753c4b88ebeba0e17e9
BLAKE2b-256 9315c929f9a49122af0395184402f5d038b3c7aa590157e5650ca20014d3ef70

See more details on using hashes here.

Provenance

The following attestation bundles were made for udapi-0.5.1.tar.gz:

Publisher: python-publish.yml on udapi/udapi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file udapi-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: udapi-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 337.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for udapi-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92b32fd7dbaaf2ce4ca6bbc6133778b698360aea6378e8c057621b352ae0f0d5
MD5 4bad6c24d61d0d8f7ae0a37a5223221b
BLAKE2b-256 c05718bff9f98e921e87695c141513ceecd6b55dcd00b2a5feb13a602f2ee508

See more details on using hashes here.

Provenance

The following attestation bundles were made for udapi-0.5.1-py3-none-any.whl:

Publisher: python-publish.yml on udapi/udapi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page