Metadata-Version: 2.4
Name: corpustools
Version: 3.1.0
Summary: Manage giellalt corpora
Author: Kevin Unhammer, Ciprian Gerstenberger, Chiara Argese
Author-email: Børre Gaup <albbas@gmail.com>, Anders Lorentsen <anders.lorentsen@uit.no>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/divvun/CorpusTools
Requires-Python: <4.0,>=3.12
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: epub<0.6.0,>=0.5.2
Requires-Dist: feedparser<7.0.0,>=6.0.10
Requires-Dist: GitPython<4.0.0,>=3.1.44
Requires-Dist: html5lib<2.0.0,>=1.1
Requires-Dist: requests<3.0.0,>=2.31.0
Requires-Dist: regex<2027.0.0,>=2026.7.19
Requires-Dist: prompt-toolkit<4.0.0,>=3.0.51
Requires-Dist: python-dateutil<3.0.0,>=2.8.2
Requires-Dist: unidecode<2.0.0,>=1.4.0
Requires-Dist: lxml-html-clean<0.5.0,>=0.4.2
Requires-Dist: python_tca2 @ git+https://github.com/divvun/python_tca2.git@main
Requires-Dist: lxml>=6.1.3
Dynamic: license-file

# Corpus Tools

Tools to manipulate a giellalt corpus in different ways.

## Install and update from Apertium nightly

These tools are a part of
[Apertium nightly packages](https://wiki.apertium.org/wiki/Installation/Developers).

For Mac users, running the `install-nightly.sh` suffices, Linux users will have
to run `<package-manager> install <name of package>`, as well (search for corpustools in
the package system).

To update the tools on Mac, run `install-nightly.sh`. On Linux, update packages
using the package manager.

## Install and update using pipx

- [Install pipx](https://pypa.github.io/pipx/installation/)
- Run `pipx install --force git+https://github.com/divvun/CorpusTools.git`

## Development

- [Install uv](https://docs.astral.sh/uv/getting-started/installation/)
- Package source is in `src/corpustools/`; tests are in `tests/`.
- Run `uv sync` to install the project and development dependencies.
- Run `uv run pytest` to run the test suite.

[API and manual pages](https://divvun.github.io/CorpusTools/)
