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
```
## 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
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-1.0.1.tar.gz
(11.6 kB
view details)
File details
Details for the file lucidtech-las-1.0.1.tar.gz
.
File metadata
- Download URL: lucidtech-las-1.0.1.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 865e97416986b1224ca9ec1b09f2fb7e26bf19359bf78a575ad9b0ee037e4df8 |
|
MD5 | b413f5484fce7a2dd7657f5270cb13b3 |
|
BLAKE2b-256 | f20c15ef4e924511e8da24f120a8ce797f5ea6d832003fa6c412cd321f91ec5e |