lseg-data
Client for LSEG Data Platform API's
What it is and what it does
lseg-data is a Python client for the LSEG Data Platform that abstracts away connection details and provides a uniform interface to financial market data regardless of how you connect—directly, via Eikon, LSEG Workspace, CodeBook, or a local Real-Time Distribution System. It layers four abstraction levels: a simple Access layer for quick prototyping in Jupyter, a Content layer for advanced use cases with synchronous and async patterns, a Delivery layer for low-level service interaction, and a Session layer for connection management.
The library handles pricing snapshots, fundamental and reference data, historical time series, real-time streaming with event callbacks, and search across the LSEG catalog. It depends on common data-science and HTTP libraries (pandas, numpy, requests, httpx) plus event handling (pyee), retry logic (tenacity), and serialization (simplejson, pyhumps). It is designed for both quick experimentation and production financial applications.
Use it for:
- Retrieve current bid/ask prices and fundamental metrics like revenue for multiple instruments in a single call.
- Fetch historical pricing and financial data across date ranges for backtesting or analysis.
- Stream real-time market data updates with event callbacks for live trading or monitoring dashboards.
- Search the LSEG instrument catalog by name or identifier to resolve RICs and metadata.
- Build Jupyter-based prototypes using the simple Access layer, then scale to production with the Content layer.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Client library for accessing LSEG Data Platform financial data through multiple connection methods, providing abstraction layers for pricing, fundamental data, historical data, and real-time streaming.
Yes, if you have LSEG Data Platform access and need a Python interface to financial data. The library is well-structured with multiple abstraction layers, low install friction, and no known vulnerabilities. However, the aging maintenance status (last release 497 days ago) means you should verify ongoing support and check that your use case aligns with the documented connection methods before committing to a production dependency.
Install
lseg-data on PyPI
pip
pip install lseg-datauv
uv add lseg-datapoetry
poetry add lseg-dataInstalling lseg-data
Before you install
Low install friction with a pure Python wheel. Maintenance status is aging—last release was 497 days ago—so expect slower response to issues or feature requests.
License in practice
Apache 2.0 is permissive; you can use this library commercially and modify it, but must retain the license notice and provide a copy of changes if distributed.
Quickstart
import lseg.data as ld
ld.open_session()
df = ld.get_data(
universe=['IBM.N', 'VOD.L'],
fields=['BID', 'ASK', 'TR.Revenue']
)
print(df)
ld.close_session()
Requires Python >= 3.9 and valid LSEG Data Platform credentials or connection via Eikon, LSEG Workspace, CodeBook, or local Real-Time Distribution System.
Verify before relying
- Whether LSEG Data Platform credentials or subscription is required and what the cost/access model is.
- Performance characteristics and latency for real-time streaming with large universes.
- Compatibility with async/await patterns beyond the documented event-driven examples.
- Whether the library works offline or requires continuous platform connectivity.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 15 — appdirs, pyee, httpx, httpcore, numpy, pandas, python-dateutil, requests, scipy, tenacity, watchdog, websocket-client, pyhumps, jinja2, simplejson |
| Maintenance | aging — 497 days since the last release |
| First released | |
| Downloads | 199,157/month — #9,714 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: lseg_data-2.1.1-py3-none-any.whl
Tags
More Financial packages
statsmodels provides statistical models,…
permissive · top 1,000 on PyPI
yfinanceFetches financial and market data from Yahoo…
permissive · top 1,000 on PyPI
bokehBokeh is an interactive visualization library…
permissive · top 5,000 on PyPI
python-stdnumParses, validates, and reformats standard…
copyleft · top 5,000 on PyPI
panelPanel is a Python framework for building…
permissive · top 5,000 on PyPI
databentoOfficial Python client for accessing live and…
permissive · top 5,000 on PyPI
openbb-equityProvides equity market data access through the…
agpl · top 15,000 on PyPI
xbbgxbbg is a Bloomberg client for Python that…
permissive · top 15,000 on PyPI
vnstockVnstock fetches Vietnamese stock market…
noncommercial · top 15,000 on PyPI
yahooqueryRetrieves financial data from Yahoo Finance…
permissive · top 15,000 on PyPI
vnaiVnAI provides a Python interface for accessing…
unclear · top 15,000 on PyPI
wapi-pythonA Python client library for accessing Volue…
unclear · top 15,000 on PyPI
tushareFetches historical and real-time Chinese stock…
permissive · top 15,000 on PyPI
tradingeconomicsProvides Python access to over 300,000 economic…
permissive · top 15,000 on PyPI
fr24fr24 retrieves real-time and historical flight…
permissive · top 15,000 on PyPI