Python bindings for YARA-X
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yara_x-1.13.0-pp311-pypy311_pp73-win_amd64.whl.
File metadata
- Download URL: yara_x-1.13.0-pp311-pypy311_pp73-win_amd64.whl
- Upload date:
- Size: 8.2 MB
- Tags: PyPy, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
025f43cd804d1037d909d8677fb13cbec99479245a6065e5447ac977bc041f6b
|
|
| MD5 |
cd5fc95e258b5c7be3823771cbe9e3d3
|
|
| BLAKE2b-256 |
4fc23f64168c4d1628015bc861f8aedaba428eb0885856beab16df5d9be91a59
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-pp311-pypy311_pp73-win_amd64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-pp311-pypy311_pp73-win_amd64.whl -
Subject digest:
025f43cd804d1037d909d8677fb13cbec99479245a6065e5447ac977bc041f6b - Sigstore transparency entry: 924457605
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type:
File details
Details for the file yara_x-1.13.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: yara_x-1.13.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 9.6 MB
- Tags: PyPy, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
102d4139f8640c791cb6ddac8d83fdebfc86e226687de2aae0fdd5408da1bb26
|
|
| MD5 |
3ebd928ae06d18e7fe60e5a1b0a6b9d4
|
|
| BLAKE2b-256 |
d8546d67bee22ca8589740ec7edae0be251d50fc33b330e2f495866114ca07b4
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl -
Subject digest:
102d4139f8640c791cb6ddac8d83fdebfc86e226687de2aae0fdd5408da1bb26 - Sigstore transparency entry: 924457617
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type:
File details
Details for the file yara_x-1.13.0-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: yara_x-1.13.0-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 9.2 MB
- Tags: PyPy, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1fe5867642ba9cd97b0f2ce14dcae44a821fcbdeeb38e042a80b283a6751697
|
|
| MD5 |
b49b053b7ecf63f04b4eebaa278a8d4a
|
|
| BLAKE2b-256 |
40b665d27f31d770deb36c4f575a4e0b65314bee5cb4844257cc3036436aad28
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl -
Subject digest:
f1fe5867642ba9cd97b0f2ce14dcae44a821fcbdeeb38e042a80b283a6751697 - Sigstore transparency entry: 924457598
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type:
File details
Details for the file yara_x-1.13.0-pp311-pypy311_pp73-macosx_14_0_x86_64.whl.
File metadata
- Download URL: yara_x-1.13.0-pp311-pypy311_pp73-macosx_14_0_x86_64.whl
- Upload date:
- Size: 9.1 MB
- Tags: PyPy, macOS 14.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f631225a09e1cfffd61ed33fa26d679234c81b7840d2063b339ee2f677037514
|
|
| MD5 |
cad289f2bb7663bb52bddb4731a3d41b
|
|
| BLAKE2b-256 |
89a1e6b82f69fac4a581548f64984d59914c081ffb51a999439f1b76baa5a9e2
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-pp311-pypy311_pp73-macosx_14_0_x86_64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-pp311-pypy311_pp73-macosx_14_0_x86_64.whl -
Subject digest:
f631225a09e1cfffd61ed33fa26d679234c81b7840d2063b339ee2f677037514 - Sigstore transparency entry: 924457609
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type:
File details
Details for the file yara_x-1.13.0-pp311-pypy311_pp73-macosx_14_0_arm64.whl.
File metadata
- Download URL: yara_x-1.13.0-pp311-pypy311_pp73-macosx_14_0_arm64.whl
- Upload date:
- Size: 8.3 MB
- Tags: PyPy, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9b3d5a91febfb7a90e36d2cfcc5d2dc63897a3f8dc9a290846a8c8eade5d0ee
|
|
| MD5 |
8543e93107f74fd10541a684aa7c63e3
|
|
| BLAKE2b-256 |
5e7812f9c68577cb14dbe32b971c881d391fcf5befc350200f8d2743cf08df73
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-pp311-pypy311_pp73-macosx_14_0_arm64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-pp311-pypy311_pp73-macosx_14_0_arm64.whl -
Subject digest:
f9b3d5a91febfb7a90e36d2cfcc5d2dc63897a3f8dc9a290846a8c8eade5d0ee - Sigstore transparency entry: 924457564
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type:
File details
Details for the file yara_x-1.13.0-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: yara_x-1.13.0-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 8.2 MB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a8a0bb9e28edd8e07533eca824838026695ec995bc82c4b8ddc400878241c44
|
|
| MD5 |
65b8ca397ab7b4dc4af3bcad8be54e36
|
|
| BLAKE2b-256 |
8e3d883980af3fab359a187f4c25fcf86676fb6cac6fba5ddb6d39819fcae79b
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-cp38-abi3-win_amd64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-cp38-abi3-win_amd64.whl -
Subject digest:
9a8a0bb9e28edd8e07533eca824838026695ec995bc82c4b8ddc400878241c44 - Sigstore transparency entry: 924457571
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type:
File details
Details for the file yara_x-1.13.0-cp38-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: yara_x-1.13.0-cp38-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 9.6 MB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
454da594605f96b8ade9ea188ea89dc292c38f50630d50ba02e9c292e29d26e1
|
|
| MD5 |
fd597c38de198ddef04a968ca2ad5afe
|
|
| BLAKE2b-256 |
ef3bcc6541e7c205d72aa6ca4adfd3149526d3bd6eb9dc26fc7f36eece815a48
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-cp38-abi3-manylinux_2_28_x86_64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-cp38-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
454da594605f96b8ade9ea188ea89dc292c38f50630d50ba02e9c292e29d26e1 - Sigstore transparency entry: 924457549
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type:
File details
Details for the file yara_x-1.13.0-cp38-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: yara_x-1.13.0-cp38-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 9.2 MB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b003d79e0e82d496230de63e02c2d707ec5daacae98097d6e6ac349a123584a5
|
|
| MD5 |
8c5da0005cfef3546fc2d27da6400f00
|
|
| BLAKE2b-256 |
417511e81039ce02689eaaae367aba4532000f04317985730294c6e32b5e2a8f
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-cp38-abi3-manylinux_2_28_aarch64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-cp38-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
b003d79e0e82d496230de63e02c2d707ec5daacae98097d6e6ac349a123584a5 - Sigstore transparency entry: 924457543
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type:
File details
Details for the file yara_x-1.13.0-cp38-abi3-macosx_14_0_x86_64.whl.
File metadata
- Download URL: yara_x-1.13.0-cp38-abi3-macosx_14_0_x86_64.whl
- Upload date:
- Size: 9.1 MB
- Tags: CPython 3.8+, macOS 14.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d77f7f41960197f405bb09a8c10192ef0490177ff3d5a3a924e3cac9000b763
|
|
| MD5 |
ef42ea1d7074eab72714f8b0ea7a7af8
|
|
| BLAKE2b-256 |
f73b852e795a3570fb5f18334364e094637df53f25cf0dc84220550b49b1da54
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-cp38-abi3-macosx_14_0_x86_64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-cp38-abi3-macosx_14_0_x86_64.whl -
Subject digest:
2d77f7f41960197f405bb09a8c10192ef0490177ff3d5a3a924e3cac9000b763 - Sigstore transparency entry: 924457591
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type:
File details
Details for the file yara_x-1.13.0-cp38-abi3-macosx_14_0_arm64.whl.
File metadata
- Download URL: yara_x-1.13.0-cp38-abi3-macosx_14_0_arm64.whl
- Upload date:
- Size: 8.3 MB
- Tags: CPython 3.8+, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2caaed814bce567c1b8a8789c6a5c6cfd6aa56551bd37e02d2678ea4489c7114
|
|
| MD5 |
eb3c222d201c7b85035f4b2793ff95ec
|
|
| BLAKE2b-256 |
5c21d1eb871a87f96902ff140f91418027a5adcfe3721fd4b841ac5629c4c019
|
Provenance
The following attestation bundles were made for yara_x-1.13.0-cp38-abi3-macosx_14_0_arm64.whl:
Publisher:
release.yaml on VirusTotal/yara-x
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yara_x-1.13.0-cp38-abi3-macosx_14_0_arm64.whl -
Subject digest:
2caaed814bce567c1b8a8789c6a5c6cfd6aa56551bd37e02d2678ea4489c7114 - Sigstore transparency entry: 924457558
- Sigstore integration time:
-
Permalink:
VirusTotal/yara-x@d397e8c3feee79e91f4b389288ba244264da2813 -
Branch / Tag:
refs/tags/v1.13.0 - Owner: https://github.com/VirusTotal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d397e8c3feee79e91f4b389288ba244264da2813 -
Trigger Event:
create
-
Statement type: