zat


Namezat JSON
Version 0.4.6 PyPI version JSON
download
home_pagehttps://github.com/SuperCowPowers/zat
SummaryZeek Analysis Tools
upload_time2023-01-26 21:42:11
maintainer
docs_urlNone
authorBrian Wylie
requires_python
licenseApache
keywords zeek bro python networking security scikit-learn spark kafka parquet
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            <img align="right" style="padding:35px" src="notebooks/images/SCP_med.png" width="160">

# Zeek Analysis Tools (ZAT) 
![Python package](https://github.com/SuperCowPowers/zat/workflows/Python%20package/badge.svg) [![codecov.io](http://codecov.io/github/SuperCowPowers/zat/coverage.svg?branch=master)](http://codecov.io/github/SuperCowPowers/zat?branch=master) [![supported-versions](https://img.shields.io/pypi/pyversions/zat.svg)](https://pypi.python.org/pypi/zat) [![license](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://choosealicense.com/licenses/apache-2.0)

The ZAT Python package supports the processing and analysis of Zeek data
with Pandas, scikit-learn, Kafka, and Spark

### Install
```
pip install zat
pip install zat[pyspark] (includes pyspark library)
pip install zat[all] (include pyarrow, yara-python, and tldextract)
```

### Getting Started
- [Examples of Using ZAT](https://supercowpowers.github.io/zat/examples.html)

### Installing on Raspberry Pi!
- [Raspberry Pi Instructions](https://supercowpowers.github.io/zat/raspberry_pi.html)

### Recent Improvements
- Faster/Smaller Pandas Dataframes for large log files: [Large Dataframes](https://supercowpowers.github.io/zat/large_dataframes.html)
- Better Panda Dataframe to Matrix (ndarray) support: [Dataframe To Matrix](https://supercowpowers.github.io/zat/dataframe_to_matrix.html)
- Scalable conversion from Zeek logs to Parquet: [Zeek to Parquet](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Parquet.ipynb)
- Vastly improved Spark Dataframe Class: [Zeek to Spark](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Spark.ipynb)
- Updated/improved Notebooks: [Analysis Notebooks](#analysis-notebooks)
- Zeek JSON to DataFrame class: [Zeek JSON to DataFrame Example](https://github.com/SuperCowPowers/zat/blob/main/examples/zeek_json_to_pandas.py)

### Video Presentation
- [Data Analysis and Machine Learning with Zeek](https://www.youtube.com/watch?v=pG5lU9CLnIU)

### Why ZAT?
Zeek already has a flexible, powerful scripting language why should I use
ZAT?

**Offloading:** Running complex tasks like statistics, state machines,
machine learning, etc.. should be offloaded from Zeek so that Zeek can
focus on the efficient processing of high volume network traffic.

**Data Analysis:** We have a large set of support classes that help
bridge from raw Zeek data to packages like Pandas, scikit-learn, Kafka, and
Spark. We also have example notebooks that show step-by-step how to get
from here to there.

### Analysis Notebooks

- [Zeek to Scikit-Learn](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Scikit_Learn.ipynb)
- [Zeek to Parquet](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Parquet.ipynb)
- [Zeek to Spark](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Spark.ipynb)
- [Spark Clustering](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Spark_Clustering.ipynb)
- [Zeek to Kafka](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Kafka.ipynb)
- [Zeek to Kafka to Spark](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Kafka_to_Spark.ipynb)
- [Clustering: Picking K (or not)](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Clustering_Picking_K.ipynb)
- [Anomaly Detection Exploration](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Anomaly_Detection.ipynb)
- [Risky Domains Stats and Deployment](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Risky_Domains.ipynb)
- [Zeek to Matplotlib](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Plot.ipynb)

<img align="right" style="padding: 10px" src="notebooks/images/SCP_med.png" width="120">

### Documentation
<https://supercowpowers.github.io/zat/>

#### Running the Tests
```
pip install pytest coverage pytest-cov
pytest zat
```

### About SuperCowPowers
The company was formed so that its developers could follow their passion for Python, streaming data pipelines and having fun with data analysis. We also think cows are cool and should be superheros or at least carry around rayguns and burner phones. <a href="https://www.supercowpowers.com" target="_blank">Visit SuperCowPowers</a>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SuperCowPowers/zat",
    "name": "zat",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Zeek,Bro,Python,Networking,Security,Scikit-Learn,Spark,Kafka,Parquet",
    "author": "Brian Wylie",
    "author_email": "support@supercowpowers.com",
    "download_url": "https://files.pythonhosted.org/packages/df/94/da64eab7ba01e2a3a2b0db912d5baf8b0e7ffac7ccf2253c9ad929f4ff1a/zat-0.4.6.tar.gz",
    "platform": null,
    "description": "<img align=\"right\" style=\"padding:35px\" src=\"notebooks/images/SCP_med.png\" width=\"160\">\n\n# Zeek Analysis Tools (ZAT) \n![Python package](https://github.com/SuperCowPowers/zat/workflows/Python%20package/badge.svg) [![codecov.io](http://codecov.io/github/SuperCowPowers/zat/coverage.svg?branch=master)](http://codecov.io/github/SuperCowPowers/zat?branch=master) [![supported-versions](https://img.shields.io/pypi/pyversions/zat.svg)](https://pypi.python.org/pypi/zat) [![license](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://choosealicense.com/licenses/apache-2.0)\n\nThe ZAT Python package supports the processing and analysis of Zeek data\nwith Pandas, scikit-learn, Kafka, and Spark\n\n### Install\n```\npip install zat\npip install zat[pyspark] (includes pyspark library)\npip install zat[all] (include pyarrow, yara-python, and tldextract)\n```\n\n### Getting Started\n- [Examples of Using ZAT](https://supercowpowers.github.io/zat/examples.html)\n\n### Installing on Raspberry Pi!\n- [Raspberry Pi Instructions](https://supercowpowers.github.io/zat/raspberry_pi.html)\n\n### Recent Improvements\n- Faster/Smaller Pandas Dataframes for large log files: [Large Dataframes](https://supercowpowers.github.io/zat/large_dataframes.html)\n- Better Panda Dataframe to Matrix (ndarray) support: [Dataframe To Matrix](https://supercowpowers.github.io/zat/dataframe_to_matrix.html)\n- Scalable conversion from Zeek logs to Parquet: [Zeek to Parquet](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Parquet.ipynb)\n- Vastly improved Spark Dataframe Class: [Zeek to Spark](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Spark.ipynb)\n- Updated/improved Notebooks: [Analysis Notebooks](#analysis-notebooks)\n- Zeek JSON to DataFrame class: [Zeek JSON to DataFrame Example](https://github.com/SuperCowPowers/zat/blob/main/examples/zeek_json_to_pandas.py)\n\n### Video Presentation\n- [Data Analysis and Machine Learning with Zeek](https://www.youtube.com/watch?v=pG5lU9CLnIU)\n\n### Why ZAT?\nZeek already has a flexible, powerful scripting language why should I use\nZAT?\n\n**Offloading:** Running complex tasks like statistics, state machines,\nmachine learning, etc.. should be offloaded from Zeek so that Zeek can\nfocus on the efficient processing of high volume network traffic.\n\n**Data Analysis:** We have a large set of support classes that help\nbridge from raw Zeek data to packages like Pandas, scikit-learn, Kafka, and\nSpark. We also have example notebooks that show step-by-step how to get\nfrom here to there.\n\n### Analysis Notebooks\n\n- [Zeek to Scikit-Learn](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Scikit_Learn.ipynb)\n- [Zeek to Parquet](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Parquet.ipynb)\n- [Zeek to Spark](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Spark.ipynb)\n- [Spark Clustering](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Spark_Clustering.ipynb)\n- [Zeek to Kafka](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Kafka.ipynb)\n- [Zeek to Kafka to Spark](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Kafka_to_Spark.ipynb)\n- [Clustering: Picking K (or not)](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Clustering_Picking_K.ipynb)\n- [Anomaly Detection Exploration](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Anomaly_Detection.ipynb)\n- [Risky Domains Stats and Deployment](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Risky_Domains.ipynb)\n- [Zeek to Matplotlib](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Plot.ipynb)\n\n<img align=\"right\" style=\"padding: 10px\" src=\"notebooks/images/SCP_med.png\" width=\"120\">\n\n### Documentation\n<https://supercowpowers.github.io/zat/>\n\n#### Running the Tests\n```\npip install pytest coverage pytest-cov\npytest zat\n```\n\n### About SuperCowPowers\nThe company was formed so that its developers could follow their passion for Python, streaming data pipelines and having fun with data analysis. We also think cows are cool and should be superheros or at least carry around rayguns and burner phones. <a href=\"https://www.supercowpowers.com\" target=\"_blank\">Visit SuperCowPowers</a>\n",
    "bugtrack_url": null,
    "license": "Apache",
    "summary": "Zeek Analysis Tools",
    "version": "0.4.6",
    "split_keywords": [
        "zeek",
        "bro",
        "python",
        "networking",
        "security",
        "scikit-learn",
        "spark",
        "kafka",
        "parquet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dff4d01e353bf9029a7e2e7952951144ff1a4fe6312f82267eaa22371b2fcdbe",
                "md5": "cdbb2743df6decd047697737715362e2",
                "sha256": "0153c86c22b6fec804bfc184746a26bc50d74870700a5e8dbd0025a71a5c6372"
            },
            "downloads": -1,
            "filename": "zat-0.4.6-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cdbb2743df6decd047697737715362e2",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 243926,
            "upload_time": "2023-01-26T21:42:09",
            "upload_time_iso_8601": "2023-01-26T21:42:09.482298Z",
            "url": "https://files.pythonhosted.org/packages/df/f4/d01e353bf9029a7e2e7952951144ff1a4fe6312f82267eaa22371b2fcdbe/zat-0.4.6-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df94da64eab7ba01e2a3a2b0db912d5baf8b0e7ffac7ccf2253c9ad929f4ff1a",
                "md5": "0b439b0c49a94ccacd104cd38da354aa",
                "sha256": "19846c0c836404d149b64e61f442b1cab004fe33e73e3288202429ad0b332eea"
            },
            "downloads": -1,
            "filename": "zat-0.4.6.tar.gz",
            "has_sig": false,
            "md5_digest": "0b439b0c49a94ccacd104cd38da354aa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 204477,
            "upload_time": "2023-01-26T21:42:11",
            "upload_time_iso_8601": "2023-01-26T21:42:11.430878Z",
            "url": "https://files.pythonhosted.org/packages/df/94/da64eab7ba01e2a3a2b0db912d5baf8b0e7ffac7ccf2253c9ad929f4ff1a/zat-0.4.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-26 21:42:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "SuperCowPowers",
    "github_project": "zat",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "zat"
}
        
Elapsed time: 0.04182s