msticpy is a set of Python tools intended to be used for security investigations and hunting. Many of the tools originated as code Jupyter notebooks written to solve a problem as part of a security investigation. Some of tools them are only useful in notebooks (e.g. much of the nbtools sub-package) but many others can be used from the Python commandline or imported into your code.
The package addresses three central needs for security investigators and hunters:
Acquiring and enriching data
Use Cases and Environments
Although msticpy was originally developed for use with Azure Sentinel, much of the package is agnostic to the data source. Data query components for Splunk, Microsoft 365 Defender Advanced, Microsoft Graph and others are also included.
The tool APIs typically accept a pandas DataFrame as input and, where appropriate, return output as a DataFrame.