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 details)
Built Distribution
File details
Details for the file lucidtech-las-5.1.0.tar.gz
.
File metadata
- Download URL: lucidtech-las-5.1.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9e1e5128001241f3fe871051def4b5de5299ec9609949ac695d60232e3d5d3c |
|
MD5 | 6650a7292670f956134deb1a093e73e9 |
|
BLAKE2b-256 | 2c9bd0e76173ceeb039545f1372b2e30023db8de0aaa05ab91e03dfe06e181e0 |
File details
Details for the file lucidtech_las-5.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-5.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d02000b9d1d4985a69caa9be99aa0b937863b370d6f60256990736c740b0a4 |
|
MD5 | d3bfe29240108a86a294f94445d8481a |
|
BLAKE2b-256 | b32f59e58337171e742f7aaa56e7134568053fb09505abbe2cbe714434b3a2e6 |