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.5.0.tar.gz
(18.1 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.5.0.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.5.0.tar.gz
- Upload date:
- Size: 18.1 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 | 592b769d9a64390b949097c745779aec6ab3c6606eeacde90f43d2f35a902c05 |
|
MD5 | 6921ea59f846987e4ce5983ed8e774dd |
|
BLAKE2b-256 | 7d7415a21c15704ad6930ebb15efd4e6bf4c1747d910b03aa8c1b017948bbe54 |
File details
Details for the file lucidtech_las-3.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.5.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 | f9bf4e97f20c8ebcb71f15f06c988e2cd68f0e33d7763cef8da6e22197cbb635 |
|
MD5 | 2878bab8cb9d6b0f04047a8b3d4f72d1 |
|
BLAKE2b-256 | c7aeb50317b7f15ca318a3d9a2d49cebb5b61a79d35d25f2e7e2a8e5e6df8d43 |