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

Sign up for free here and download API credentials to use this SDK. Read more about authenticating to the API here

Quick start

import json
from las import Client

client = Client()
models = client.list_models()['models'] # List all models available
model_id = models[0]['modelId'] # Get ID of first model in list
document = client.create_document('path/to/document.pdf')
prediction = client.create_prediction(document['documentId'], model_id=model_id)
print(json.dumps(prediction, indent=2))

Contributing

Prerequisites

$ pip install -r requirements.txt
$ pip install -r requirements.ci.txt

Run tests

$ make prism-start
$ python -m pytest

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

Uploaded Source

Built Distribution

lucidtech_las-11.2.1-py2.py3-none-any.whl (22.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-11.2.1.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for lucidtech-las-11.2.1.tar.gz
Algorithm Hash digest
SHA256 0c0ae08870f41eef82b1e427c313afcec02e33ce4fa4d3821c0ade79f10f4162
MD5 c268f5b2754b457eb5a7db07dba6b2dc
BLAKE2b-256 80e2e054ff80f8539b333f620ddf7f4b17092cfb2990f36115c46e2ba42e52cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lucidtech_las-11.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8d28d00df3b71c4ec897115cd954ebe1f896c57769fcb13759c0733c03820620
MD5 752d1223d87cb703fa105417af3688fe
BLAKE2b-256 9ccd9b8d9aa1265df3cab34b92b530778dc3de9f8ae888980912ef03b782ed59

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