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.5.2.tar.gz
(18.2 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-3.5.2.tar.gz
.
File metadata
- Download URL: lucidtech-las-3.5.2.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 692edaae59c7e901aeb57e416c3b4616e8c8127fed593d9b5a2c1fb31c6b8d5b |
|
MD5 | cb04bba07b04bd2301a438ef47b40a98 |
|
BLAKE2b-256 | 93581606affe3372de6726beec2162e74e4ce1db614746b7733b046a1476cdfc |
File details
Details for the file lucidtech_las-3.5.2-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-3.5.2-py2.py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed8352ab8331cb8a24383a05645d64dd19c44efc79eff654833738c362974aba |
|
MD5 | 800aea2a5ac7c37c845ba8e8d5ec7f65 |
|
BLAKE2b-256 | 708351ed1acbc268be7453529887481d8b8f0d6737f490196e8a4d92b7cfd5ff |