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 details)
Built Distribution
File details
Details for the file lucidtech-las-3.4.1.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.4.1.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 164c4b5998c1b1b179d8229869d9e94741930966b3ae9b7eae5f2ddc7d99002b |
|
MD5 | 089a2a42770698e89c345569a54fac59 |
|
BLAKE2b-256 | cbcf7c93a85d689d1953bd542a2f2165fe72fee8fa24d6c4a48fad59cd6d5ad2 |
File details
Details for the file lucidtech_las-3.4.1-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.4.1-py2.py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae9b4899c7c919d103d62ae139ef5af6836d6119933d44b97658207059dde88 |
|
MD5 | ac54b613883e0987ee3fc4a751b08d84 |
|
BLAKE2b-256 | 89b6728a5519e599e2cd0d329ee34a4d5435694235ee6ecb75aa313152b2afb0 |