{ "info": { "author": "Chrysostomos Nanakos", "author_email": "chris@include.gr", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "kmodpy\n------\n\nThe libkmod2 is a library that provides an API for insertion, removal,\nconfiguration and listing of kernel modules.\n\nkmodpy is a Python ctypes wrapper module for libkmod, exposing common module\noperations: listing of installed modules, modprobe, modinfo, show_depends and\nrmmod.\n\nFollows an example executed as root:\n\n::\n\n >>> import kmodpy\n >>> km = kmodpy.Kmod()\n >>> [m for m in km.list()]\n [(u'nfs', 407706),\n (u'nfs_acl', 12741)\n ...\n (u'virtio_blk', 17549)]\n >>> km.modprobe(\"loop\", extra_options=\"max_loop=8\")\n >>> km.rmmod(\"loop\")\n >>> list(km.modinfo(\"loop\"))\n [('alias', 'char-major-10-237'), ('alias', 'block-major-7-*'),\n ('license', 'GPL'), ('parm', 'max_part:Maximum number of\n partitions per loop device'), ('parmtype', 'max_part:int'),\n ('parm', 'max_loop:Maximum number of loop\n devices'), ('parmtype', 'max_loop:int'), ('depends', ''),\n ('intree', 'Y'), ('vermagic', '3.12-1-amd64 SMP mod_unload\n modversions '), ('alias', 'devname:loop-control')]\n >>> list(km.show_depends(\"ext4\"))\n ['mbcache', 'crc16', 'jbd2']", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "kmod libkmod kmodpy", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "kmodpy", "package_url": "https://pypi.org/project/kmodpy/", "platform": "posix", "project_url": "https://pypi.org/project/kmodpy/", "project_urls": null, "release_url": "https://pypi.org/project/kmodpy/0.1.13/", "requires_dist": null, "requires_python": "", "summary": "Python binding for kmod", "version": "0.1.13" }, "last_serial": 4805897, "releases": { "0.1.10": [ { "comment_text": "", "digests": { "md5": "c9f15536e1686485e6cb7d294dfa5077", "sha256": "643c9a3e80feb647f95046540096302c49aa5c23a9e99a6b7981862b6fd62ff4" }, "downloads": -1, "filename": "kmodpy-0.1.10.tar.gz", "has_sig": false, "md5_digest": "c9f15536e1686485e6cb7d294dfa5077", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20135, "upload_time": "2014-03-28T10:29:11", "url": "https://files.pythonhosted.org/packages/6e/88/c7d744bd4c1c8c9af91f9def115d23609bd31526c4f103019347933e8ded/kmodpy-0.1.10.tar.gz" } ], "0.1.13": [ { "comment_text": "", "digests": { "md5": "e5fb0f74024501b1c10a7323e7b9ee46", "sha256": "69b208c4b8120bf1ef800cafc4958bc48c08db72e8208b2fd4696c732529ee73" }, "downloads": -1, "filename": "kmodpy-0.1.13.tar.gz", "has_sig": false, "md5_digest": "e5fb0f74024501b1c10a7323e7b9ee46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20546, "upload_time": "2019-02-11T13:03:42", "url": "https://files.pythonhosted.org/packages/a5/6a/837ff0c8da94dfda3d60323377ed0b597de9c525483c2094b0e3f2240eae/kmodpy-0.1.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e5fb0f74024501b1c10a7323e7b9ee46", "sha256": "69b208c4b8120bf1ef800cafc4958bc48c08db72e8208b2fd4696c732529ee73" }, "downloads": -1, "filename": "kmodpy-0.1.13.tar.gz", "has_sig": false, "md5_digest": "e5fb0f74024501b1c10a7323e7b9ee46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20546, "upload_time": "2019-02-11T13:03:42", "url": "https://files.pythonhosted.org/packages/a5/6a/837ff0c8da94dfda3d60323377ed0b597de9c525483c2094b0e3f2240eae/kmodpy-0.1.13.tar.gz" } ] }