Skip to main content

A very basic wrapper for conversions from doc, docx and odt to TEI XML

Project description

Build Status PyPI version

TEfy was born out of the need to streamline the conversion of doc, docx and odt documents into TEI XML when using Python scripts. It’s a very basic wrapper around the OxGarage API at https://oxgarage.tei-c.org/ege-webservice/ and covers a small subset of conversions, namely from doc, docx and odt to TEI XML. The conversion result is output as an lxml etree Element.

Usage

You can install TEfy with pip ($ pip install TEfy) and convert let’s say an ODT document like this:

from tefy import OxGaWrap
doc = OxGaWrap('path/to/example.odt')
tei = doc.tei_xml

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

TEfy-0.1.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

TEfy-0.1.4-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file TEfy-0.1.4.tar.gz.

File metadata

  • Download URL: TEfy-0.1.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.6.0 Linux/4.9.0-9-amd64

File hashes

Hashes for TEfy-0.1.4.tar.gz
Algorithm Hash digest
SHA256 27d50fe2a8208cfb26b7a43a1c8763b8064f76d7786482449ffc624562e73ef6
MD5 6be70f5014abf3827e52cf83e04e105f
BLAKE2b-256 ce308332451fa35c37e72005c4ae31cba81da7103a9ba0c7c091d7bcfa6e2e89

See more details on using hashes here.

File details

Details for the file TEfy-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: TEfy-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.6.0 Linux/4.9.0-9-amd64

File hashes

Hashes for TEfy-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3efb0abd44412a3bf81ade790df96eab3123012bd8b11097decc41cb6f6e5b8d
MD5 341dac0afa5bf2fec1af8acb083c9556
BLAKE2b-256 7c74fc8a53a89578eb9f1efdd355d956338b89836c3f07615603145e8e499e75

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