# 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": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "ids adversarial network nids",
"author": "Ravi Ranjan Singh",
"author_email": "raviranjans821@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/8f/52/87f4c04fad4b1251ee420f7e101c8ea46dc235a2b82eca5a7f22d6398757/tarda-0.0.10.tar.gz",
"platform": null,
"description": "# Tarda - An Intrusion Detection System Library\r\n\r\nTarda is a library for the collection of Intrusion \r\nDetection 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.10",
"project_urls": {
"Homepage": "https://github.com/spg-iitd/tardigrade"
},
"split_keywords": [
"ids",
"adversarial",
"network",
"nids"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f040283515dc56ffadb24994ffa923d65346cea65e68e78e2ed16cfaac1ee1f4",
"md5": "3678adc0928b46fab21e1dc32a1336d1",
"sha256": "85fed37d3164db1c54f6b0d894eb1d42ae4a618843bde24ac6d99b8b44b1ee3d"
},
"downloads": -1,
"filename": "tarda-0.0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3678adc0928b46fab21e1dc32a1336d1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 22029,
"upload_time": "2024-06-15T14:37:37",
"upload_time_iso_8601": "2024-06-15T14:37:37.861058Z",
"url": "https://files.pythonhosted.org/packages/f0/40/283515dc56ffadb24994ffa923d65346cea65e68e78e2ed16cfaac1ee1f4/tarda-0.0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8f5287f4c04fad4b1251ee420f7e101c8ea46dc235a2b82eca5a7f22d6398757",
"md5": "1fa4caa4be2e5a03f9ee2a7d3c436521",
"sha256": "de499057178f7d04c06561a850447665d8b6b0218ebc1840baa7543b08c7f25a"
},
"downloads": -1,
"filename": "tarda-0.0.10.tar.gz",
"has_sig": false,
"md5_digest": "1fa4caa4be2e5a03f9ee2a7d3c436521",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16010,
"upload_time": "2024-06-15T14:37:39",
"upload_time_iso_8601": "2024-06-15T14:37:39.801722Z",
"url": "https://files.pythonhosted.org/packages/8f/52/87f4c04fad4b1251ee420f7e101c8ea46dc235a2b82eca5a7f22d6398757/tarda-0.0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-15 14:37:39",
"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"
}