Metadata-Version: 2.1
Name: tefy
Version: 0.1.4
Summary: A very basic wrapper for conversions from doc, docx and odt to TEI XML
Home-page: https://github.com/03b8/tefy
License: MIT
Keywords: conversion,tei-xml,doc,docx,odt,markup
Author: Theo Costea
Author-email: theo.costea@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Text Processing :: Markup :: XML
Requires-Dist: lxml (>=4.2.4,<5.0.0)
Requires-Dist: requests (>=2.22,<3.0)
Project-URL: Repository, https://github.com/03b8/tefy
Description-Content-Type: text/x-rst

TEfy
====

|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. 

.. _OxGarage: https://github.com/TEIC/oxgarage
.. _lxml: https://github.com/lxml/lxml

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

.. code:: python

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

.. |Build Status| image:: https://travis-ci.org/03b8/TEfy.svg?branch=master
   :target: https://travis-ci.org/03b8/TEfy
.. |PyPI version| image:: https://badge.fury.io/py/TEfy.svg
   :target: https://badge.fury.io/py/TEfy

