
If passing parameters to the report, they can be passed as a dictionary as an argument called ‘parameters’. To install SSPYRS, execute in console: pip install sspyrs Usage and Documentation Report ObjectsĪ report object can be initialized as follows: import sspyrs SSPYRS has been validated to work with SSRS 2008 R2, SSRS 2014, and SSRS 2016, SSRS 2017, and PowerBI Server 2017 under most server settings. The library does include direct download functions for the Excel export included in the express version, however it will not read the data directly into memory. However, this neither XML nor CSV exports are provided in the free express versions of SQL Server (they are available within the currently free developer editions of SQL Server 2017). The SSPYRS library works primarily from the XML export functionality of SSRS. Report data can be interacted with via raw XML, but has predefined methods to organize it into Pandas DataFrame objects.


Perform authentication to an SSRS server, initialize a session, and then retrieve the report data from that session. The core functionality of the library is straightforward.

The SSPYRS (SQL Server Python Reporting Services) library is a lightweight interface for interacting with and retrieving data from SSRS reports.
