pySigma
Sigma rule processing and conversion tools
Decision gist · record as of 2026-08-14
Yes. pySigma is actively maintained, has low install friction, no security vulnerabilities, and fills a clear need for teams managing detection rules across multiple platforms. The copyleft license (LGPL-2.1-only) is standard for security tooling and poses no barrier for most use cases. Install it if you work with Sigma rules or need to convert detection logic across SIEM platforms.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; backend-specific conversion requires installing a dedicated backend package separate from pySigma itself.
- Low friction: pure Python wheel with no compiled dependencies.
- Active maintenance with a release 14 days ago; requires Python 3.10 or later.
License · maintenance · safety
LGPL-2.1-only (copyleft) — Licensed under LGPL-2.1-only (copyleft). Derivative works and modifications must be distributed under the same license; static linking or distribution of modified versions requires source disclosure.
last release 2026-07-31 (14 days) · last repo commit 2026-08-12 · 584 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 465,960 downloads/mo, #6,506 on PyPI
Alternatives
Verify before relying
pip install pysigma
import pyyaml
import jinja2
import requests
# pySigma parses Sigma rules and converts them via backend plugins
# Backend-specific conversion requires installing a dedicated backend package- Whether the package handles all Sigma rule syntax versions or has known limitations in rule parsing coverage.
- Performance characteristics when processing large rule sets or complex detection logic.
- Stability of the plugin/backend extension API across minor versions.
- Concrete examples of rule conversion workflows beyond what the description excerpt provides.
What it is and what it does
pySigma is a Python library that parses Sigma detection rules—a vendor-neutral format for security detection logic—and converts them into queries for specific security backends and log analysis platforms. It replaces the older sigmac tool with a cleaner, modular architecture where the core library remains slim and vendor-agnostic, while support for specific query languages and log data models is provided by separate backend and pipeline packages.
The library is designed for security engineers and threat hunters who need to translate detection rules across different SIEM and log analysis platforms without rewriting them for each system. It includes support for rule modifiers and processing pipelines. The project is actively maintained, supports Python 3.10 through 3.14, and has no known security vulnerabilities.
Use it for
- Translate threat detection rules across multiple SIEM platforms from a single Sigma rule source.
- Apply data model transformations to Sigma rules before backend conversion.
- Build custom backends for proprietary or internal log analysis systems using the extension framework.
- Validate and test Sigma rule syntax and logic before deploying to production systems.
- Migrate detection logic from legacy sigmac toolchain to the modular pySigma architecture.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
pySigma is actively maintained, has low install friction, no security vulnerabilities, and fills a clear need for teams managing detection rules across multiple platforms. The copyleft license (LGPL-2.1-only) is standard for security tooling and poses no barrier for most use cases. Install it if you work with Sigma rules or need to convert detection logic across SIEM platforms.
Install
pysigma on PyPI
Before you install
Low friction: pure Python wheel with no compiled dependencies. Active maintenance with a release 14 days ago; requires Python 3.10 or later. Ten runtime dependencies are all standard libraries.
Requires Python 3.10 or later; backend-specific conversion requires installing a dedicated backend package separate from pySigma itself.
License in practice
Licensed under LGPL-2.1-only (copyleft). Derivative works and modifications must be distributed under the same license; static linking or distribution of modified versions requires source disclosure.
Quickstart
pip install pysigma
import pyyaml
import jinja2
import requests
# pySigma parses Sigma rules and converts them via backend plugins
# Backend-specific conversion requires installing a dedicated backend package
Verify before relying
- Whether the package handles all Sigma rule syntax versions or has known limitations in rule parsing coverage.
- Performance characteristics when processing large rule sets or complex detection logic.
- Stability of the plugin/backend extension API across minor versions.
- Concrete examples of rule conversion workflows beyond what the description excerpt provides.
Package facts
| License | LGPL-2.1-only copyleft |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 10 packagesdiskcachediskcache-stubsjinja2jqpackagingpyparsingpyyamlrequeststypes-pyyamltyping-extensions |
| Maintenance | Actively maintained 14 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 465,960 / month, #6,506 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Security |
Evidence: pysigma-1.5.0-py3-none-any.whl
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 › “sigma rule parsing and conversion”
- pySigmaParses and converts Sigma detection rules into queries for various…
- sigmatoolsSigmatools provides command-line utilities and a Python library for…
- pySigma-backend-elasticsearchTranslates Sigma security rules into Elasticsearch query formats…
Give your agent the search over MCP, or paste the wish link into any chat.
More Security packages
Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.
MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.
joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.
Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.
Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.
ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.
Install only if maintaining existing code that already depends on it, and plan a migration.
See also pySigma-backend-elasticsearch · pysigma-backend-splunk · sigmatools · ipysigma · skope-rules · PyMeta3 · threatwire · plyara · pynini · json_logic_qubit