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

Uploaded Source

Built Distribution

lucidtech_las-3.3.1-py2.py3-none-any.whl (16.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-3.3.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for lucidtech-las-3.3.1.tar.gz
Algorithm Hash digest
SHA256 7f371280bc7d8733c5e089608a9c1fd2f850a0d7553715d05c55241040cdc0a4
MD5 ecd91ad3d334bf8170c95cef0b41e8ab
BLAKE2b-256 7e1f7755678515336d77513bb84373b22054f981b2122167280f7da7fa1d947f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-3.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for lucidtech_las-3.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d82212296d5641cf48276eba3177c7a7254fbd993e5652246d8b2dd149e1e15f
MD5 f48aa410dc6d2a31594b8cada257bee0
BLAKE2b-256 3cd211a750e48b20f728f1a8a9978ca73f05fd990435b3c84c62825255f9d438

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