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-8.3.0.tar.gz
(19.5 kB
view details)
Built Distribution
File details
Details for the file lucidtech-las-8.3.0.tar.gz
.
File metadata
- Download URL: lucidtech-las-8.3.0.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5be7e8441f5eb748a8f7b69779e57daebb65ec1c1e8099875e3ac18c782cbf4 |
|
MD5 | 79abc98a2bcef8a513d87818b4821a8f |
|
BLAKE2b-256 | ac7b4de3e8c10769130757594476f0526ad892074ac36095ce091024e832d3d2 |
File details
Details for the file lucidtech_las-8.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: lucidtech_las-8.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 682249709c2cdf76c65eca0a19dd8950ed85342eff078078f5e366b8bc3516b3 |
|
MD5 | 1195c88d6a4936a22eb88ca575924317 |
|
BLAKE2b-256 | 5c0181ccc232daed47580c24ca7ddd32c53bd87e73cf3bc2e035124c0d609ccc |