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

Uploaded Source

Built Distribution

lucidtech_las-10.0.0-py2.py3-none-any.whl (22.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for lucidtech-las-10.0.0.tar.gz
Algorithm Hash digest
SHA256 cc4e7f16520969c8e6f0e4236496c204f0f9d03323d925861ae6001c26c7fdaa
MD5 ab728db3d981779d88a8ef4ca221be82
BLAKE2b-256 a84574446ae6acfe3dc61b841ec9d0155399ff848eb2121f2333ae62bb689e5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lucidtech_las-10.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 60be6b5d2d09d6ca28f9308dbfa871e2de411b5904b413989a93e8edc438f53f
MD5 533bb0367917978d9e844a65f3019d9d
BLAKE2b-256 ae6594815c61b7d67b5e04a5ac8554a29549e890e93a18bdc17426f0e44e26d1

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