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

Uploaded Source

Built Distribution

lucidtech_las-3.2.10-py2.py3-none-any.whl (15.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-3.2.10.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.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.10.tar.gz
Algorithm Hash digest
SHA256 9f2d9723539a471d8f8d28e0c0764c0ce833b701ccf05be3a0e877fedd3060b9
MD5 e8af61e67dd6cbd91c0271eed5b29c6c
BLAKE2b-256 767f4dd62eb9ac03dc9acc88657449fe9a6fe715d14b032cb1cb5ee2e596bb21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-3.2.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.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.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ac562950f8c7508777ca399efa5ffc9eee402647ed9a5edd356f5a0ab3347cd4
MD5 bfbd96779a54a304f03248b0673fd733
BLAKE2b-256 ec078575ece0798d956f2d6242de4f111412187cde497ae235612fa46c528eaa

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