eldpy
Glossed examples from ELAN (.eaf) and FLEx (.flextext) files of language documentation: the sentences with their words, glosses and
translation, as the rows of a CLDF examples.csv, as CSV, or as LaTeX for langsci-gb4e.
pip install eldpy # installs langsci[elan,flex]: lxml, langdetect
eaf2cldf text.eaf --out out/ --latex examples # the commands come with langsci
flex2cldf texts.flextext --out out/
from eldpy import ElanFile, to_csv, to_tex
eaf = ElanFile("text.eaf")
eaf.populate(major_languages=("en",)) # the language(s) of the translation tier
rows = eaf.examples()
open("examples.csv", "w", encoding="utf-8").write(to_csv(rows))
open("examples.tex", "w", encoding="utf-8").write(to_tex(rows, output_type="examples"))
Python 3.11 or newer. The documentation of the options (tier types, sentence tier, sentences without glosses, languages) is in the
user guide of langsci.
Relation to langsci and to eldpy 0.0.x
Version 0.2 is a new start. The code is part of langsci (Language Science Press): langsci.elan,
langsci.flex, langsci.igt. It was rewritten from eldpy 0.0.x (see "Derived from" below); eldpy depends on it and gives it the name
that it had.
Not included any more: the download of files from the archives of the DELAMAN network (AILLA, ELAR, PARADISEC, TLA), the archive
reports and the corpus analysis of eldpy 0.0.x. Whoever needs them installs eldpy<0.1; that code is not maintained (the archives
changed their sites and protect them against crawlers).
Derived from eldpy 0.0.x (S. Nordhoff, MIT).
License
MIT, see LICENSE.
Metadata
Release files for eldpy 0.2.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 |
|---|---|---|---|---|
| eldpy-0.2.0.tar.gz | 3.3 kB | Without provenance | Details for eldpy-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eldpy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for eldpy-0.2.0-py3-none-any.whl |
Total release size: 6.8 kB
Release files / eldpy-0.2.0.tar.gz
| Download URL | eldpy-0.2.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d0291efd71786982ea061be2b3ff12cccb8334776edf4ea5cf6b77e8a3fb309
|
|
BLAKE2b-256 checksum How to use checksums |
441d789316d782b8d32c6ac74bc0cb5af72ef67423abc45a02201cbc28ea7ca5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"id":"trixie","libc":{"lib":"glibc","version":"2.41"},"name":"Debian GNU/Linux","version":"13"},"implementation":{"name":"CPython","version":"3.13.5"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.5.9 29 Sep 2026","python":"3.13.5","system":{"name":"Linux","release":"6.12.118+deb13-amd64"}} HTTPX2/2.16.2
|
Release files / eldpy-0.2.0-py3-none-any.whl
| Download URL | eldpy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31ee131762938599ba6269935a1e2585a5eff58b4448f20cda4388b8ed6c8598
|
|
BLAKE2b-256 checksum How to use checksums |
fac9bb416a248d53b34e32749cbc2e4dae8c5a1862e003238d53a9e7da46336d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"id":"trixie","libc":{"lib":"glibc","version":"2.41"},"name":"Debian GNU/Linux","version":"13"},"implementation":{"name":"CPython","version":"3.13.5"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.5.9 29 Sep 2026","python":"3.13.5","system":{"name":"Linux","release":"6.12.118+deb13-amd64"}} HTTPX2/2.16.2
|
Security for eldpy 0.2.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.