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.14.tar.gz
(16.6 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.2.14.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.2.14.tar.gz
- Upload date:
- Size: 16.6 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.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b04b2d607e88fd657c35751e8e1156250fc1d909ed5a547cdcaa246a85aef95 |
|
MD5 | aef2f28046cb9069830be5624993db1c |
|
BLAKE2b-256 | 7276c8374823dc3b1b4e500c9594eae55112f632a5c9e739af3f0c6eb4dae7ab |
File details
Details for the file lucidtech_las-3.2.14-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.2.14-py2.py3-none-any.whl
- Upload date:
- Size: 16.3 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.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 861ce2f9bcb6a1787c1a2c0e8c36b822bb7746a702634c8ac6b2ec34cee6cdb6 |
|
MD5 | 0f9401970ca4d21a40aa15321d5da09e |
|
BLAKE2b-256 | 26c09c40988f80b97794aead1dbfa34045ad932182727e723adbc2ca433904de |