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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file lucidtech_las-11.4.1.tar.gz.

File metadata

  • Download URL: lucidtech_las-11.4.1.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for lucidtech_las-11.4.1.tar.gz
Algorithm Hash digest
SHA256 f39d484b569b4aafb02884d3db0f3eeae3f537c55841b92ec6e0d541ae5950b8
MD5 b296a1069d365d8f4bf35ccd4e8402c6
BLAKE2b-256 e6b32c6a7f3516ad09fc07245d21611045791e90bae4a0ae048c34acb9e956c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lucidtech_las-11.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 891fb1c2cff4c50081b00aa15917cde886bfa5dbf6228d55aea9776b0dfdbee6
MD5 caca64452cdd04b4185281a5f408eb4b
BLAKE2b-256 d8fb190809367a727eff253f08a6eceb1ee06101eac87ea67872fb659a727a3d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page