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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a12bdc721079776f59078986e338bda2145639d3a0477fb1e69eb1ae7f57fc4f |
|
MD5 | 73d94bb183cbc875ece751531bec7772 |
|
BLAKE2b-256 | 19543b5cd43575493722efc379c4fb3194e21ec249904e5f74a02d80d0d28902 |
Close
Hashes for amazon_textract_prettyprinter-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dcd307dd89f5ea257806fa73ed2ca9e47b7d69815bfb34f1fc0fce528f577ba |
|
MD5 | 195ad7f40876b7136619bcdb0f2730b1 |
|
BLAKE2b-256 | 99fe04ea943dab629f2d913549309864942bc8715902dfae58b9453abf6605f1 |