{"id":18124593,"url":"https://github.com/alekzandr/flowmeter","last_synced_at":"2025-04-15T01:44:17.620Z","repository":{"id":57431473,"uuid":"169173278","full_name":"alekzandr/flowmeter","owner":"alekzandr","description":"A tool for deriving statistical features from PCAP data","archived":false,"fork":false,"pushed_at":"2019-11-21T23:17:26.000Z","size":60,"stargazers_count":13,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T13:44:38.197Z","etag":null,"topics":["cybersecurity","python-3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alekzandr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-05T00:57:37.000Z","updated_at":"2024-11-28T18:16:58.000Z","dependencies_parsed_at":"2022-09-02T11:51:33.592Z","dependency_job_id":null,"html_url":"https://github.com/alekzandr/flowmeter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekzandr%2Fflowmeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekzandr%2Fflowmeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekzandr%2Fflowmeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekzandr%2Fflowmeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alekzandr","download_url":"https://codeload.github.com/alekzandr/flowmeter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248699583,"owners_count":21147670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cybersecurity","python-3"],"created_at":"2024-11-01T08:06:49.869Z","updated_at":"2025-04-15T01:44:17.603Z","avatar_url":"https://github.com/alekzandr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flowmeter v0.0.3\nFlowmeter is a Scapy-based tool for deriving statistical features from PCAPs for data analysis and machine learning. The features are based on the java application \u003ca href=http://netflow.ca/\u003eNetflowmeter\u003c/a\u003e.\n\n\n# Installation\n```pip install flowmeter```\n\n\n# Usage\nA Flowmeter object is created by taking in a PCAP file as a parameter. Using the build_feature method, Flowmeter separates out the PCAP into distinct TCP and UDP flows. From there it begins analyzing the flow data to derive features useful for plotting, traffic pattern analysis, and machine learning.\n\n```\nfrom flowmeter.flowmeter import Flowmeter\nimport pandas as pd\n\nfeature_gen = Flowmeter(\"1548216696.814641.pcap\")\ndf = feature_gen.build_feature_dataframe()\n\ndf.to_csv(\"1548216696.814641.csv\")\n```\n\n\u003ch3\u003eNote:\u003c/h3\u003e\nThe current implementaion is still in its early versions and inefficient at handling memory. We are currently beginning optimizations to reduce memory usage and provide a more stable process. Processing a large PCAP can be very MEMORY INTENSIVE. Additionally, Flowmeter does not work in jupyter notebooks due to how notebooks handle multiprocesses pooling.\n\n# Contributions\nIf you would like to contribute feel free to fork the repo, clone the project, submit pull requests, open issues, or request features/enhancements.\n\n# License\nFlowmeter is currently licensed under the GNU GPLv2.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekzandr%2Fflowmeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falekzandr%2Fflowmeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekzandr%2Fflowmeter/lists"}