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.24.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.24.0
File Size Uploaded Provenance Actions
yara_x-1.24.0.tar.gz 1.3 MB With provenance Details for yara_x-1.24.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for yara-x 1.24.0
File Actions
yara_x-1.24.0-pp311-pypy311_pp80-win_amd64.whl PyPy 3.11 PyPy 3.11 8.0 Windows x86-64 Details for yara_x-1.24.0-pp311-pypy311_pp80-win_amd64.whl
yara_x-1.24.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.24.0-pp311-pypy311_pp80-manylinux_2_28_x86_64.whl
yara_x-1.24.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.24.0-pp311-pypy311_pp80-manylinux_2_28_aarch64.whl
yara_x-1.24.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.24.0-pp311-pypy311_pp80-macosx_14_0_x86_64.whl
yara_x-1.24.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.24.0-pp311-pypy311_pp80-macosx_14_0_arm64.whl
yara_x-1.24.0-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for yara_x-1.24.0-cp39-abi3-win_arm64.whl
yara_x-1.24.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for yara_x-1.24.0-cp39-abi3-win_amd64.whl
yara_x-1.24.0-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for yara_x-1.24.0-cp39-abi3-manylinux_2_28_x86_64.whl
yara_x-1.24.0-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for yara_x-1.24.0-cp39-abi3-manylinux_2_28_aarch64.whl
yara_x-1.24.0-cp39-abi3-macosx_14_0_x86_64.whl CPython 3.9 abi3 macOS 14.0+ x86-64 Details for yara_x-1.24.0-cp39-abi3-macosx_14_0_x86_64.whl
yara_x-1.24.0-cp39-abi3-macosx_14_0_arm64.whl CPython 3.9 abi3 macOS 14.0+ ARM64 Details for yara_x-1.24.0-cp39-abi3-macosx_14_0_arm64.whl

Total release size: 103.6 MB

Release files / yara_x-1.24.0.tar.gz

Download URL yara_x-1.24.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f9787d8b0c2f7bf2d8c9bf7f70c90f00179d5701adce44143476b7109f54e2ba
BLAKE2b-256 checksum
How to use checksums
40e5ff2fe4c626f2aa73a8f6a9ef1c07fa52f210b8f9a43ff4ba34667a82188c
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-pp311-pypy311_pp80-win_amd64.whl
Size 8.6 MB
Tags PyPy 3.11 PyPy 3.11 8.0 Windows x86-64
SHA-256 checksum
How to use checksums
b5e6b351e251dd6741735447f163931936c4aeb1a91044fe47e8b990a6d537ba
BLAKE2b-256 checksum
How to use checksums
f2a21b5722aadde226ad5814ea0db779371c645c0af754311c31a70c35c4fe61
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-pp311-pypy311_pp80-manylinux_2_28_x86_64.whl
Size 10.2 MB
Tags Linux glibc 2.28+ x86-64 PyPy 3.11 PyPy 3.11 8.0
SHA-256 checksum
How to use checksums
40e2e362521a47e8db954e6de3020037c969c015614e71ec792f605931af2d51
BLAKE2b-256 checksum
How to use checksums
bef4344e6bd0636252a043db8d513c67a396bef93d267294ce75b3db8a0ea849
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-pp311-pypy311_pp80-manylinux_2_28_aarch64.whl
Size 10.1 MB
Tags Linux glibc 2.28+ ARM64 PyPy 3.11 PyPy 3.11 8.0
SHA-256 checksum
How to use checksums
5f3294d1aa2079b1b47dba6ab5ed947a5c6cd9d78ff24429afb227512cc73e58
BLAKE2b-256 checksum
How to use checksums
8f17bc5a21ab934dc70d78682c3c9107389985cd8ef5f81dac0591cd516e87be
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-pp311-pypy311_pp80-macosx_14_0_x86_64.whl
Size 9.5 MB
Tags PyPy 3.11 PyPy 3.11 8.0 macOS 14.0+ x86-64
SHA-256 checksum
How to use checksums
01d1358c297165daef13db1a8c2761606ca9a4ab8f0c2fb8a8da57991a4021b6
BLAKE2b-256 checksum
How to use checksums
d82c32723f97d9e03e0d02227b8175d1be9478047cd7b6f173b13c615b44aa6c
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-pp311-pypy311_pp80-macosx_14_0_arm64.whl
Size 8.7 MB
Tags PyPy 3.11 PyPy 3.11 8.0 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
f647e3ef5612fcb69ef138c58befbce006c00c5309d2dd2fc6e17ca9cfd3be1e
BLAKE2b-256 checksum
How to use checksums
b4bdbd70abe159fb4ea19a2c06d3e6e1cf3c35be69984a82268945a9637d4442
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-cp39-abi3-win_arm64.whl
Size 7.8 MB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
5d62671c5b713fadca3f91e420383a742fbb304331997acd0eefbb884ec9af9d
BLAKE2b-256 checksum
How to use checksums
cd64aba1f42fbc715f167d7baa48f738da64bab498119010bdbe483a0fdb5824
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-cp39-abi3-win_amd64.whl
Size 8.9 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ce52bbf23683f47515bf493ee3d7c8346f3742c0dc5c654c389b8495b3dbfaca
BLAKE2b-256 checksum
How to use checksums
8c526381a0e38246dfd81965b5f24c34dcd20bf7bb73dc5795183cf746a8c305
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-cp39-abi3-manylinux_2_28_x86_64.whl
Size 10.2 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
47ebdf73da496f9140065f497e16cda1581773b27ea96406e213c1964094b398
BLAKE2b-256 checksum
How to use checksums
b616905b0aa40a6dc317ebec388899689025c29f22d2aa8eeeb5d0debfdb4002
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-cp39-abi3-manylinux_2_28_aarch64.whl
Size 10.1 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
3d1eb298806005652b979703e3da88f1acbb5e85136ebc32a6bb3dbadcfcb875
BLAKE2b-256 checksum
How to use checksums
7ee883bfd0fa80943e63a03fd7dba79aa8bd205abf0f535308a1ed8490f37be8
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-cp39-abi3-macosx_14_0_x86_64.whl
Size 9.5 MB
Tags CPython 3.9 abi3 macOS 14.0+ x86-64
SHA-256 checksum
How to use checksums
1f7b622eaae7cc726112b4bea52042170f1594c84241aca37990349cd7f5e0e7
BLAKE2b-256 checksum
How to use checksums
8c7e8fcb17e55087e7d24d3c4d35e4fb151352eb3c725517d43cb2ad7ecd81fc
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 20, 2026.

Transparency log

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

Download URL yara_x-1.24.0-cp39-abi3-macosx_14_0_arm64.whl
Size 8.7 MB
Tags CPython 3.9 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
0b63feb47c41d8b2cb0c85ca33b3d5ffb58a68cdca0aa9ba4ab61f75a81321c4
BLAKE2b-256 checksum
How to use checksums
d9feb66d6f6f1380c1652fc5d2627ad98e8ac59dff3d6c51d104c451d9bb167d
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 20, 2026.

Transparency log

Security for yara-x 1.24.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.24.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 20, 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.24.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