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

Uploaded Source

Built Distribution

lucidtech_las-2.0.1-py2.py3-none-any.whl (12.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-2.0.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for lucidtech-las-2.0.1.tar.gz
Algorithm Hash digest
SHA256 917a28ff776a4b918a37418ed8e245d2fa155956c31860ca6561e1b35e5cd371
MD5 d71e1e50617df02b3c47ecb95cf8af3b
BLAKE2b-256 a55766774de8b0f43b696413f47918fbb5da3b3e0072af0f57eff5ef6eb48b5a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-2.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for lucidtech_las-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fcf498afb412835bfca0b80dbbefdf39be8bdbf741987d63d75eef8fcb23e100
MD5 6d27bcbcf5b508e627157b9df06cf4b4
BLAKE2b-256 222a7132d44aa2832dbf76ac1ea35a89ca708a9913ec7f291acf20ced4dfb7a9

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