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 ApiClient

api_client = ApiClient('<api endpoint>')
prediction = api_client.predict('document.pdf', model_name='invoice')
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-2.0.0rc0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

lucidtech_las-2.0.0rc0-py2.py3-none-any.whl (12.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lucidtech-las-2.0.0rc0.tar.gz.

File metadata

  • Download URL: lucidtech-las-2.0.0rc0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

File hashes

Hashes for lucidtech-las-2.0.0rc0.tar.gz
Algorithm Hash digest
SHA256 e5e24f223ecca7a51c69a101956e99c6e3ca64bdd965967a414734bcfa66ab57
MD5 5223b408afb101e75e15f7a77366058b
BLAKE2b-256 7ee786bc888a5af680664a4715e52f324f2d5d70d72c61a6ca1d0206fd918178

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lucidtech_las-2.0.0rc0-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

File hashes

Hashes for lucidtech_las-2.0.0rc0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 10afc0bbe75408c9af495e5d43514b2aa4eadf6151e39043ee7e86d24a09159b
MD5 e41230bdbac7bbcc7ffc471d4ec3475a
BLAKE2b-256 9d7199ccd0fcca6a3ed8962944c8682b871e1a64d89f88815f86896eada107e4

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