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.0.0.tar.gz
(13.6 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.0.0.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.0.0.tar.gz
- Upload date:
- Size: 13.6 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 | 865d0755bebbbe5386f0c1326dab52f1952d5860be90a1b94767253945681cce |
|
MD5 | 4608d34329d4596f26e461dfeecf709d |
|
BLAKE2b-256 | 2d708304b9b83d95669e9e66ad02bc46846ac6c38ad9e326e2abf97d20f86ffb |
File details
Details for the file lucidtech_las-3.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 13.3 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 | b5bf39947127aead5842fbfa914b700a16b0487dc1e8a3c3e4cda9ed5225c543 |
|
MD5 | 76a327b27e6fc5b1a0b73c7060d9e68e |
|
BLAKE2b-256 | 01bfb3cf2fa09798c32748ac72cc0489ce9850fc268dd760a1b46a2ed340beb2 |