# Tarda - An Intrusion Detection System Library
Tarda is a library for the collection of Intrusion Detection Systems (IDS) and robust-IDS, along with tools for evaluating them.
## Installation
You can install Tarda using pip:
```bash
pip install tarda
# Import the Tarda library
from tarda import AwesomeIDS
# Create an instance of the AwesomeIDS class
model = AwesomeIDS()
# Example: Parsing data from a pcap file
model.parse("path/to/your/file.pcap", "output/file.csv", save_netstat="output/netstat.pkl")
# Example: Training the model
train_params = {
"path": "output/file.csv",
"packet_limit": 20000,
"maxAE": 10,
"FMgrace": 16000,
"ADgrace": 4000,
"model_path": "output/kitsune.pkl",
"normalize": True
}
model.train_model(train_params)
# Example: Testing the model
benign_pos, _ = model.test_model("output/file.csv", "output/kitsune.pkl", threshold=None, out_image="output/benign.png", record_scores=True)
Change Log
==========
0.0.1 (16/04/2023)
------------------
- Initialization
Raw data
{
"_id": null,
"home_page": "https://github.com/spg-iitd/tardigrade",
"name": "tarda",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "ids adversarial network nids",
"author": "Ravi Ranjan Singh",
"author_email": "raviranjans821@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/00/f9/bed920d47a7b08f868bff28c9b825bc3be67cd7702a2971ad4210d6291ee/tarda-0.0.9.tar.gz",
"platform": null,
"description": "# Tarda - An Intrusion Detection System Library\r\n\r\nTarda is a library for the collection of Intrusion Detection Systems (IDS) and robust-IDS, along with tools for evaluating them.\r\n\r\n## Installation\r\n\r\nYou can install Tarda using pip:\r\n\r\n```bash\r\n\r\npip install tarda\r\n# Import the Tarda library\r\nfrom tarda import AwesomeIDS\r\n\r\n# Create an instance of the AwesomeIDS class\r\nmodel = AwesomeIDS()\r\n\r\n# Example: Parsing data from a pcap file\r\nmodel.parse(\"path/to/your/file.pcap\", \"output/file.csv\", save_netstat=\"output/netstat.pkl\")\r\n\r\n# Example: Training the model\r\ntrain_params = {\r\n \"path\": \"output/file.csv\",\r\n \"packet_limit\": 20000,\r\n \"maxAE\": 10,\r\n \"FMgrace\": 16000,\r\n \"ADgrace\": 4000,\r\n \"model_path\": \"output/kitsune.pkl\",\r\n \"normalize\": True\r\n}\r\nmodel.train_model(train_params)\r\n\r\n# Example: Testing the model\r\nbenign_pos, _ = model.test_model(\"output/file.csv\", \"output/kitsune.pkl\", threshold=None, out_image=\"output/benign.png\", record_scores=True)\r\n\r\n\r\n\r\n\r\nChange Log\r\n==========\r\n\r\n0.0.1 (16/04/2023)\r\n------------------\r\n- Initialization\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A library for collection of IDS & robust-IDS and tools for evaluating them",
"version": "0.0.9",
"project_urls": {
"Homepage": "https://github.com/spg-iitd/tardigrade"
},
"split_keywords": [
"ids",
"adversarial",
"network",
"nids"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d0be94a6562623a3598d00de0d1402abd60d7a6994285bd6a30dc9a9ff09f489",
"md5": "ceaf4bb2be1b0b0b2e2052e65547b0fd",
"sha256": "70372a174232b1df229e14481d23f724958e5e7fc95596387be55d7ffb77abee"
},
"downloads": -1,
"filename": "tarda-0.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ceaf4bb2be1b0b0b2e2052e65547b0fd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 193974,
"upload_time": "2023-12-27T14:00:10",
"upload_time_iso_8601": "2023-12-27T14:00:10.626191Z",
"url": "https://files.pythonhosted.org/packages/d0/be/94a6562623a3598d00de0d1402abd60d7a6994285bd6a30dc9a9ff09f489/tarda-0.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "00f9bed920d47a7b08f868bff28c9b825bc3be67cd7702a2971ad4210d6291ee",
"md5": "3d6a5f76ccc5d9980797a84e4aca4996",
"sha256": "11043800f5be1a66b7243d315e2a95bf42da7a234a4cae938ba61cda47a58519"
},
"downloads": -1,
"filename": "tarda-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "3d6a5f76ccc5d9980797a84e4aca4996",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 160615,
"upload_time": "2023-12-27T14:00:12",
"upload_time_iso_8601": "2023-12-27T14:00:12.348665Z",
"url": "https://files.pythonhosted.org/packages/00/f9/bed920d47a7b08f868bff28c9b825bc3be67cd7702a2971ad4210d6291ee/tarda-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-27 14:00:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "spg-iitd",
"github_project": "tardigrade",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tarda"
}