$npx skillfedfor your agent

xbbg

Independent client for Bloomberg-connected data workflows

With conditionsPyPI Python ModulesReleased Aug 2026111.6K downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — xbbg-1.4.6-cp310-cp310-macosx_11_0_universal2.whl · xbbg-1.4.6-cp310-cp310-manylinux_2_28_x86_64.whl · xbbg-1.4.6-cp310-cp310-win_amd64.whl
v1.4.6 · released 2026-08-07 · Python <3.15,>=3.10 · 1 runtime deps: narwhals

Yes, if you have Bloomberg access and need more than a basic bdp wrapper. xbbg is actively maintained, has no known vulnerabilities, and is built for workflows that scale from simple requests to streaming, async, and non-pandas data pipelines. The Rust engine and Arrow-shaped output are advantages over pure-Python alternatives. Install friction is moderate due to compiled wheels, but the dependency footprint is lean without blpapi as a hard requirement.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires authorized Bloomberg environment (Terminal/DAPI, SAPI/B-PIPE, or ZFP) and Bloomberg's shared runtime library (blpapi3_64.dll on Windows, libblpapi3_64.so on macOS/Linux).
  • Linux wheels require glibc ≥ 2.28.
  • Medium install friction due to compiled wheels for multiple Python versions (3.10–3.14) and platforms, but no direct blpapi dependency required.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most financial workflows.

last release 2026-08-07 (7 days) · last repo commit 2026-08-14 · 759 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 111,601 downloads/mo, #12,409 on PyPI

Verify before relying

pip install xbbg

from xbbg import blp

prices = blp.bdp(["AAPL US Equity", "MSFT US Equity"], "PX_LAST")
hist = blp.bdh("SPX Index", "PX_LAST", "2024-01-01", "2024-12-31")
  • Whether the Rust engine's performance advantage over pure-Python alternatives is material for typical workflows
  • Whether async worker pools and isolated subscription sessions are production-tested in high-frequency scenarios
  • Whether the field cache and testing helpers are documented and stable for integration testing
Same gist for agents: .md · .json

What it is and what it does

xbbg is an independent Bloomberg client that wraps Bloomberg's DAPI/SAPI/ZFP services with a Rust-backed engine, providing Python helpers for common request patterns (reference data, historical data, intraday bars, ticks, BQL, equity screening) plus async support and multiple output backends. It targets workflows that grow beyond simple one-off requests into streaming subscriptions, managed Bloomberg environments, and non-pandas data pipelines.

The package requires you to bring your own authorized Bloomberg access and manages the connection, request parsing, and data movement through a shared Rust engine. It supports sync and async APIs, outputs to Narwhals, native Arrow, PyArrow, pandas, Polars, DuckDB, and related libraries, and includes typed errors, diagnostics, and field lookup helpers. Configuration covers DAPI, SAPI/B-PIPE, ZFP, TLS, failover hosts, and SOCKS5.

Use it for

  • Fetch reference data (prices, fundamentals, identifiers) for multiple securities in a single call with Bloomberg-style overrides.
  • Retrieve historical time series and intraday bars/ticks for backtesting or real-time analysis workflows.
  • Run BQL queries, equity screens, and constituent lookups for portfolio construction and monitoring.
  • Build async worker pools for concurrent Bloomberg requests in high-throughput data pipelines.
  • Output Bloomberg data directly to Polars, DuckDB, or Arrow formats without pandas as an intermediate step.
  • Configure and connect to managed Bloomberg environments (B-PIPE, ZFP, TLS) with automatic failover and diagnostics.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you have Bloomberg access and need more than a basic bdp wrapper.

xbbg is actively maintained, has no known vulnerabilities, and is built for workflows that scale from simple requests to streaming, async, and non-pandas data pipelines. The Rust engine and Arrow-shaped output are advantages over pure-Python alternatives. Install friction is moderate due to compiled wheels, but the dependency footprint is lean without blpapi as a hard requirement.

Install

xbbg on PyPI

Before you install

Medium install friction due to compiled wheels for multiple Python versions (3.10–3.14) and platforms, but no direct blpapi dependency required. Active maintenance with a release 7 days ago and 759 repository stars.

Requires authorized Bloomberg environment (Terminal/DAPI, SAPI/B-PIPE, or ZFP) and Bloomberg's shared runtime library (blpapi3_64.dll on Windows, libblpapi3_64.so on macOS/Linux). Linux wheels require glibc ≥ 2.28.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most financial workflows.

Quickstart

pip install xbbg

from xbbg import blp

prices = blp.bdp(["AAPL US Equity", "MSFT US Equity"], "PX_LAST")
hist = blp.bdh("SPX Index", "PX_LAST", "2024-01-01", "2024-12-31")

Verify before relying

  • Whether the Rust engine's performance advantage over pure-Python alternatives is material for typical workflows
  • Whether async worker pools and isolated subscription sessions are production-tested in high-frequency scenarios
  • Whether the field cache and testing helpers are documented and stable for integration testing

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
narwhals
MaintenanceActively maintained 7 days since the last release
Last repo commit
First released
Downloads111,601 / month, #12,409 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: Financial and Insurance IndustryIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: RustTopic :: Office/Business :: FinancialTopic :: Office/Business :: Financial :: InvestmentTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: xbbg-1.4.6-cp310-cp310-macosx_11_0_universal2.whl; xbbg-1.4.6-cp310-cp310-manylinux_2_28_x86_64.whl; xbbg-1.4.6-cp310-cp310-win_amd64.whl; xbbg-1.4.6-cp311-cp311-macosx_11_0_universal2.whl; xbbg-1.4.6-cp311-cp311-manylinux_2_28_x86_64.whl; xbbg-1.4.6-cp311-cp311-win_amd64.whl; xbbg-1.4.6-cp312-cp312-macosx_11_0_universal2.whl; xbbg-1.4.6-cp312-cp312-manylinux_2_28_x86_64.whl; xbbg-1.4.6-cp312-cp312-win_amd64.whl; xbbg-1.4.6-cp313-cp313-macosx_11_0_universal2.whl; xbbg-1.4.6-cp313-cp313-manylinux_2_28_x86_64.whl; xbbg-1.4.6-cp313-cp313-win_amd64.whl; xbbg-1.4.6-cp314-cp314-macosx_11_0_universal2.whl; xbbg-1.4.6-cp314-cp314-manylinux_2_28_x86_64.whl; xbbg-1.4.6-cp314-cp314-win_amd64.whl

Tags

Capabilities
bloomberg data api clientbdp bds bdh helpersintraday bars ticks streamingbql beqs equity screeningasync bloomberg requestsarrow dataframe outputfinancial data workflows
Topics
bloomberg-apifinancial-dataasync-support

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “bloomberg data api client”

  • xbbgxbbg is a Bloomberg client for Python that provides high-level…
  • lseg-dataClient library for accessing LSEG Data Platform financial data…
  • mixpeekMixpeek is an auto-generated OpenAPI client library for accessing the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also lseg-data · openbb-equity · yahooquery · openbb-etf · yfinance · databento-dbn · efinance · openbb · fastexcel · polars-runtime-64