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 ApiClient
api_client = ApiClient('<api endpoint>')
prediction = api_client.predict('document.pdf', model_name='invoice')
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.1.0.tar.gz
(13.7 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.1.0.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.1.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcd408f74bad7996527c496bdee011fa9dde6f27707e58a13173960a43fea365 |
|
MD5 | adcaea5b4264289338230e811bbf9187 |
|
BLAKE2b-256 | 5b18f987e62ab3ba626bf6444bb618a0eefb58aa9e679173de8ca95747b29237 |
File details
Details for the file lucidtech_las-3.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee68b9b7bf92f8414aa6b26a52f4cdd1f4cba085386a6279f2aee191bb668f86 |
|
MD5 | de90418f743141a7d15a76cc706dca3c |
|
BLAKE2b-256 | 6977e87894a5d8a8c5d90e4203db19771c543dcd4f642b1fd948aa88ceea3f83 |