{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/10"}],"enrichment":{"capability":"Provides a typed Python client library for the Modern Treasury REST API, with both synchronous and asynchronous interfaces for managing financial operations like counterparties and external accounts.","skillfed_tags":["api-client","async-support","typed"],"use_cases":["Create and manage counterparties (vendors, customers) in a financial system programmatically.","Build async payment processing workflows that fetch and process paginated lists of transactions.","Integrate treasury operations (external accounts, payments) into a Python web application or backend service.","Automate document uploads associated with financial entities using the file upload interface.","Handle API errors gracefully with typed exception classes for connection, rate limit, and status errors."],"what_it_does":"Modern Treasury is the official Python SDK for the Modern Treasury REST API, a financial operations platform. It wraps HTTP calls to manage counterparties, external accounts, payments, and other treasury functions, offering both sync and async clients powered by httpx. The library includes full type hints (TypedDict for requests, Pydantic models for responses) and auto-paginating iterators for list endpoints, so you can work with typed data and let the SDK handle pagination automatically.\n\nThe package is designed for Python 3.9+ applications that need to integrate with Modern Treasury's API. It requires credentials (organization_id and api_key) passed as environment variables or constructor arguments. Dependencies are lightweight and standard (httpx for HTTP, pydantic for validation, anyio and sniffio for async support). The library handles error cases with specific exception types (APIConnectionError, RateLimitError, APIStatusError) and supports file uploads via bytes or PathLike objects.","worth_installing":"Yes. This is the official SDK for Modern Treasury's API, actively maintained with no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to integrate with Modern Treasury in Python 3.9+. The typed interface and async support make it suitable for both simple scripts and production services."},"id":"modern-treasury","links":{"html":"https://skillfed.io/packages/modern-treasury","md":"https://skillfed.io/packages/modern-treasury.md","pypi":"https://pypi.org/project/modern-treasury/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-27","license_spdx":null,"license_treatment":"permissive","name":"modern-treasury","python_support":"supports_current","summary":"The official Python library for the Modern Treasury API"},"popularity":{"monthly_downloads":635814,"position":5633,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.79.0"}
