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.12.tar.gz
(16.0 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.2.12.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.2.12.tar.gz
- Upload date:
- Size: 16.0 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 | dd42806cb397428549c23e77d6c22af7fe58c64b30033e35a206ba76722dbb50 |
|
MD5 | b85812b7dd52cdd755d572bc7fe2aa58 |
|
BLAKE2b-256 | 069986543d600bcdb1d2322e7ca2c66cbc469293ba86537faaacdd5b2c537599 |
File details
Details for the file lucidtech_las-3.2.12-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.2.12-py2.py3-none-any.whl
- Upload date:
- Size: 15.8 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 | 63e9db49621cb2a359526201860c01b09807c7d999f1a03ee1c7ff2cfcecd7ac |
|
MD5 | 2246c5f66ea13e5d64c8c8306131f987 |
|
BLAKE2b-256 | 62eb6d32131f6221a5988471f15c5012a11ce5aa1091e92f493d27cade588362 |