pyadomd
A pythonic approach to query SSAS data models
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code already using pyadomd or have no alternative for querying SSAS Tabular models from Python. The project is abandoned (last update 2022-06-05), requires complex Windows/.NET setup with manual path configuration, and carries high installation friction. For new projects, consider whether a REST-based approach to Analysis Services or a migration away from SSAS is feasible.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Windows, .NET Framework, and Microsoft.AnalysisServices.AdomdClient.dll installed and added to sys.path before importing pyadomd.
- ADOMD.NET path must be prepended to sys.path before any pyadomd import.
- Installation carries high friction: the package requires manual setup of the Microsoft.AnalysisServices.AdomdClient.dll path before import, and depends on .NET runtime components not bundled with Python.
License · maintenance · safety
Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions, though the abandoned maintenance status may limit practical support.
last release 2022-01-22 (1665 days) · last repo commit 2022-06-05 · 35 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 79,677 downloads/mo, #14,341 on PyPI
Alternatives
Verify before relying
from sys import path
path.append('\\Program Files\\Microsoft.NET\\ADOMD.NET\\150')
from pyadomd import Pyadomd
conn_str = 'Provider=MSOLAP;Data Source=localhost;Catalog=AdventureWorks;'
with Pyadomd(conn_str) as conn:
with conn.cursor().execute("EVALUATE Product") as cur:
print(cur.fetchall())- Whether the package works with Python versions beyond 3.6–3.8 (classifiers list only these, but requires_python is unspecified).
- Current compatibility with modern SSAS/AAS deployments and Azure authentication flows given the project's abandonment since 2022-06-05.
- Whether pandas integration is automatic or requires additional setup beyond the documented examples.
What it is and what it does
Pyadomd is a thin Python wrapper around Microsoft's ADOMD.NET client library, enabling queries against SQL Server Analysis Services (SSAS) Tabular models and Azure Analysis Services (AAS) from Python code. It exposes a cursor-based API similar to standard Python database connectors, allowing developers to execute queries and fetch results as tuples or integrate them directly into pandas DataFrames.
The package is Windows-only and requires manual setup: you must add the folder containing Microsoft.AnalysisServices.AdomdClient.dll to Python's sys.path before importing pyadomd, or the import will fail with a FileNotFoundException. Authentication to Azure Analysis Services requires app registration with Azure AD. The project has been abandoned since 2022-06-05 with no maintenance activity, making it a legacy tool suitable only for existing SSAS environments where no alternative exists.
Use it for
- Query SSAS Tabular models from Python scripts to extract data for analysis or reporting without leaving the Python ecosystem.
- Load SSAS query results directly into pandas DataFrames for downstream data manipulation and machine learning workflows.
- Automate data extraction from Azure Analysis Services for scheduled ETL or reporting pipelines using service principal authentication.
- Integrate SSAS data access into Python applications running on Windows where direct ADOMD.NET connectivity is available.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code already using pyadomd or have no alternative for querying SSAS Tabular models from Python.
The project is abandoned (last update 2022-06-05), requires complex Windows/.NET setup with manual path configuration, and carries high installation friction. For new projects, consider whether a REST-based approach to Analysis Services or a migration away from SSAS is feasible.
Install
pyadomd on PyPI
Before you install
Installation carries high friction: the package requires manual setup of the Microsoft.AnalysisServices.AdomdClient.dll path before import, and depends on .NET runtime components not bundled with Python. The project is abandoned (last commit June 2022), raising maintenance concerns for long-term use.
Requires Windows, .NET Framework, and Microsoft.AnalysisServices.AdomdClient.dll installed and added to sys.path before importing pyadomd. ADOMD.NET path must be prepended to sys.path before any pyadomd import.
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions, though the abandoned maintenance status may limit practical support.
Quickstart
from sys import path
path.append('\\Program Files\\Microsoft.NET\\ADOMD.NET\\150')
from pyadomd import Pyadomd
conn_str = 'Provider=MSOLAP;Data Source=localhost;Catalog=AdventureWorks;'
with Pyadomd(conn_str) as conn:
with conn.cursor().execute("EVALUATE Product") as cur:
print(cur.fetchall())
Verify before relying
- Whether the package works with Python versions beyond 3.6–3.8 (classifiers list only these, but requires_python is unspecified).
- Current compatibility with modern SSAS/AAS deployments and Azure authentication flows given the project's abandonment since 2022-06-05.
- Whether pandas integration is automatic or requires additional setup beyond the documented examples.
Package facts
| License | Apache License 2.0 permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,665 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 79,677 / month, #14,341 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Database |
Evidence: pyadomd-0.1.1.tar.gz
Tags
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 › “ssas tabular query python”
- pyadomdPyadomd provides a Python interface to query SQL Server Analysis…
- csvkitcsvkit provides command-line tools for converting, querying, and…
- cli-helpersCLI Helpers provides utilities for common command-line interface…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also adbc-driver-postgresql · salesforce-cdp-connector · adal · python-tds · adbc-driver-sqlite · aioodbc · pandasql · django-clickhouse · mltable · qpd