Hypatos cli tool to batch extract documents through the API and to compare the results.
Project description
Hycli
This repository contains a Python package/CLI tool to batch extract documents through the Hypatos API and to compare the results.
Quickstart
pip install hycli
hycli extract path-to-files [to-xlsx|to-csv|to-json] url
hycli compare workbook1 workbook2
hycli evaluate -gt ground-truth-workbook -m1 model1-workbook -m2 model2-workbook
For more information without leaving the cli use hycli --help
API Reference and User Guide available
Development
Requirement
Installing
poetry install
poetry shell
hycli --help
Running the tests
poetry run pytest
Versioning
Uses bump2version:
bump2version --verbose [patch|minor|major] # add --dry-run to have a preview
git push --follow-tags
Documentation
Is build with sphinx, can be seen/worked on locally by:
cd docs
make html
open build/html/index.html
License
Hypatos
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
hycli-0.6.0.tar.gz
(25.3 kB
view hashes)
Built Distribution
hycli-0.6.0-py3-none-any.whl
(33.3 kB
view hashes)