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.8+ in Linux, MacOS and Windows.

import ezyara

rules = ezyara.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 ezyara 0.4.1

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

Source distribution (sdist)

Source distribution for ezyara 0.4.1
File Size Uploaded Provenance Actions
ezyara-0.4.1.tar.gz 493.2 kB Without provenance Details for ezyara-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ezyara 0.4.1
File Interpreter ABI Platform Actions
ezyara-0.4.1-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for ezyara-0.4.1-cp38-abi3-macosx_11_0_arm64.whl

Total release size: 6.7 MB

Release files / ezyara-0.4.1.tar.gz

Download URL ezyara-0.4.1.tar.gz
Size 493.2 kB
Tags Source
SHA-256 checksum
How to use checksums
50557f45b860121953c03e705f13148982906839b5462a49119d77d9e81f9eac
BLAKE2b-256 checksum
How to use checksums
8f4b7591de196075d1879f6e57bb2ed37c9f0fff575e6dccc37c95fd6150bb74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / ezyara-0.4.1-cp38-abi3-macosx_11_0_arm64.whl

Download URL ezyara-0.4.1-cp38-abi3-macosx_11_0_arm64.whl
Size 6.2 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8ff194a15d55743a134b5b3fdfc2cddc2735b77be2e06b9cc57f527b836e3d36
BLAKE2b-256 checksum
How to use checksums
e03d10aee84eeba5bae34d15ae355f27a832de59b230c499a1374060315183b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Security for ezyara 0.4.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.4.1 This release

2 release files No 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