Skip to main content

PyPI - Version PyPI - License Documentation Downloads Downloads per week GitHub Repo stars

The official Python library for YARA-X. Supports Python 3.9+ in Linux, MacOS and Windows.

import yara_x

rules = yara_x.compile('''
  rule test { 
    strings: 
      $a = "foobar" 
    condition: 
      $a
  }''')

results = rules.scan(b"foobar")

assert results.matching_rules[0].identifier == "test"
assert results.matching_rules[0].patterns[0].identifier == "$a"
assert results.matching_rules[0].patterns[0].matches[0].offset == 0
assert results.matching_rules[0].patterns[0].matches[0].length == 6

For more information about how to use this library, please check the documentation.

Metadata

Release files for yara-x 1.25.0

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

Source distribution (sdist)

Source distribution for yara-x 1.25.0
File Size Uploaded Provenance Actions
yara_x-1.25.0.tar.gz 1.4 MB With provenance Details for yara_x-1.25.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for yara-x 1.25.0
File Actions
yara_x-1.25.0-pp311-pypy311_pp80-win_amd64.whl PyPy 3.11 PyPy 3.11 8.0 Windows x86-64 Details for yara_x-1.25.0-pp311-pypy311_pp80-win_amd64.whl
yara_x-1.25.0-pp311-pypy311_pp80-manylinux_2_28_x86_64.whl PyPy 3.11 PyPy 3.11 8.0 Linux glibc 2.28+ x86-64 Details for yara_x-1.25.0-pp311-pypy311_pp80-manylinux_2_28_x86_64.whl
yara_x-1.25.0-pp311-pypy311_pp80-manylinux_2_28_aarch64.whl PyPy 3.11 PyPy 3.11 8.0 Linux glibc 2.28+ ARM64 Details for yara_x-1.25.0-pp311-pypy311_pp80-manylinux_2_28_aarch64.whl
yara_x-1.25.0-pp311-pypy311_pp80-macosx_14_0_x86_64.whl PyPy 3.11 PyPy 3.11 8.0 macOS 14.0+ x86-64 Details for yara_x-1.25.0-pp311-pypy311_pp80-macosx_14_0_x86_64.whl
yara_x-1.25.0-pp311-pypy311_pp80-macosx_14_0_arm64.whl PyPy 3.11 PyPy 3.11 8.0 macOS 14.0+ ARM64 Details for yara_x-1.25.0-pp311-pypy311_pp80-macosx_14_0_arm64.whl
yara_x-1.25.0-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for yara_x-1.25.0-cp39-abi3-win_arm64.whl
yara_x-1.25.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for yara_x-1.25.0-cp39-abi3-win_amd64.whl
yara_x-1.25.0-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for yara_x-1.25.0-cp39-abi3-manylinux_2_28_x86_64.whl
yara_x-1.25.0-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for yara_x-1.25.0-cp39-abi3-manylinux_2_28_aarch64.whl
yara_x-1.25.0-cp39-abi3-macosx_14_0_x86_64.whl CPython 3.9 abi3 macOS 14.0+ x86-64 Details for yara_x-1.25.0-cp39-abi3-macosx_14_0_x86_64.whl
yara_x-1.25.0-cp39-abi3-macosx_14_0_arm64.whl CPython 3.9 abi3 macOS 14.0+ ARM64 Details for yara_x-1.25.0-cp39-abi3-macosx_14_0_arm64.whl

Total release size: 105.5 MB

Release files / yara_x-1.25.0.tar.gz

Download URL yara_x-1.25.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
bfcabc91ed2a49edfb96299fd4474426d062067a0886f0d53e59c4a256886b77
BLAKE2b-256 checksum
How to use checksums
2da747d05d3d4daa0b29535f6ab1fbcfdfce3db1b865962649677895be95fd11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-pp311-pypy311_pp80-win_amd64.whl

Download URL yara_x-1.25.0-pp311-pypy311_pp80-win_amd64.whl
Size 8.8 MB
Tags PyPy 3.11 PyPy 3.11 8.0 Windows x86-64
SHA-256 checksum
How to use checksums
c59dacd706439b3b252c71210bc892f0c534bce285ae5b4a25df32c1ce3cee35
BLAKE2b-256 checksum
How to use checksums
c612e235860d0a27a21848a49f4286a9ae5e728f8821c4bb091e2c0fd8ac3c38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-pp311-pypy311_pp80-manylinux_2_28_x86_64.whl

Download URL yara_x-1.25.0-pp311-pypy311_pp80-manylinux_2_28_x86_64.whl
Size 10.4 MB
Tags Linux glibc 2.28+ x86-64 PyPy 3.11 PyPy 3.11 8.0
SHA-256 checksum
How to use checksums
6115a02649c251f445802a0ea3ea6056fc63cad62fc9e829e3a0bdaf01c950a5
BLAKE2b-256 checksum
How to use checksums
964c246de1b72282b734a7962e7a46cc0c7723689d5ad9d878f9a12648417c98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-pp311-pypy311_pp80-manylinux_2_28_aarch64.whl

Download URL yara_x-1.25.0-pp311-pypy311_pp80-manylinux_2_28_aarch64.whl
Size 10.3 MB
Tags Linux glibc 2.28+ ARM64 PyPy 3.11 PyPy 3.11 8.0
SHA-256 checksum
How to use checksums
c4368dc19e9efcf91050c5e9c56f20309bcc2c34cbaff531f7381d0e680018eb
BLAKE2b-256 checksum
How to use checksums
c8791c62c9c310eb2c1b408e41a89e6571152d26ae3c265154fffb2d3cb93403
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-pp311-pypy311_pp80-macosx_14_0_x86_64.whl

Download URL yara_x-1.25.0-pp311-pypy311_pp80-macosx_14_0_x86_64.whl
Size 9.7 MB
Tags PyPy 3.11 PyPy 3.11 8.0 macOS 14.0+ x86-64
SHA-256 checksum
How to use checksums
fd3c7e8582910313f2a652422805cc76e0bb6af1d7aa22d4c27ed175c63fce17
BLAKE2b-256 checksum
How to use checksums
dd7c102f799ca8990c192e317681aeeaa5aad650230df366b8c69cac0d097808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-pp311-pypy311_pp80-macosx_14_0_arm64.whl

Download URL yara_x-1.25.0-pp311-pypy311_pp80-macosx_14_0_arm64.whl
Size 8.9 MB
Tags PyPy 3.11 PyPy 3.11 8.0 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
ec41aa9861800d73aa02b45d97909ad40c73cdc35f280ed47e0b59c33fc16a56
BLAKE2b-256 checksum
How to use checksums
8a2febbf3e06e75efc2d344e8ce5daae7b8b71f622df373f791aff65afb58214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-cp39-abi3-win_arm64.whl

Download URL yara_x-1.25.0-cp39-abi3-win_arm64.whl
Size 7.9 MB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
6a111a202e669ec274ebcf59b13ed6e005cefb2c695dd40e304a78a8dd87d606
BLAKE2b-256 checksum
How to use checksums
6b1c54cd20ae9d0c127e5e29ab05ea4a733ee5e05dd62ec1097e889611a6f04b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-cp39-abi3-win_amd64.whl

Download URL yara_x-1.25.0-cp39-abi3-win_amd64.whl
Size 9.1 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
22c581e935b1114ad0c55f6dc2f5e4e57ea3afa549f54c47151509fee17dfb1c
BLAKE2b-256 checksum
How to use checksums
a95529a17abb1647b29c1be8001aa2187d114fd20b9fb87143f13bb6b08a4a79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL yara_x-1.25.0-cp39-abi3-manylinux_2_28_x86_64.whl
Size 10.4 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
89f2f7c4f2bf58808226d268a84272a24e29e53e87390512826b40a1fd5398a6
BLAKE2b-256 checksum
How to use checksums
1f307dc732c9d5d25a0e7b114cf97b4c330b9071a66dcd5b7b3fd6fc9a65bd0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL yara_x-1.25.0-cp39-abi3-manylinux_2_28_aarch64.whl
Size 10.3 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
52eb13f9368a22e0611afe2b6ed99a5366f7cba30be062c63db704f55273ba92
BLAKE2b-256 checksum
How to use checksums
a0191bc09534b7246f89f17fbc5c300512ee15eb6e73e8fa03f605003fb58552
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-cp39-abi3-macosx_14_0_x86_64.whl

Download URL yara_x-1.25.0-cp39-abi3-macosx_14_0_x86_64.whl
Size 9.7 MB
Tags CPython 3.9 abi3 macOS 14.0+ x86-64
SHA-256 checksum
How to use checksums
ea767c96818eb9357f046b48c3b7fb276ca8bbb7c033cbd3f0f15cdd27b433df
BLAKE2b-256 checksum
How to use checksums
97a80ce70c55e13d39f5c34b0fb2a7cc823f9bae987990bb942d4ae7a34114b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yara_x-1.25.0-cp39-abi3-macosx_14_0_arm64.whl

Download URL yara_x-1.25.0-cp39-abi3-macosx_14_0_arm64.whl
Size 8.9 MB
Tags CPython 3.9 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
84f1b547f1a97703ac766af3679ced51fca13cd7dfaf376f171de9f589cfb7be
BLAKE2b-256 checksum
How to use checksums
88c75e80155b8c86a0ee1e3a73bb17349867508754f9c399f9042480d4864630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for yara-x 1.25.0

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.

Full provenance

All 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for yara_x-1.25.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

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

1.25.0 This release

12 release files Full 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