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-3.4.1.tar.gz
(17.8 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-3.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae9b4899c7c919d103d62ae139ef5af6836d6119933d44b97658207059dde88 |
|
MD5 | ac54b613883e0987ee3fc4a751b08d84 |
|
BLAKE2b-256 | 89b6728a5519e599e2cd0d329ee34a4d5435694235ee6ecb75aa313152b2afb0 |