Skip to main content

Python SDK for Lucidtech AI Services

Project description

# Python SDK for Lucidtech AI Services API

## Documentation

[Link to docs](https://docs.lucidtech.ai/python/v1/index.html)

## Installation

```bash
$ pip install lucidtech-las
```

## Usage

### Preconditions

- Documents must be in upright position
- Only one receipt or invoice per document is supported
- Supported file formats are: jpeg, pdf

### Quick start

```python
import json
from las import ApiClient

api_client = ApiClient('<api endpoint>')
prediction = api_client.predict('document.pdf', model_name='invoice')
print(json.dumps(prediction, indent=2))
```

## Contributing

### Prerequisites

```bash
$ pip install tox
```

### Run tests

```bash
$ tox tests/test_config.cfg
```

### Create docs

```bash
$ tox -e docs .docsout
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lucidtech-las, version 1.0.0rc1
Filename, size File type Python version Upload date Hashes
Filename, size lucidtech-las-1.0.0rc1.tar.gz (10.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page