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.23.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.23.0
File Size Uploaded Provenance Actions
yara_x-1.23.0.tar.gz 1.3 MB With provenance Details for yara_x-1.23.0.tar.gz

Built distributions (wheels)

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

Total release size: 94.8 MB

Release files / yara_x-1.23.0.tar.gz

Download URL yara_x-1.23.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
baceb27351e752e7833d246b7f4b96931e4ea81acbe00c10540a9f74ae861642
BLAKE2b-256 checksum
How to use checksums
bb422903438d2ba67d2b5276d364ab75c286e9154921c2763b0ef6dea9c2d852
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

Download URL yara_x-1.23.0-pp311-pypy311_pp80-win_amd64.whl
Size 8.5 MB
Tags PyPy 3.11 PyPy 3.11 8.0 Windows x86-64
SHA-256 checksum
How to use checksums
8f5bb521b317a62ce8655d5ceee4f068e310bc07191fde3bcaa65f5d875818eb
BLAKE2b-256 checksum
How to use checksums
4d0dd21e443ac026468961c6684d0d989bc5b73134a01c34dbc2b6250d2d7a17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

Download URL yara_x-1.23.0-pp311-pypy311_pp80-manylinux_2_28_x86_64.whl
Size 10.1 MB
Tags Linux glibc 2.28+ x86-64 PyPy 3.11 PyPy 3.11 8.0
SHA-256 checksum
How to use checksums
45355b01d6e39f4ea34c9902f0c1c2235f7fea8d4de4f79d0709fbefa913dca9
BLAKE2b-256 checksum
How to use checksums
d553ef03de5aab7b1d78563da18091aa778f630d7225849c79a8161d04b166dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

Download URL yara_x-1.23.0-pp311-pypy311_pp80-manylinux_2_28_aarch64.whl
Size 10.0 MB
Tags Linux glibc 2.28+ ARM64 PyPy 3.11 PyPy 3.11 8.0
SHA-256 checksum
How to use checksums
8b79d228bf194b2181350f40f82058bd16c1a72cb6750895d0f9baf5bbc5dfeb
BLAKE2b-256 checksum
How to use checksums
41c266f361651d808dc1e94c37226b4362fd28475146ba063219843d9345057d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

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

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 5, 2026.

Transparency log

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

Download URL yara_x-1.23.0-pp311-pypy311_pp80-macosx_14_0_arm64.whl
Size 8.6 MB
Tags PyPy 3.11 PyPy 3.11 8.0 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
3fdf44e4e9339f476a52087bd0656f510e82e4f579f7a87c4a807e79e9ae7602
BLAKE2b-256 checksum
How to use checksums
079fc6b946e5fc12ca496aa1610ed2f295e13618ed521edbf29a88817c4c7223
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

Download URL yara_x-1.23.0-cp39-abi3-win_amd64.whl
Size 8.8 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b234905b14cfb2999cb8055d1e7c07c57dd8aad1cdc5450c2db66d9d57803cc4
BLAKE2b-256 checksum
How to use checksums
279a077b85b080d8bf9c796a91ff89a6d8899ae2028e2760e97ed5016dade12e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

Download URL yara_x-1.23.0-cp39-abi3-manylinux_2_28_x86_64.whl
Size 10.1 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
fc2c0c4538b7d93f8d62c58f2e5a7890ed0ecac5fd465b776196cafc83c5c842
BLAKE2b-256 checksum
How to use checksums
152edced1bb146a66428c3ee00f9ee2e2614a2b023faed2933c2bc4c699a6a1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

Download URL yara_x-1.23.0-cp39-abi3-manylinux_2_28_aarch64.whl
Size 10.0 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
c04c702525bcf585d167f4edb8f07aa1bae13c4d3c82b5f84b987acfd0406ff1
BLAKE2b-256 checksum
How to use checksums
2e2f60d008f089b7c22c10c3e175d38d88fc74d3d0a59433542adb8c55525939
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

Download URL yara_x-1.23.0-cp39-abi3-macosx_14_0_x86_64.whl
Size 9.4 MB
Tags CPython 3.9 abi3 macOS 14.0+ x86-64
SHA-256 checksum
How to use checksums
e8fa888dc4e417bedfd01e9e35e8bc931d46ada8d5d9d9ea86a5a5cb035abf30
BLAKE2b-256 checksum
How to use checksums
b8a52a5dbe3849ab1a6a1a32958ef5e036ca1bb863d85ff860a264ac55d6cba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

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

Download URL yara_x-1.23.0-cp39-abi3-macosx_14_0_arm64.whl
Size 8.6 MB
Tags CPython 3.9 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
f179722428c7b6ad0c8ab5a98720701d31da3ec97cabbd11a6bf1c7218c2fd70
BLAKE2b-256 checksum
How to use checksums
40d6b2a2b94048e7c1a6a8fbe6a99b5a6fd990ae47afa281bc69008b8f9edcb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

Security for yara-x 1.23.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 11 files in this release have been uploaded with provenance metadata.

Select from 11 files

Attestation for yara_x-1.23.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 5, 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.23.0 This release

11 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