Skip to main content

Python SDK for Lucidtech AI Services

Project description

# Python SDK for Lucidtech AI Services API

## Installation

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

## Usage

```python
from las import Client

api_key = '...'
client = Client(api_key)

transactions = {
'transaction_1': {'total': '100.00', 'date': '2017-08-21'},
'transaction_2': {'total': '340.90', 'date': '2016-03-08'},
'transaction_3': {'total': '90.37', 'date': '2017-02-17'}
}

receipts = {
'receipt_1': 'https://example.com/receipt1.jpeg',
'receipt_2': 'https://example.com/receipt2.jpeg',
'receipt_3': 'https://example.com/receipt3.jpeg',
}

matching_fields = [
'total',
'date'
]

response = client.match_receipts(
transactions=transactions,
receipts=receipts,
matching_fields=matching_fields
)

print(response['matchedTransactions'])

# {'transaction_1': 'receipt_2', 'transaction_3': 'receipt_1'}

print(response['notMatchedTransactions'])

# ['transaction_2']
```

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-0.0.2.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file lucidtech-las-0.0.2.tar.gz.

File metadata

File hashes

Hashes for lucidtech-las-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9c7c3b6f8c31bc81be2e56ea417a8a2912024554daa8469a106c5c2cb46ae4b5
MD5 4562978dd17454a4778a2545ee34933f
BLAKE2b-256 d16c5c7058ccbdb1f3958d3c5903e605ef514d09e3d3961cb740b314508a5f5f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page