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

3.5.1

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

Uploaded Source

Built Distribution

lucidtech_las-3.5.1-py2.py3-none-any.whl (17.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-3.5.1.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for lucidtech-las-3.5.1.tar.gz
Algorithm Hash digest
SHA256 d2c13d438e18349e16c1ad44b8b00924f5d48f2f1369c6151dd426343d6a22b3
MD5 4703101ec0b8855e17f89238032a8a4f
BLAKE2b-256 15686409d08a9b9998b0808aa121f3edb912a889e89fce01b06f75b5b46809da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-3.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for lucidtech_las-3.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4e19e0c1bf967f981b330d6fb7bf2272ed0402bacaed3269f0c988d41c6cd56c
MD5 499605a3afd4a06ad8028667e246282c
BLAKE2b-256 b74eb4ffffde0246875e8469ebc1b99f02ad5a2622169bdc9aeb4cf45278f8f7

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