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.7.0.tar.gz
(106.3 kB
view hashes)
Built Distribution
Close
Hashes for acdh_collatex_utils-1.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64b5187de921e8261fb0d3a2968b153cadf0d1714694b835fc2f808c92465ae4 |
|
MD5 | 46269c21897ea0b26f7a8d3c21b779a5 |
|
BLAKE2b-256 | d1499104eb26ad9712681ad427c493d527b25d0c8a43957c19a00ff202e57a8b |
Close
Hashes for acdh_collatex_utils-1.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 123301900ae56432cfac7ce8b573564f5398fdbb0600577084dfa00e5977c752 |
|
MD5 | 230ee5393b38401d718837e7066f9561 |
|
BLAKE2b-256 | c64e87811024c610cd059ddb7a9be15aedb18af8a19ecef3944048d737d739d0 |