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

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

Uploaded Source

Built Distribution

lucidtech_las-3.2.9-py2.py3-none-any.whl (15.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-3.2.9.tar.gz
  • Upload date:
  • Size: 15.3 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.4

File hashes

Hashes for lucidtech-las-3.2.9.tar.gz
Algorithm Hash digest
SHA256 68065f457ab3df5a91aae166bdf0f8e1f30870f64dcc2d7edb73b94f76d47ee9
MD5 3bd524477973ec0d3f969913f3b030d1
BLAKE2b-256 02b6bddfa5fe66ffe6130ef9b8e251187bde433f564c99aa9e2329791da2534b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-3.2.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.0 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.4

File hashes

Hashes for lucidtech_las-3.2.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2cf72d6cfa20381cdcb43e16437e845fe3c9bf983c4b07a71db8da431b5f77a4
MD5 c41c70066cf2a4a383ee7ee5cc66cc9b
BLAKE2b-256 ff33d9dc86b1bb763de7176444ea98eca69efedff55fe51f486c1213ccfaaf70

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