Skip to main content

Strategy Logo

image image image

mstrio-py: Simple and Secure Access to Strategy Data

Installation

Prerequisites

  • Python in version 3.10.x, 3.11.x, 3.12.x, 3.13.x, 3.14.x or 3.15.x
  • MicroStrategy 2019 Update 4 (11.1.4)+

Install mstrio-py Package

Note: it is NOT recommended to install mstrio-py in an Anaconda environment. For a seamless experience, install and run it in Python's virtual environment instead.

Install latest version of mstrio-py using pip command in Terminal:

pip install mstrio-py

To install a specific, archived version of mstrio, choose the desired version available on PyPI package archive and install with pip, as follows:

pip install mstrio-py==10.11.1

Issues or specific use cases

If there are any issues with the installation process it is possible your setup may differ from usual. In that case, please see below some examples of most common situations and how to resolve them.

In all other cases, please refer to the official Python libraries installation guide.

Offline System or Proxy with Blacklisted PyPI

Note: optimally, you should contact your system administrator and either request access to PyPI or some proxy setup whitelisting all or some of the PyPI libraries.

If your setup does not allow to get packages online directly from Python Packages Index (PyPI) using pip, you can download the package manually and install it locally.

  1. download .whl file from here: https://pypi.org/project/mstrio-py/#files
  2. in the terminal cd into a folder where you want to install mstrio-py
  3. use the command provided below after filling the path
    • py -m tells the terminal to use default install execution of python available locally on the machine
    • --user flag says "install only for my user on this machine"
  4. If you have issues with py command, try the same with python instead
cd path/where/mstrio/will/be/installed
py -m pip install --user path/to/downloaded/wheel/file/mstrio-py.whl

No Python or pip Installed on the Machine

You cannot use mstrio-py without Python installed on your machine unless directly via Strategy Workstation.

Documentation

Detailed information about mstrio-py package can be found in official documentation.

Main Features

Main features of mstrio-py allows to access Strategy data:

  • Connect to your Strategy environment using Connection class (see code_snippets)

    Note: to log into Library and use mstrio-py user needs to have UseLibrary privilege.

  • Import and filter data from a OlapCube, SuperCube or Report into a Pandas DataFrame (see code_snippets)

  • Export data into Strategy by creating or updating SuperCube (see code_snippets)

Since version 11.3.0.1, mstrio-py includes also administration modules:

Versioning & Changelog

Current version: 11.6.11.101 (13 November 2026). Check out CHANGELOG to see what's new.

mstrio-py is constantly developed to support the newest Strategy REST APIs. Functionalities may be added to mstrio on monthly basis. It is recommended to always install the newest version of mstrio-py, as it will be most stable and still maintain backwards compatibility with various Strategy installations, dating back to 11.1.4.

Features that will be added to the package but require APIs not supported by your environment (I-Server), will raise VersionException.

mstrio-py can be used for both, data-science related activities and for administrative tasks. Former requires at least MicroStrategy 2019 Update 4 (11.1.4), latter works with 11.2.1 and higher.

If you intend to use mstrio with MicroStrategy 2019 Update 3 (11.1.3) or older, refer to the PyPI package archive to download mstrio 10.11.1, which is supported on:

  • MicroStrategy 2019 (11.1)
  • MicroStrategy 2019 Update 1 (11.1.1)
  • MicroStrategy 2019 Update 2 (11.1.2)
  • MicroStrategy 2019 Update 3 (11.1.3)

Refer to the PyPI package archive for a list of available versions.

Additional Information

mstrio-py Configuration

You can customize some global mstrio-py's behavior by setting global configuration. Learn more in config code snippets.

Search for ID without additional data

mstrio-py has a dedicated method to identify what a particular object is knowing only its ID. Learn more in search actions code snippet

Deprecating Features

When features (modules, parameters, attributes, methods etc.) are marked for deprecation but still accessed, the following DeprecationWarning will be shown (example below). The functionality will continue to work until the version specified in the warning is released.

Deprecation warning

More Resources

Metadata

Release files for mstrio-py 11.6.11.101

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mstrio-py 11.6.11.101
File Size Uploaded Provenance Actions
mstrio_py-11.6.11.101.tar.gz 882.7 kB Without provenance Details for mstrio_py-11.6.11.101.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mstrio-py 11.6.11.101
File Interpreter ABI Platform Actions
mstrio_py-11.6.11.101-py3-none-any.whl Python 3 none any Details for mstrio_py-11.6.11.101-py3-none-any.whl

Total release size: 1.8 MB

Release files / mstrio_py-11.6.11.101.tar.gz

Download URL mstrio_py-11.6.11.101.tar.gz
Size 882.7 kB
Tags Source
SHA-256 checksum
How to use checksums
75224606daa085c4e55c234ef63e4ff36dda80fb3b02a04c287b02a62e4afe9a
BLAKE2b-256 checksum
How to use checksums
a7091f2795d99db77e66f99ee5e04d6366f031355b982d5495c8db48daff31dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / mstrio_py-11.6.11.101-py3-none-any.whl

Download URL mstrio_py-11.6.11.101-py3-none-any.whl
Size 919.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ba171244abe9f92117b03c590672dab335960b38b58cabaa10da6912f2c23c5
BLAKE2b-256 checksum
How to use checksums
818a01e4df2965102851b46a7d1e04a9382f1bafd816c9a5e139a199546ddf3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Security for mstrio-py 11.6.11.101

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

11.6.11.101 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page