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.2.2.tar.gz
(14.2 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.2.2.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.2.2.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | beaeea90193a2b180caece5ae72effa608319a187d3dd0f36c2780b1990d34cf |
|
MD5 | 21e8cebfa9ae3d0d599ae5a94bce785b |
|
BLAKE2b-256 | 0efc48d9cb5c41538fc78f545539bd232d914ea106fcdc3d4978533b014bd429 |
File details
Details for the file lucidtech_las-3.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50b5c68a2c6e721161b3bd567fed56eb8825a8378f6a1e7c976fc642f6fa4df |
|
MD5 | 1c328ecb34497d349dedf1821820ff99 |
|
BLAKE2b-256 | 8cd0d08f62e2d08d6d22ae3b44ad2a1869d3d1f3a6daeb68c10ae855d89374f3 |