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

Uploaded Source

Built Distribution

lucidtech_las-9.3.0-py2.py3-none-any.whl (21.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lucidtech-las-9.3.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for lucidtech-las-9.3.0.tar.gz
Algorithm Hash digest
SHA256 ec7cce293071896c48044b817e27f97b0da9f69d8b50adc1d2db3c479eb133c7
MD5 6a86d79e9a1bdb31070e8e0c2068eb72
BLAKE2b-256 11ee34c1654e7d1066c6eed353345ec12db46441c87a2bd3ca227775645ce3b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lucidtech_las-9.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8b494b03611f6ae835bc6ce246919e8fcd474258fee52e4a8a4e2167827e8aa7
MD5 362074c506a17a7c52ce0723b38f7bc8
BLAKE2b-256 1a52bbb56c65b9decd5ee7370f2f750d665fb79ff1e1769a0080901f720383f0

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