skillfed

lusid-sdk

LUSID API

lusid-sdk v2.3.186 119.9K downloads/30d#12,049 on PyPI11
Permissive license MIT Active released

What it is and what it does

lusid-sdk is an auto-generated Python client for LUSID, a financial data and portfolio management platform. It wraps the LUSID REST API, exposing endpoints for creating and managing portfolios, accounting records (Abors), valuations, returns calculations, and address key definitions. The SDK uses standard HTTP libraries (requests, aiohttp, urllib3) and data validation (pydantic) to handle API communication and response parsing.

The package is maintained by Finbourne and released frequently. It targets Python 3.11 and later, and includes support for both synchronous and asynchronous workflows through its aiohttp dependency. Many endpoints are marked early-access or experimental, indicating they may change. The SDK is suitable for applications that need to integrate LUSID data or operations into Python workflows, such as portfolio analytics, reporting, or automation.

Use it for:

  • Retrieve portfolio valuations and trial balances from LUSID for reporting or analysis
  • Automate portfolio creation and management operations via the LUSID API
  • Calculate aggregated returns for portfolios or entities stored in LUSID
  • Manage accounting diary entries and close/reopen accounting periods programmatically
  • Build Python applications that query LUSID's address key definitions and aliases

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python client library for the LUSID API, providing programmatic access to portfolio management, accounting, and valuation endpoints.

Yes, if you are a LUSID customer or integrator. The SDK is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. However, confirm that your use case aligns with the early-access and experimental status of many endpoints, and ensure you have valid LUSID credentials before attempting to use it.

Install

lusid-sdk on PyPI

pip

pip install lusid-sdk

uv

uv add lusid-sdk

poetry

poetry add lusid-sdk

Installing lusid-sdk

Before you install

Low install friction with a wheel distribution. Active maintenance as of 2026-08-14 with recent releases. Supports modern Python versions (3.11–3.14). Six runtime dependencies are all widely-used, standard libraries.

License in practice

MIT license permits commercial and private use with minimal restrictions. Permissive treatment means you can integrate this into proprietary applications without copyleft obligations.

Quickstart

pip install lusid-sdk

from lusid_sdk import ApiClient, Configuration
from lusid_sdk.api import AborApi

config = Configuration()
config.api_key['Authorization'] = 'your-api-key'
api_client = ApiClient(config)
abor_api = AborApi(api_client)
# Example: list_abors()
abors = abor_api.list_abors()

Valid LUSID API credentials and account access are required; the SDK will not function without proper authentication configuration.

Verify before relying

  • Whether LUSID API credentials and account setup are required before the SDK can be used
  • Rate limiting or quota policies enforced by the LUSID service itself
  • Whether early-access and experimental endpoints are stable enough for production use

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 6 — aenum, aiohttp, pydantic, python-dateutil, requests, urllib3
Maintenance actively maintained — 0 days since the last release
Last repo commit
First released
Downloads 119,914/month — #12,049 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: lusid_sdk-2.3.186-py3-none-any.whl

Keywords: OpenAPI, OpenAPI-Generator, LUSID API, lusid-sdk

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

LUSID API clientportfolio management SDKfinancial data APIaccounting API clientinvestment portfolio APIvaluation engine APILUSID Python wrapper
financial-apiportfolio-managementauto-generated-client

More WWW/HTTP packages