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

This version

5.2.0

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

Uploaded Source

Built Distribution

lucidtech_las-5.2.0-py2.py3-none-any.whl (18.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-5.2.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for lucidtech-las-5.2.0.tar.gz
Algorithm Hash digest
SHA256 026e5ac76b7caa6d2754031a610352ec9a188425ec2095c5df4cac10b844e5b3
MD5 5de94eef99b67e2fce929b52683dd9cb
BLAKE2b-256 5b580eb99f4cd38528167b5b18faa11c63d503acd0b8df098252482ec81bd429

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-5.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for lucidtech_las-5.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e2a4cbe637ed350d165cea0cfd63ba7cf276168f3593a939bf29c8836bd98f89
MD5 5c6635c0f755afc81cee24bb7a3fd70d
BLAKE2b-256 e29ef91c3011d28c55e9df0da506fd862b2017c9347aa4c887dc89112b1232ef

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