{ "info": { "author": "Duncan Davis", "author_email": "duncanjdavis@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Operating System Kernels :: Linux" ], "description": "procfs3\n -------\n \n procfs3 is a python3 version of procfs .\n It was converted using 2to3 with some manual fixes and some tests thrown in.\n To run the tests, run::\n python3 tests/doctests.py\n \n Easy to use\n ```````````\n \n ::\n \n >>> from procfs import Proc\n >>> proc = Proc()\n \n >>> proc.loadavg\n {'average': {1: 0.0, 5: 0.0, 15: 0.0},\n 'entities': {'current': 1, 'total': 117},\n 'last_pid': 3068}\n \n >>> proc.net.dev.eth1.receive.bytes\n 117997558\n \n >>> proc.meminfo.MemFree\n 57044\n \n >>> proc.net.snmp.Udp\n {'InDatagrams': 3394, 'OutDatagrams': 3399, 'RcvbufErrors': 0,\n 'InErrors': 0, 'SndbufErrors': 0, 'NoPorts': 4}\n \n \n Process information\n ```````````````````\n \n ::\n \n >>> proc.self\n \n \n >>> proc.self.parent\n \n \n >>> proc.self.uptime\n datetime.timedelta(0, 346, 380262)\n \n >>> proc.processes\n , , , , , , , , , , ...]>\n >>> len(proc.processes)\n 110\n \n >>> proc.processes.cmdline('(vim|ssh)')\n , , , , , ]>\n \n >>> proc.processes.uid(1000) \n , , , , , , , , , , ...]>\n \n >>> proc.processes.user('pmuller').cmdline('python')[0]\n \n \n \n Links\n `````\n \n * `github `_", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/galini/procfs3", "keywords": "linux proc procfs system kernel", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "procfs3", "package_url": "https://pypi.org/project/procfs3/", "platform": "Linux", "project_url": "https://pypi.org/project/procfs3/", "project_urls": { "Homepage": "https://github.com/galini/procfs3" }, "release_url": "https://pypi.org/project/procfs3/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Python API for the Linux /proc virtual filesystem", "version": "0.1.3" }, "last_serial": 796713, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "93a9ca6300a0b9aeb4a0f35943ca47d1", "sha256": "6303550958ec6b616958d6774bf9427475ca72aef792e105c147a01aeea5cf37" }, "downloads": -1, "filename": "procfs3-0.1.2.tar.gz", "has_sig": false, "md5_digest": "93a9ca6300a0b9aeb4a0f35943ca47d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13616, "upload_time": "2012-08-27T19:01:10", "url": "https://files.pythonhosted.org/packages/7e/45/4c2a83ab31b7e8baadae3295b44b142a9b3fcc53cce9685a85672c542d5a/procfs3-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "d291d49820abc71b124f056c33bed010", "sha256": "8e7a1feca0b312d81004b18346861f31de6e9131d96a3ed5f9a8b458bf1f6455" }, "downloads": -1, "filename": "procfs3-0.1.3.tar.gz", "has_sig": false, "md5_digest": "d291d49820abc71b124f056c33bed010", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13667, "upload_time": "2012-08-29T12:01:00", "url": "https://files.pythonhosted.org/packages/e9/a8/72e373e766750b19218931af6a586d49fa7f5d5d9021888f8814192c89c0/procfs3-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d291d49820abc71b124f056c33bed010", "sha256": "8e7a1feca0b312d81004b18346861f31de6e9131d96a3ed5f9a8b458bf1f6455" }, "downloads": -1, "filename": "procfs3-0.1.3.tar.gz", "has_sig": false, "md5_digest": "d291d49820abc71b124f056c33bed010", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13667, "upload_time": "2012-08-29T12:01:00", "url": "https://files.pythonhosted.org/packages/e9/a8/72e373e766750b19218931af6a586d49fa7f5d5d9021888f8814192c89c0/procfs3-0.1.3.tar.gz" } ] }