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

Uploaded Source

Built Distribution

lucidtech_las-6.0.0-py2.py3-none-any.whl (18.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-6.0.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for lucidtech-las-6.0.0.tar.gz
Algorithm Hash digest
SHA256 c74f47d17ecd8d1e85b05f34de81a9b6430d2b50c2d9d4721ea8d973f5048401
MD5 33076beabdb64de4de7f619f574402b4
BLAKE2b-256 4d468294c167118b9f88b97b878b211048d43cd659b4e8b276fafd8853b6e6b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-6.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for lucidtech_las-6.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c0582824eb8bdabdd64d5bf8fc21a72e3914142889fbfb3ba4e1d2cae06c0ba6
MD5 4b11d65f10c9817a5722ffff5dac2d83
BLAKE2b-256 27800cf2af2a03d018365203ec5ed2783165d8f297b7dedd583ccb0a926becd7

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