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

Uploaded Source

Built Distribution

lucidtech_las-10.1.0-py2.py3-none-any.whl (22.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for lucidtech-las-10.1.0.tar.gz
Algorithm Hash digest
SHA256 d1925f68b24410b09af23663af6d3a44d5d2f7ef7dc3eec70447c1de750e28da
MD5 12d1f4363613298416258ae2d87d2f55
BLAKE2b-256 fcdca72b8efc7493f1e6b8e141c50c0a1d796301c5d75d5d51f6a7d123db1d89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lucidtech_las-10.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 655b4f5e388d139ebbeb1e28c1feeb8bc7347ef987bfdf850b5c8e03943846d4
MD5 f92f4fc99fbba3e59f62f62615f874d1
BLAKE2b-256 950bca4390ec108db205bbd3a133f85bc2cc632bd0603db29a9466a1c96d4157

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