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-4.0.0.tar.gz
(18.2 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-4.0.0.tar.gz
.
File metadata
- Download URL: lucidtech-las-4.0.0.tar.gz
- Upload date:
- Size: 18.2 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 | fe8608e3812ccc0221085500f37a430c8b1f45c9efc66775d5b192c48748ce56 |
|
MD5 | 7620dc822a431c5e9e75b807626b8f54 |
|
BLAKE2b-256 | fe9196e377b86ea857bf5f2a4ba48f545aef86eb655df6f8996040ea60888ea4 |
File details
Details for the file lucidtech_las-4.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-4.0.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.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 | 391d9db525d2264befcbe53f12859c7f1f33889c99f5501a9df2fe6a11ebe026 |
|
MD5 | cc7e1e939ebab3af70fa1594ae4aae8d |
|
BLAKE2b-256 | 64e9e2a7f0a2772c2d63d778abb6e518de82f7dd28660d0550cde2a4128c02f7 |