Skip to main content

Python SDK for Lucidtech AI Services

Project description

Python SDK for Lucidtech AI Services API

Github Actions build status

Documentation

Link to docs

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)

Uploaded Source

Built Distribution

lucidtech_las-3.1.0-py2.py3-none-any.whl (13.4 kB view details)

Uploaded Python 2 Python 3

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

Hashes for lucidtech-las-3.1.0.tar.gz
Algorithm Hash digest
SHA256 dcd408f74bad7996527c496bdee011fa9dde6f27707e58a13173960a43fea365
MD5 adcaea5b4264289338230e811bbf9187
BLAKE2b-256 5b18f987e62ab3ba626bf6444bb618a0eefb58aa9e679173de8ca95747b29237

See more details on using hashes here.

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

Hashes for lucidtech_las-3.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ee68b9b7bf92f8414aa6b26a52f4cdd1f4cba085386a6279f2aee191bb668f86
MD5 de90418f743141a7d15a76cc706dca3c
BLAKE2b-256 6977e87894a5d8a8c5d90e4203db19771c543dcd4f642b1fd948aa88ceea3f83

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page