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-6.0.0.tar.gz
(18.6 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-6.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0582824eb8bdabdd64d5bf8fc21a72e3914142889fbfb3ba4e1d2cae06c0ba6 |
|
MD5 | 4b11d65f10c9817a5722ffff5dac2d83 |
|
BLAKE2b-256 | 27800cf2af2a03d018365203ec5ed2783165d8f297b7dedd583ccb0a926becd7 |