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

Uploaded Source

Built Distribution

lucidtech_las-5.1.1-py2.py3-none-any.whl (18.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-5.1.1.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.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.1.1.tar.gz
Algorithm Hash digest
SHA256 a7ad75a912e48bd609bb74ec4745b38c6219d68681c6cefd7607e07405184de2
MD5 db538919c7b10b4df9b8324880fc8301
BLAKE2b-256 26b2751d645a4b950abf01abaf9e36ad49dee0703b14b2342902d2472ee07516

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-5.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.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.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 682e113aff2f7a7ce0c2b8d0905d78dbb1c10d51293a550defe6bbec9078caba
MD5 2624b98ced239a5d62c3d688ead4cb4e
BLAKE2b-256 da0e6a3d377c8680b92c738fbf78e70ccd7344c0347f47a30866593375918419

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