pymisp
Python API for MISP.
What it is and what it does
PyMISP is a Python wrapper around the MISP REST API that lets you programmatically interact with MISP threat intelligence platforms. It abstracts away HTTP details so you can fetch events, add or update attributes, manage samples, and search for indicators using Python code instead of manual API calls. The library represents MISP objects (events, attributes, samples) as Python dictionaries through an AbstractMISP base class, making them easy to manipulate and serialize to JSON.
The package is designed for security teams, threat researchers, and automation engineers who need to integrate MISP data into workflows, build detection pipelines, or synchronize threat intelligence across systems. It has three core dependencies (deprecated, python-dateutil, requests) and optional extras for specialized tasks like PDF report generation, VirusTotal integration, and email object creation. The library is actively maintained, supports Python 3.10 through 3.14, and has been in development since 2015.
Use it for:
- Automate the ingestion of threat indicators from MISP into your detection or response platform.
- Build scripts to bulk-create or update MISP events and attributes from external threat feeds.
- Query MISP for indicators matching specific criteria and export them for use in firewalls or SIEMs.
- Programmatically attach samples or malware hashes to MISP events as part of an incident response workflow.
- Synchronize threat intelligence between multiple MISP instances or integrate MISP data into custom dashboards.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PyMISP is a Python library that connects to MISP platforms via their REST API to fetch, create, update, and search threat intelligence events and attributes.
Yes. PyMISP is actively maintained, has low install friction, carries no known vulnerabilities, and is the standard Python client for MISP platforms. Install it if you need to automate threat intelligence workflows or integrate MISP into a larger security system. The permissive BSD-2-Clause license poses no restriction.
Install
pymisp on PyPI
pip
pip install pymispuv
uv add pymisppoetry
poetry add pymispInstalling pymisp
Before you install
Low install friction with three core runtime dependencies (deprecated, python-dateutil, requests). Active maintenance with a release on 2026-08-14 and recent commits. Supports modern Python versions (3.10–3.14).
License in practice
Distributed under BSD-2-Clause (permissive license), which allows commercial and private use with minimal restrictions—only requiring preservation of copyright and license notices.
Quickstart
pip3 install pymisp
from pymisp import PyMISP
misp = PyMISP('https://your-misp-instance.com', 'your-api-key')
events = misp.search(eventid=1)
Requires a running MISP instance and valid API credentials; the MISP automation key must be obtained from the web interface's Automation section.
Verify before relying
- Whether optional dependencies (fileobjects, virustotal, pdfexport, etc.) are required for specific use cases or truly optional.
- Performance characteristics when working with large event datasets or high-frequency API calls.
- Compatibility guarantees with specific MISP server versions.
Package facts
| License | BSD-2-Clause (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — deprecated, python-dateutil, requests |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 829,504/month — #4,953 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pymisp-2.5.34.2-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
simplisafe-pythonAn async Python interface to the SimpliSafe API…
permissive · top 15,000 on PyPI
imap-toolsA high-level Python library for IMAP email…
permissive · top 15,000 on PyPI
vt-pyOfficial Python client for the VirusTotal REST…
permissive · top 15,000 on PyPI
pdfidAnalyzes PDF files to identify potentially…
permissive · top 15,000 on PyPI
pyisyPyISY is a Python library for asynchronous…
permissive · top 15,000 on PyPI
virustotal3Provides a Python 3 client library for the…
unclear · top 15,000 on PyPI
OTXv2OTXv2 is a Python client for AlienVault's Open…
unclear · top 15,000 on PyPI
pyippAsynchronous Python client for querying and…
permissive · top 15,000 on PyPI
cisco-ai-mcp-scannerScans MCP (Model Context Protocol) servers and…
unclear · top 15,000 on PyPI
PyMySQLPyMySQL is a pure-Python MySQL and MariaDB…
permissive · top 1,000 on PyPI