Python SDK for Lucidtech AI Services
Project description
Python SDK for Lucidtech AI Services API
Documentation
Installation
$ pip install lucidtech-las
Usage
Preconditions
- Documents must be in upright position
- Only one receipt or invoice per document is supported
- Supported file formats are: jpeg, pdf
Quick start
import json
from las import Client
client = Client()
document = client.create_document('path/to/document.pdf', 'application/pdf')
prediction = client.create_prediction(document['documentId'], model_id='las:model:<hex-uuid>')
print(json.dumps(prediction, indent=2))
Contributing
Prerequisites
$ pip install tox
Run tests
$ tox tests/test_config.cfg
Create docs
$ tox -e docs .docsout
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
lucidtech-las-5.1.0.tar.gz
(18.0 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-5.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d02000b9d1d4985a69caa9be99aa0b937863b370d6f60256990736c740b0a4 |
|
MD5 | d3bfe29240108a86a294f94445d8481a |
|
BLAKE2b-256 | b32f59e58337171e742f7aaa56e7134568053fb09505abbe2cbe714434b3a2e6 |