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.2.11.tar.gz
(16.0 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-3.2.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d23c3865094d91e35872b6e2d3b299f771336da62e54be1b6d5f2720710610fb |
|
MD5 | 0c02a9fdbb31b9566dec7fd6e0c9184f |
|
BLAKE2b-256 | 70571f259b626fadd244830d3aa14bbd0742303c6b2d5248790272e410e5e1bc |