SDK for the Ntropy API
Project description
Ntropy SDK
SDK for the Ntropy API
Usage:
import os
from ntropy_sdk.ntropy_sdk import SDK, Transaction
sdk = SDK(os.getenv("NTROPY_API_KEY"))
transaction = Transaction(
amount=1.0,
description="AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S: Crd15",
entry_type="debit",
entity_id="1",
)
batch = sdk.classify_batch([transaction])
enriched_list = batch.wait_with_progress()
print("BATCH", enriched_list.transactions[0].labels)
enriched = sdk.classify_realtime(transaction)
print("REALTIME:", enriched.labels)
- Free software: MIT license
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
ntropy_sdk-1.2.1.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for ntropy_sdk-1.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f592934c9a365ee6ff42a8d860e6ea3e52d60c8237927761563e231c9a4742be |
|
MD5 | 0970ca3e9633f185243983a10cd84996 |
|
BLAKE2b-256 | ba93f986635f1ce02d2be98c913e5aaf67276b2596a83a6312f37459556e3146 |