Skip to main content

Utility functions to work with collatex

Project description

CollateX Utils

PyPI version codecov

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 and pip 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 or coverage html

Project details


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.12.tar.gz (173.0 kB view details)

Uploaded Source

Built Distribution

acdh_collatex_utils-1.12-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file acdh_collatex_utils-1.12.tar.gz.

File metadata

  • Download URL: acdh_collatex_utils-1.12.tar.gz
  • Upload date:
  • Size: 173.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for acdh_collatex_utils-1.12.tar.gz
Algorithm Hash digest
SHA256 a93c5fbac896dbca00eea25fdd90f20675f810ccc8b1a4e93350482edb844ee8
MD5 636fcdaa6d1f13da2af610541a296c12
BLAKE2b-256 017a8470f27b64049d9cc439459ef948c0b79e632f2308577eba6c008cee721d

See more details on using hashes here.

File details

Details for the file acdh_collatex_utils-1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for acdh_collatex_utils-1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 47dfc0f896303125958843d793fd2911f1aa69e3a4136b988515bdb7c691e846
MD5 bb857095f1bc4001399e57aacb7b8673
BLAKE2b-256 f5abbbbd768354cc0edc01b3a112dd8633666eab8c67ab4439e7ba6c4a5a87bd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page