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.4.tar.gz
(14.4 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.2.4.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.2.4.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 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 | 563394eab33852774d7ae023e321d58975f51138a39596d1a204859b36deff58 |
|
MD5 | d4032f30d0b2f59cfabe7d20ebc1c4f7 |
|
BLAKE2b-256 | e2926acf78f6b6538a406f4eeef7cc98866c4463375493cb77c7413e6add9ef1 |
File details
Details for the file lucidtech_las-3.2.4-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.2.4-py2.py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 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 | c2b43836d9855ff55fcb1dbcedef2b2f3ccafbcb1f95a6e13709de383eeac1a1 |
|
MD5 | 4833237630dbf66593bd6c8b760a3017 |
|
BLAKE2b-256 | f78df8d1fa916aa83c8d45aa9927d5c4fcd475cc1615d437b054571c51053983 |