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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40fef211c0ca66f25b389e727d33ecb8df1d4794d0ff1711c1c9b354e3b04e41 |
|
MD5 | 8b487d460d06971ceab957d8aea7e284 |
|
BLAKE2b-256 | 14511d5bd8d2f8eaecaf63872f07c4fb500d5503ce32657c05ae3cb999e4365a |
Close
Hashes for amazon_textract_prettyprinter-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f53c6f9468da8937c91076ffd5ced2b4511161a22fa49b669663632b06c17958 |
|
MD5 | 45e30d1046b1f32db11dfd0316ae6694 |
|
BLAKE2b-256 | a8b3ba18f4852fc8effcf132a602ced6dfd7f27dad845cd252b2a726dd88237a |