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.0.0.tar.gz
(17.8 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-5.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c37108800b6043d6d53c0c7f4025d75b8c7ebecad6be023b64444b5f3bf23fd |
|
MD5 | d3770be22a7df021e39ce8620ebcf6b3 |
|
BLAKE2b-256 | 9fc34420a6b58ca2811f29ff84e8ff696540af577278a94fbd93b927d86e2c66 |