Skip to main content

Ntropy SDK

This repository hosts the SDK for the Ntropy API. It provides transaction enrichment and categorization, account ledger and metrics. The full documentation is available at the developer portal.

To obtain an API key, you can follow this guide.

Installation

$ python3 -m pip install --upgrade 'ntropy-sdk'

Quick Start

Enriching your first transaction requires an SDK object and an input Transaction object. The API key can be set in the environment variable NTROPY_API_KEY or in the SDK constructor:

from ntropy_sdk import SDK

sdk = SDK("YOUR-API-KEY")
r = sdk.transactions.create(
    id="4yp49x3tbj9mD8DB4fM8DDY6Yxbx8YP14g565Xketw3tFmn",
    description="AMAZON WEB SERVICES",
    entry_type="outgoing",
    amount=12042.37,
    currency="USD",
    date="2021-11-01",
    location=dict(
        country="US"
    ),
)
print(r)

The returned EnrichedTransaction contains the added information by Ntropy API. You can consult the Enrichment section of the documentation for more information on the parameters for both Transaction and EnrichedTransaction.

Documentation

You can consult in-depth documentation and examples at the developer portal and at the SDK reference.

License:

Free software: MIT license

Metadata

Release files for ntropy-sdk 5.7.0

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

Source distribution (sdist)

Source distribution for ntropy-sdk 5.7.0
File Size Uploaded Provenance
ntropy_sdk-5.7.0.tar.gz 216.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ntropy-sdk 5.7.0
File Interpreter ABI Platform
ntropy_sdk-5.7.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 266.2 kB

Release files / ntropy_sdk-5.7.0.tar.gz

Download URL ntropy_sdk-5.7.0.tar.gz
Size 216.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0cd2e34c801af93970ba33b2217dd531416f43f6459b7778a433501aca8f0a01
BLAKE2b-256 checksum
How to use checksums
aa55bb2dbfe8217bd6e7820760c5bf6222532f46b8f7772a5f2605757bd127fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7

Release files / ntropy_sdk-5.7.0-py2.py3-none-any.whl

Download URL ntropy_sdk-5.7.0-py2.py3-none-any.whl
Size 49.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0f160ac84eeddd144aaf37eb919f8a8b8265fb291a44e2e218101ce402a13bbb
BLAKE2b-256 checksum
How to use checksums
7bacdd1fb6bfd1d5d157e61b0cf6ec84f9907c97da3763a90243872822716735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7

Security for ntropy-sdk 5.7.0

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.

Release history Release notifications | RSS feed

This release

5.7.0 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