{ "info": { "author": "Adam Karpierz", "author_email": "adam@karpierz.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: Polish", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: IronPython", "Programming Language :: Python :: Implementation :: Jython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: Implementation :: Stackless", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "pcap-ct\n=======\n\nPython wrapper for the *pcap* library.\n\nOverview\n========\n\n| Python *pcap-ct* package is a simplified object-oriented Python wrapper\n for *libpcap* C library - the current tcpdump.org version, and the WinPcap\n port for Windows..\n|\n| *pcap-ct* is a pure Python package, based on the low-level\n `libcap `__ package.\n| It is fully compliant implementation of the original\n `PyPCAP `__ 1.2.0 API (with some minor\n improvements and bug fixes) by implementing whole its functionality in a\n clean Python instead of Cython and C.\n\nAbout original PyPCAP:\n----------------------\n\nBorrowed from the `original website `__:\n\nPyPCAP\n------\n\nThis is a simplified object-oriented Python wrapper for libpcap -\nthe current tcpdump.org version, and the WinPcap port for Windows.\n\nExample use::\n\n >>> import pcap\n >>> sniffer = pcap.pcap(name=None, promisc=True, immediate=True, timeout_ms=50)\n >>> addr = lambda pkt, offset: '.'.join(str(ord(pkt[i])) for i in range(offset, offset + 4))\n >>> for ts, pkt in sniffer:\n ... print('%d\\tSRC %-16s\\tDST %-16s' % (ts, addr(pkt, sniffer.dloff + 12), addr(pkt, sniffer.dloff + 16)))\n ...\n\nWindows notes\n-------------\n\nWinPcap has compatibility issues with Windows 10, therefore\nit's recommended to use `Npcap `_\n(Nmap's packet sniffing library for Windows, based on the WinPcap/Libpcap libraries,\nbut with improved speed, portability, security, and efficiency).\nPlease enable WinPcap API-compatible mode during the library installation.\n\nRequirements\n============\n\n- | It is fully independent package.\n | All necessary things are installed during the normal installation process.\n- ATTENTION: currently works and tested only for Windows.\n\nInstallation\n============\n\nPrerequisites:\n\n+ Python 2.7 or higher or 3.4 or higher\n\n * http://www.python.org/\n * 2.7 and 3.6 with LIBPCAP 1.8.1 are primary test environments.\n\n+ pip and setuptools\n\n * http://pypi.python.org/pypi/pip\n * http://pypi.python.org/pypi/setuptools\n\nTo install run::\n\n python -m pip install --upgrade pcap-ct\n\nDevelopment\n===========\n\nVisit `development page `__\n\nInstallation from sources:\n\nClone the `sources `__ and run::\n\n python -m pip install ./pcap-ct\n\nor on development mode::\n\n python -m pip install --editable ./pcap-ct\n\nPrerequisites:\n\n+ Development is strictly based on *tox*. To install it run::\n\n python -m pip install tox\n\nLicense\n=======\n\n | Copyright (c) 2016-2018, Adam Karpierz\n |\n | Licensed under the BSD license\n | http://opensource.org/licenses/BSD-3-Clause\n | Please refer to the LICENSE file.\n\nAuthors\n=======\n\n* Adam Karpierz \n\nChangelog\n=========\n\n1.2.0b5 (2018-11-08)\n--------------------\n - Update required setuptools version.\n - Minor setup and tests improvements.\n\n1.2.0b4 (2018-02-26)\n--------------------\n - Improve and simplify setup and packaging.\n\n1.2.0b3 (2018-02-01)\n--------------------\n - Update for PyPCAP 1.2.0.\n\n1.2.0b2 (2017-10-10)\n--------------------\n - Minor changes.\n\n1.2.0b1 (2017-10-05)\n--------------------\n - Next beta release.\n - Update for PyPCAP 1.2.0rc.\n\n1.1.6b4 (2017-10-04)\n--------------------\n - Fourth beta release.\n\n1.1.6b3 (2017-08-28)\n--------------------\n - Third beta release.\n\n1.1.6b2 (2017-08-28)\n--------------------\n - Second beta release.\n\n1.1.6b1 (2017-08-27)\n--------------------\n - First beta release.\n\n1.1.6a15 (2017-08-25)\n---------------------\n - Next alpha release.\n\n1.1.6a0 (2017-06-10)\n--------------------\n - First alpha release.\n\n0.0.1 (2016-09-23)\n------------------\n - Initial release.\n", "description_content_type": "", "docs_url": null, "download_url": "http://pypi.python.org/pypi/pcap-ct/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/pcap-ct/", "keywords": "pcap-ct", "license": "BSD license ; http://opensource.org/licenses/BSD-3-Clause", "maintainer": "", "maintainer_email": "", "name": "pcap-ct", "package_url": "https://pypi.org/project/pcap-ct/", "platform": "any", "project_url": "https://pypi.org/project/pcap-ct/", "project_urls": { "Download": "http://pypi.python.org/pypi/pcap-ct/", "Homepage": "http://pypi.python.org/pypi/pcap-ct/" }, "release_url": "https://pypi.org/project/pcap-ct/1.2.0b5/", "requires_dist": null, "requires_python": "", "summary": "Python wrapper for the pcap library (ctypes/cffi-based pypcap)", "version": "1.2.0b5" }, "last_serial": 5853235, "releases": { "1.2.0b5": [ { "comment_text": "", "digests": { "md5": "652502faae28c646c92e4e9414da2525", "sha256": "759779df7e787f5f6c2aa052e4becd74f0fee29793d124279504bb1b397c4519" }, "downloads": -1, "filename": "pcap-ct-1.2.0b5.zip", "has_sig": false, "md5_digest": "652502faae28c646c92e4e9414da2525", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26051, "upload_time": "2018-11-09T09:27:39", "url": "https://files.pythonhosted.org/packages/a7/2f/678e987a26eb2656c32b786d1c31f463a910a635f337d1d2b1575b2b9779/pcap-ct-1.2.0b5.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "652502faae28c646c92e4e9414da2525", "sha256": "759779df7e787f5f6c2aa052e4becd74f0fee29793d124279504bb1b397c4519" }, "downloads": -1, "filename": "pcap-ct-1.2.0b5.zip", "has_sig": false, "md5_digest": "652502faae28c646c92e4e9414da2525", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26051, "upload_time": "2018-11-09T09:27:39", "url": "https://files.pythonhosted.org/packages/a7/2f/678e987a26eb2656c32b786d1c31f463a910a635f337d1d2b1575b2b9779/pcap-ct-1.2.0b5.zip" } ] }