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-11.3.0.tar.gz
(31.3 kB
view hashes)
Built Distribution
Close
Hashes for lucidtech_las-11.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cc80454dee6649fe36839b2ee540b8e42a05085d4987646796939771e5fa0f4 |
|
MD5 | aa1e064be2422dc35a2f9989bdc49251 |
|
BLAKE2b-256 | 6ed8d1a15a519cac6fcfb589556ddde969ee101426543cd4dc5ebcf3cab15fbf |