Amazon Textract Helper tools for pretty printing
Project description
Textract-PrettyPrinter
amazon-textract-prettyprinter
Install
> python -m pip install amazon-textract-prettyprinter
Make sure your environment is setup with AWS credentials through configuration files or environment variables or an attached role. (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html)
Samples
Get string for TABLES using the default method
from textractcaller.t_call import call_textract
from textractprettyprinter.t_pretty_print import Textract_Pretty_Print, get_string
doc = call_textract(input_document=input_document, features=features)
get_string(textract_json_string=doc, output_type=Textract_Pretty_Print.TABLES)
Get table with custom format
from textractcaller.t_call import call_textract
from textractprettyprinter.t_pretty_print import Textract_Pretty_Print, get_string
doc = call_textract(input_document=input_document, features=features)
get_tables_string(textract_json_string=doc)
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
Close
Hashes for amazon-textract-prettyprinter-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f908403a10b0777e47418edf36ebe3a15e4fb5f43e15a5e512fdf58abc53714e |
|
MD5 | 2bd079a808433cdf18023a9e4921f3d1 |
|
BLAKE2b-256 | 32836750fe5706cb0b513c4f27dd167b8a1d99fc43b401358b5a1c1fbc6eb3ed |
Close
Hashes for amazon_textract_prettyprinter-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1e16edf28746ce1fcffb50c924ebcad5766573f14e3b560f5876f07b037dbfd |
|
MD5 | 712d321b2dcd7047f1b36d07dd7c14a3 |
|
BLAKE2b-256 | f2abc6a1ffe06be24ad17c5dd7556e819acb3588034a908c9e00058053ed7dfb |