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
To see this package in use in a real life project, please check out frd-data/collate_work.py
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
Built Distribution
Hashes for acdh_collatex_utils-1.10.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | accf5203a0323140e0a9584330aed3b350d24839aa9030b1b07f3e1577196e5a |
|
MD5 | 16af13c1a08867c6295550ea4346edcf |
|
BLAKE2b-256 | 7183f7cef54d0b2d441ba652bf15012a9fbb7a61c26bb7252bb111b8984f5326 |
Hashes for acdh_collatex_utils-1.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d69b1ae2d3e6957e50f56d5965616d2016a83f1f6cef75aeba8981733aebd8 |
|
MD5 | 2a7fab934106ada16736da78397d4a9b |
|
BLAKE2b-256 | 66fd26f27050f0407e69765415fe1fa1ea6f9e8465e33767a673e3657418368e |