ezyara


Nameezyara JSON
Version 0.4.1 PyPI version JSON
download
home_pageNone
SummaryPython bindings for YARA-X
upload_time2024-06-18 01:36:45
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords pattern-matching cybersecurity forensics malware yara
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![PyPI - Version](https://img.shields.io/pypi/v/yara-x)
![PyPI - License](https://img.shields.io/pypi/l/yara-x)
[![Documentation](https://img.shields.io/badge/doc-latest-blue.svg)](https://virustotal.github.io/yara-x/docs/api/python)
[![Downloads](https://pepy.tech/badge/yara-x)](https://pepy.tech/project/yara-x)
[![Downloads per week](https://pepy.tech/badge/yara-x/week)](https://pepy.tech/project/yara-x)
![GitHub Repo stars](https://img.shields.io/github/stars/VirusTotal/yara-x)

The official Python library for [YARA-X](https://virustotal.github.io/yara-x).
Supports Python 3.8+ in Linux, MacOS and Windows.

```python
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](https://virustotal.github.io/yara-x/docs/api/python).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ezyara",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "pattern-matching, cybersecurity, forensics, malware, yara",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/8f/4b/7591de196075d1879f6e57bb2ed37c9f0fff575e6dccc37c95fd6150bb74/ezyara-0.4.1.tar.gz",
    "platform": null,
    "description": "![PyPI - Version](https://img.shields.io/pypi/v/yara-x)\n![PyPI - License](https://img.shields.io/pypi/l/yara-x)\n[![Documentation](https://img.shields.io/badge/doc-latest-blue.svg)](https://virustotal.github.io/yara-x/docs/api/python)\n[![Downloads](https://pepy.tech/badge/yara-x)](https://pepy.tech/project/yara-x)\n[![Downloads per week](https://pepy.tech/badge/yara-x/week)](https://pepy.tech/project/yara-x)\n![GitHub Repo stars](https://img.shields.io/github/stars/VirusTotal/yara-x)\n\nThe official Python library for [YARA-X](https://virustotal.github.io/yara-x).\nSupports Python 3.8+ in Linux, MacOS and Windows.\n\n```python\nimport ezyara\n\nrules = ezyara.compile('''\n  rule test { \n    strings: \n      $a = \"foobar\" \n    condition: \n      $a\n  }''')\n\nresults = rules.scan(b\"foobar\")\n\nassert results.matching_rules[0].identifier == \"test\"\nassert results.matching_rules[0].patterns[0].identifier == \"$a\"\nassert results.matching_rules[0].patterns[0].matches[0].offset == 0\nassert results.matching_rules[0].patterns[0].matches[0].length == 6\n```\n\nFor more information about how to use this library, please check\nthe [documentation](https://virustotal.github.io/yara-x/docs/api/python).\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python bindings for YARA-X",
    "version": "0.4.1",
    "project_urls": {
        "homepage": "https://virustotal.github.io/yara-x",
        "repository": "https://github.com/VirusTotal/yara-x.git"
    },
    "split_keywords": [
        "pattern-matching",
        " cybersecurity",
        " forensics",
        " malware",
        " yara"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e03d10aee84eeba5bae34d15ae355f27a832de59b230c499a1374060315183b0",
                "md5": "dd86b7a8417bcc0a7bdf9290b9a08534",
                "sha256": "8ff194a15d55743a134b5b3fdfc2cddc2735b77be2e06b9cc57f527b836e3d36"
            },
            "downloads": -1,
            "filename": "ezyara-0.4.1-cp38-abi3-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "dd86b7a8417bcc0a7bdf9290b9a08534",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 6236045,
            "upload_time": "2024-06-18T01:36:33",
            "upload_time_iso_8601": "2024-06-18T01:36:33.213680Z",
            "url": "https://files.pythonhosted.org/packages/e0/3d/10aee84eeba5bae34d15ae355f27a832de59b230c499a1374060315183b0/ezyara-0.4.1-cp38-abi3-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8f4b7591de196075d1879f6e57bb2ed37c9f0fff575e6dccc37c95fd6150bb74",
                "md5": "d82ab89a06e05b65def3bbcfffad348f",
                "sha256": "50557f45b860121953c03e705f13148982906839b5462a49119d77d9e81f9eac"
            },
            "downloads": -1,
            "filename": "ezyara-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d82ab89a06e05b65def3bbcfffad348f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 493221,
            "upload_time": "2024-06-18T01:36:45",
            "upload_time_iso_8601": "2024-06-18T01:36:45.194288Z",
            "url": "https://files.pythonhosted.org/packages/8f/4b/7591de196075d1879f6e57bb2ed37c9f0fff575e6dccc37c95fd6150bb74/ezyara-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-18 01:36:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "VirusTotal",
    "github_project": "yara-x",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "ezyara"
}
        
Elapsed time: 4.43089s