Utility functions to work with collatex
Project description
CollateX Utils
A python package to collate things with collate-x
install
- create a virtual environment and install the package with
pip install acdh_collatex_utils
use
To collate a bunch of XML/TEI documents located in e.g. ./to_collate
run
collate -g './to_collate/*.xml
This creates a folder ./to_collate/collated
and saves chunked HTML and TEI Files like out__001.html
or out__001.tei
develop
-
create a virutal environment
-
install dev-requirements
pip install -U pip
andpip install -r requirements_dev.txt
-
install the package in dev-mode
pip install -e .
-
run test with
coverage run -m pytest -v
-
create test-report
coverage report
orcoverage html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
acdh_collatex_utils-1.5.0.tar.gz
(104.9 kB
view hashes)
Built Distribution
Close
Hashes for acdh_collatex_utils-1.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26d5b76a34d06322a1744c40d958ea771b4e495c444fc5320beb6137940d0fb |
|
MD5 | 5c07e2a0b78e101ca35ef7c937a1b620 |
|
BLAKE2b-256 | 4856d87416d36e9ba21552f5b36504d4f242889e12a7c073fd897de9dae05e90 |
Close
Hashes for acdh_collatex_utils-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9205d7866226ef84489c0628ceeb13900a0c59120b28b04d763a79ac8c0bdf1e |
|
MD5 | fa8304d708c160cbf4036f0c1005b9d8 |
|
BLAKE2b-256 | 75df107299f99e198015812b995572b4f964739fe96effdee1d3309b596011ec |