Skip to main content

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

Metadata

Release files for lucidtech-las 11.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lucidtech-las 11.4.1
File Size Uploaded Provenance
lucidtech_las-11.4.1.tar.gz 31.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lucidtech-las 11.4.1
File Interpreter ABI Platform
lucidtech_las-11.4.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 53.9 kB

Release files / lucidtech_las-11.4.1.tar.gz

Download URL lucidtech_las-11.4.1.tar.gz
Size 31.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f39d484b569b4aafb02884d3db0f3eeae3f537c55841b92ec6e0d541ae5950b8
BLAKE2b-256 checksum
How to use checksums
e6b32c6a7f3516ad09fc07245d21611045791e90bae4a0ae048c34acb9e956c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Release files / lucidtech_las-11.4.1-py2.py3-none-any.whl

Download URL lucidtech_las-11.4.1-py2.py3-none-any.whl
Size 22.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
891fb1c2cff4c50081b00aa15917cde886bfa5dbf6228d55aea9776b0dfdbee6
BLAKE2b-256 checksum
How to use checksums
d8fb190809367a727eff253f08a6eceb1ee06101eac87ea67872fb659a727a3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Security for lucidtech-las 11.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

11.4.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page