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

Uploaded Source

Built Distribution

lucidtech_las-8.7.0-py2.py3-none-any.whl (20.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for lucidtech-las-8.7.0.tar.gz
Algorithm Hash digest
SHA256 214f9a813d6b0183e15179587c701c29f538bc265c1564d7362b2bd0303a43f0
MD5 4d5e9667be711f9cf735c49c61bc7375
BLAKE2b-256 f4b425dd5cdc25cc6feda31e307c84a6de5f16237c52105efe86b4d4b9812a28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lucidtech_las-8.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f83b0cc45e3f63dd5e3389cfc8a626c94478e3a4753c2164bb9c73f847a420d8
MD5 146d37a328c2d24bea28c85af3e5f357
BLAKE2b-256 c9d184bcde4a0e5292ed302fcc634065c8541d41c57176b0e007bf42814563d4

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