Registry / payments / ntropy-sdk

ntropy-sdk

JSON →
library5.4.0pypypi✓ verified 81d ago

SDK for the Ntropy API, enabling financial transaction enrichment and categorization. Current version 5.3.0, actively maintained with weekly releases.

pip install ntropy-sdk
INSTALL
IMPORT
SIG · NTROPY-SDK
N
ntropy-sdk
paymentspythonv5.4.0
Install
6.7s avg
Import
Disk
41MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v5.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 41.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.7s · import 0.000s · 42MB
41MB installed
● package 41MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SDK
from ntropy_sdk import SDK
from ntropy_sdk import Ntropy

Initialize SDK with API key and create an account holder (requires NTROPY_API_KEY environment variable).

from ntropy_sdk import Ntropy import os api_key = os.environ.get('NTROPY_API_KEY', '') sdk = Ntropy(api_key) try: account_holder = sdk.account_holders.create(type='business', business_name='Test Inc') print(account_holder.id) except Exception as e: print(e)
Debug
Known issues
deprecatedThe SDK v4.x deprecated synchronous client initialization; ntropy_sdk.Ntropy now requires async context manager in newer versions.
fix
Use 'async with ntropy_sdk.Ntropy(api_key) as sdk:' pattern for async operations, or rely on default sync mode in v5.3.
affects: >=5.0.0
breakingIn v5, the 'Transaction' model fields 'description' and 'amount' are mandatory; previously they were optional.
fix
Ensure all transaction creates include 'description' and 'amount'.
affects: 5.0.0 - 5.3.0
gotchaAPI key is required but can be set via environment variable NTROPY_API_KEY. The SDK reads this automatically if no argument is passed to Ntropy().
fix
Set NTROPY_API_KEY environment variable before using SDK.
affects: all
Upgrade
Version history
5.4.0latest on PyPI · released May 15, 2026
Audit
Dependencies
requestsrequiredHTTP client for API calls
Agent activity
37 hits · last 30 days
node
34
OpenAI (training)
1
Resources
ntropy-sdk — pip install ntropy-sdk · libregistry