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

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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-3.1.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 cdd901d2b2e8ed2ed95a8adb5678cfe368b02a4b4bc822a0acc0ed1153a62a01
MD5 2d6d04c4f77a48ae220b72714bc64bcb
BLAKE2b-256 7ea4faeb2488d07b7761aa1e46be1830ed70c0a3c29a086e88df3ce1c049ada3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-3.1.1-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.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 782009280520445e4df3141e11812ef87ce9ce09446c3c8de81eb0a2113710d8
MD5 b0756e3e46479f2f4ed0d67f45f62b8c
BLAKE2b-256 034bcc2506ebbfec097ad064124eb7dd67841a371d7bc669f4e698f5e58537ff

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