{ "info": { "author": "Salah Gherdaoui", "author_email": "salah.gherdaoui@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2017 Salah Gherdaoui\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\nDescription: Python PCAP Library\n ===================\n \n .. image:: https://gitlab.com/salah.gherdaoui/pcaplib/badges/master/build.svg\n .. image:: https://gitlab.com/salah.gherdaoui/pcaplib/badges/master/coverage.svg\n \n \n ``pcaplib`` is a very simple and lightweight library for reading and writing PCAP files\n \n Reader example::\n \n import pcaplib\n pcap_reader = pcaplib.Reader('capture.pcap')\n for ts in pcap_reader:\n print(packet)\n \n (1494608771, 459378, 6, 6, b'\\\\x00\\\\x0c)\\\\xaa4\\\\xc9')\n (1494608771, 459556, 6, 6, b'\\\\x00\\\\x0c)\\\\xaa4\\\\xc9')\n \n \n \n \n Writer example::\n \n import pcaplib\n \n pkt_list = [\n (1494608771, 459378, 6, 6, b'\\\\x00\\\\x0c)\\\\xaa4\\\\xc9'),\n (1494608771, 459556, 6, 6, b'\\\\x00\\\\x0c)\\\\xaa4\\\\xc9'),\n ]\n \n pcap_writer = pcaplib.Writer('capture.pcap', pkt_list)\n pcap_writer.writer()\n \nPlatform: UNKNOWN\nClassifier: Topic :: System :: Networking\nClassifier: Topic :: System :: Networking :: Monitoring\nClassifier: Programming Language :: Python :: 3.4\nClassifier: Topic :: Internet :: Log Analysis\nRequires-Python: >=3.4\n", "description_content_type": null, "docs_url": "https://pythonhosted.org/pcaplib/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "pcaplib", "package_url": "https://pypi.org/project/pcaplib/", "platform": "", "project_url": "https://pypi.org/project/pcaplib/", "project_urls": null, "release_url": "https://pypi.org/project/pcaplib/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "A very simple PCAP library", "version": "1.0.0" }, "last_serial": 2896426, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "16c3304c2ed0e3235fbaaeb979ba1f36", "sha256": "190dca79cfa3f0e53bf103cac8e2bc366fb8d81f9ca28033ca50bbcb9950423c" }, "downloads": -1, "filename": "pcaplib-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "16c3304c2ed0e3235fbaaeb979ba1f36", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4980, "upload_time": "2017-05-24T17:39:07", "url": "https://files.pythonhosted.org/packages/8d/c9/7ac8e0d3d7f8aab1703064d3c1c8cdedaf0ba910e3b56ded6a7a1da6720e/pcaplib-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b3d4af00facbea1863a257cce7e82b2", "sha256": "36a4c8ae21b9276e1b11b9947a9464694f782303dc32f8efb691f385db371565" }, "downloads": -1, "filename": "pcaplib-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0b3d4af00facbea1863a257cce7e82b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3101, "upload_time": "2017-05-24T17:39:08", "url": "https://files.pythonhosted.org/packages/3b/90/86ceec6899e818d171257bb879d36a5b52d59b3aa2c17a7a448b6263d730/pcaplib-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16c3304c2ed0e3235fbaaeb979ba1f36", "sha256": "190dca79cfa3f0e53bf103cac8e2bc366fb8d81f9ca28033ca50bbcb9950423c" }, "downloads": -1, "filename": "pcaplib-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "16c3304c2ed0e3235fbaaeb979ba1f36", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4980, "upload_time": "2017-05-24T17:39:07", "url": "https://files.pythonhosted.org/packages/8d/c9/7ac8e0d3d7f8aab1703064d3c1c8cdedaf0ba910e3b56ded6a7a1da6720e/pcaplib-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b3d4af00facbea1863a257cce7e82b2", "sha256": "36a4c8ae21b9276e1b11b9947a9464694f782303dc32f8efb691f385db371565" }, "downloads": -1, "filename": "pcaplib-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0b3d4af00facbea1863a257cce7e82b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3101, "upload_time": "2017-05-24T17:39:08", "url": "https://files.pythonhosted.org/packages/3b/90/86ceec6899e818d171257bb879d36a5b52d59b3aa2c17a7a448b6263d730/pcaplib-1.0.0.tar.gz" } ] }