Python SDK for Lucidtech AI Services
Project description
Python SDK for Lucidtech AI Services API
Documentation
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.1.0.tar.gz
(21.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lucidtech-las-9.1.0.tar.gz.
File metadata
- Download URL: lucidtech-las-9.1.0.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97f9fbf64cc0dbb8d2bca364b484db81d9955c422e76f5ea93ebed70a117f5a0
|
|
| MD5 |
d42653d442b9949e7bbc529dc36442b6
|
|
| BLAKE2b-256 |
af06b028c2c55013b67a7bdd194bb1dfc6694380e883531fb86ab0e75db583ed
|
File details
Details for the file lucidtech_las-9.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: lucidtech_las-9.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11e704ffb973e3c972d98911c91acd7d53e85b828e5df2a71f2d1b9fc6449a0a
|
|
| MD5 |
d077500e00f689845a5c526c26bf5bc1
|
|
| BLAKE2b-256 |
93c893bd68d7831a3995377a2a09bce4635f9aa65c7d5f67afc08c5d48491f79
|