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.0

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

Uploaded Source

Built Distribution

lucidtech_las-3.2.0-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-3.2.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for lucidtech-las-3.2.0.tar.gz
Algorithm Hash digest
SHA256 d0e0c95924883496948a28d0863316526971337331674d8450161b5c4ff68de0
MD5 10d925487d1d4c427f3b9e10a4664ca8
BLAKE2b-256 6da33e634f3275270ff07a5f546230b1cac9ac09b5f486fc45b0873f703d8aa3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-3.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for lucidtech_las-3.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 40e047d6e543c0abff052b7ffd0bb09771cf88b876925c1c7f83c5eae3795c34
MD5 56b6382684601e41388bbbc6ca0e54f3
BLAKE2b-256 bda1595f16cfe9af33a2641b58eb209af775f61047f75b0482d8acfab30ec9b5

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