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.8.0.tar.gz
(106.1 kB
view hashes)
Built Distribution
Close
Hashes for acdh_collatex_utils-1.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db89ea5ee34f4cc976e4119b838d4064ece38731bd2d188caf09d940cccad48b |
|
MD5 | 84dc8d4594c73688ef126a3fc7442532 |
|
BLAKE2b-256 | 033bd352d5f80e8a5fe1a1e2ea2aeb26e5753eab157b7f048a24e758b837a736 |
Close
Hashes for acdh_collatex_utils-1.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb9b89940fc51bf523d4d59cf4e30464f8e266ebb4cbe9199e78599b313204b1 |
|
MD5 | 5fb57bf29723dda70b20b311be7a45bd |
|
BLAKE2b-256 | 18787f7871dcd89647a9cc21cbd25a0e047deb291064c9cdfdbd3bd871038140 |