{ "info": { "author": "rrajaravi", "author_email": "r.rajaravi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2" ], "description": "# pydfu\n[![Build Status](https://travis-ci.org/rrajaravi/pydfu.svg?branch=master)](https://travis-ci.org/rrajaravi/pydfu)\n\nPython Interface and cli for Disk and Filesystem Utils\n\n### Requirements\nUnix/Linux Operating System\n\n### How to Use\n#### Installation\n\n $ git clone https://github.com/rrajaravi/pydfu.git\n $ cd pydfu\n $ python setup.py install\n\n#### Command Line\n\n $ pydfu --help\n usage: pydfu [-h] [-s] [-d]\n\n Disk and FileSystem Utils\n\n optional arguments:\n -h, --help show this help message and exit\n -s, --scan\n -d, --df\n $ pydfu --df\n FileSystem 1K-blocks Used Avail Use% Mounted On \n udev 3780128 0 3780128 0% /dev \n tmpfs 760264 17780 742484 3% /run \n /dev/sda1 102049120 9684784 87157504 11% / \n tmpfs 3801300 436 3800864 1% /dev/shm \n tmpfs 5120 4 5116 1% /run/lock \n tmpfs 3801300 0 3801300 0% /sys/fs/cgroup\n vmhgfs-fuse 249414652 134421324 114993328 54% /mnt/hgfs \n tmpfs 760264 76 760188 1% /run/user/1000\n\n#### Library\n\n import pydfu\n\n df = pydfu.df()\n\n # get list of file system object\n df.query()\n\n # query for a file system based on path and get file system object\n fs = df.query_one(path='/')\n\n # query all file systems based on size and get matches in list\n fs = df.query(size='>10g')\n\n # query for a file system based on used size\n fs = df.query_one(use='<100%')\n\n # query for a file system based on multiple conditions\n fs = df.query_one(size='>10g', use='<50%') \n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rrajaravi/pydfu.git", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pydfu", "package_url": "https://pypi.org/project/pydfu/", "platform": "", "project_url": "https://pypi.org/project/pydfu/", "project_urls": { "Homepage": "https://github.com/rrajaravi/pydfu.git" }, "release_url": "https://pypi.org/project/pydfu/0.1/", "requires_dist": null, "requires_python": "", "summary": "Disk and File system query", "version": "0.1" }, "last_serial": 2775475, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b17b149b842339a138eec8da297ff344", "sha256": "954892e80fc4a176935592a56ee42eb1fdc29c09666ccee0b094d52a08958cd2" }, "downloads": -1, "filename": "pydfu-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b17b149b842339a138eec8da297ff344", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5900, "upload_time": "2017-04-11T10:40:21", "url": "https://files.pythonhosted.org/packages/f9/8f/82165d71a63e94d6ac5855acaf33433025f17336a4185f59f57a317924af/pydfu-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "29528283cb09a490f515b3042b761925", "sha256": "cb06dc222e6d8b2194fdb6d009e0026b71537a7a1a002323dc3e4d8a9e2453e7" }, "downloads": -1, "filename": "pydfu-0.1.tar.gz", "has_sig": false, "md5_digest": "29528283cb09a490f515b3042b761925", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3405, "upload_time": "2017-04-11T10:40:23", "url": "https://files.pythonhosted.org/packages/9f/2a/00f3149cb465dcd52b2d08329126c0e1f312b12fe52cb1ab099e2138f4cc/pydfu-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b17b149b842339a138eec8da297ff344", "sha256": "954892e80fc4a176935592a56ee42eb1fdc29c09666ccee0b094d52a08958cd2" }, "downloads": -1, "filename": "pydfu-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b17b149b842339a138eec8da297ff344", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5900, "upload_time": "2017-04-11T10:40:21", "url": "https://files.pythonhosted.org/packages/f9/8f/82165d71a63e94d6ac5855acaf33433025f17336a4185f59f57a317924af/pydfu-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "29528283cb09a490f515b3042b761925", "sha256": "cb06dc222e6d8b2194fdb6d009e0026b71537a7a1a002323dc3e4d8a9e2453e7" }, "downloads": -1, "filename": "pydfu-0.1.tar.gz", "has_sig": false, "md5_digest": "29528283cb09a490f515b3042b761925", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3405, "upload_time": "2017-04-11T10:40:23", "url": "https://files.pythonhosted.org/packages/9f/2a/00f3149cb465dcd52b2d08329126c0e1f312b12fe52cb1ab099e2138f4cc/pydfu-0.1.tar.gz" } ] }