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

This version

3.2.7

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.7.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

lucidtech_las-3.2.7-py2.py3-none-any.whl (14.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lucidtech-las-3.2.7.tar.gz.

File metadata

  • Download URL: lucidtech-las-3.2.7.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for lucidtech-las-3.2.7.tar.gz
Algorithm Hash digest
SHA256 c3f8b3f4559efe0f3c1324af52e7c4728faaea36891c434ed94e69df6c36c0ef
MD5 5ba5f667f16b5ee77aff59d50898fae3
BLAKE2b-256 a30864735a9cd722d9522f0b03a1efb5f7d4732f42db594457f1a08143e89fa2

See more details on using hashes here.

File details

Details for the file lucidtech_las-3.2.7-py2.py3-none-any.whl.

File metadata

  • Download URL: lucidtech_las-3.2.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for lucidtech_las-3.2.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0d868ea91b080e9780c360ac31d92e589a40ae6b585916bff019bf61da5a13a6
MD5 8944ce1f2832ecdbf5bffef097a4f967
BLAKE2b-256 fc9578753b3afdc1a4e396d1a440f6c3608b03872b14429533ef9740f0b1c283

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