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.6.0.tar.gz
(105.5 kB
view hashes)
Built Distribution
Close
Hashes for acdh_collatex_utils-1.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d28c25f1fa8abc437043313cde71926571c58127cf6604f8794e1e52efd93ae2 |
|
MD5 | 7aa0fff16ad6da810d9262985694a3b3 |
|
BLAKE2b-256 | 916f8d69c1018ccb36303b487f52216f4cafae915d69d934934217715214ccdf |
Close
Hashes for acdh_collatex_utils-1.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 035ffc933d1739a301389f03c096004d8fa0af0acdd4f276d91ea887019d7a40 |
|
MD5 | bccb534777d258a769b3016360dce2c5 |
|
BLAKE2b-256 | 8182ecfe1e31a2837e6a7f7ddaf35c1f33275c461ac84271410bd6de93730c34 |