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 Client

client = Client()
document = client.create_document('path/to/document.pdf', 'application/pdf')
prediction = client.create_prediction(document['documentId'], model_id='las:model:<hex-uuid>')
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.11.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

lucidtech_las-3.2.11-py2.py3-none-any.whl (15.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-3.2.11.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 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.11.tar.gz
Algorithm Hash digest
SHA256 3fba94e4bd447258c6148cc71a559ca5a422726d0314f3f29a83d8458df275c6
MD5 f3e6e64705c6d4ac9985be8d271543ad
BLAKE2b-256 5a54605e96c5400e25d20fe218c05284faf1cd3824310f6e1a27c4350375189e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-3.2.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 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.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d23c3865094d91e35872b6e2d3b299f771336da62e54be1b6d5f2720710610fb
MD5 0c02a9fdbb31b9566dec7fd6e0c9184f
BLAKE2b-256 70571f259b626fadd244830d3aa14bbd0742303c6b2d5248790272e410e5e1bc

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