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.13.tar.gz
(16.5 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.2.13.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.2.13.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09c5818de3d1c565f1f6002508389dcb4c6c756c7c54ff7881415a4253857992 |
|
MD5 | 84858f7396043dd4b699f4c3d57ffd95 |
|
BLAKE2b-256 | 0ab5b8154019db031d93faa51846e8445b646258f2f3e28769fad812606e768e |
File details
Details for the file lucidtech_las-3.2.13-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.2.13-py2.py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8889d2a0da6b7970cf3bd8aa0b63900c956e69a4cbdd69cf3e3ab86f48031f36 |
|
MD5 | 747f3ec200d8a70a0e86c38f1ef86c59 |
|
BLAKE2b-256 | 5b3d59ef5731026a2d2864c7b1e4e1bce210961b29792efee7c91099fc6872ac |