{ "info": { "author": "Frank Schneider", "author_email": "frank.schneider@inqbus.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: Unix", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "####################\nFolder Quota Checker\n####################\n\nThis program returns the quota of 1st level sub directories in a directory using the ``du`` command (available on all \\*nix platforms).\n\n\nUsage\n=====\n\nIf no start directory is given all directories in the current one will be checked by default::\n\n $ qcheck\n ./directory-0 4\n ./directory-1 920\n ...\n ./directory-9 8248\n . 41264\n\n\nChoose directories\n------------------\n\nSometimes it is required to get the quota of a defined subset of directories.\n\nIt is possible to give folder names as arguments::\n\n $ qcheck directory-1 directory-2\n ./directory-1 920\n ./directory-2 120\n\n\nThis method only make sense for a couple of directories. A greater folder list can be given by a text file. The folder names should? be written line by line in the text file. To use it give the option ``-t`` and than the filename like this: ::\n\n $ qcheck -t folder_set.txt\n\nIf the folder doesn't exist a \"DoesentExistException\" will show you that for every missing Folder.\n\n\nOutput\n======\n\nBy default the result is written to the standard output in bit-format.\n\nEach directory-quota will be presented in one line::\n\n $ qcheck\n ./directory-0 4\n ./directory-1 920\n ...\n ./directory-9 8248\n . 41264\n\n\nThe output can also converted to a human readable form with the ``-r`` option::\n\n $ qcheck -r\n ./directory-0 4,0K\n ./directory-1 920K\n ...\n ./directory-9 8,1M\n . 41M\n\n\n\nfile-output\n-----------\n\nIf the file output is enabled with the option ``-f FILENAME`` the output will be written to a csv-file. The file will be created if it does not exists.\n\nIf the *file* already exists, the new content will be saved as a new column in the document. The name of the column contains the date like ``YY-MM``:\n\n.. csv-table:: Example CSV output\n\n directorys;2011-12;2012-03\n directory-1;0K;128K\n directory-2;32M;132M\n directory-3;980M;1.124G\n\nIf the *column* already exists the quotachecker will return a note that you have to set the ``-o`` parameter if you want to overwrite the column and exit.\nIf the ``-o`` option is set quotachecker will overwrite the column by if it exist.\n\n\nRequirements\n============\n\nIf the installed python is at least 2.7 you have all what you need and there is nothing to install.\n\nIf the installed python is 2.6 you need to install `argparse `_ witch is already done if you installed the quotachecker with pip.\n\n\nTesting\n=======\n\nIf something doesn't work as described please first run the tests::\n\n python runtests.py\n\nad send me me the output if it fails.\n\n\nChangelog\n=========\n\n1.7 (2012-05-09)\n----------------\n\n* Initial release", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/quotachecker", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/inqbus/quotachecker", "keywords": "", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "quotachecker", "package_url": "https://pypi.org/project/quotachecker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/quotachecker/", "project_urls": { "Download": "http://pypi.python.org/pypi/quotachecker", "Homepage": "https://bitbucket.org/inqbus/quotachecker" }, "release_url": "https://pypi.org/project/quotachecker/1.7/", "requires_dist": null, "requires_python": null, "summary": "Return the quota of 1st level sub folders in a directory.", "version": "1.7" }, "last_serial": 798418, "releases": { "1.7": [ { "comment_text": "", "digests": { "md5": "e583bb096e3f6952dc7e8bef17f91dc2", "sha256": "4ab021fa419b8da81a1dd63b6f1f7b81c051feb6508c284688c56047c34ce9eb" }, "downloads": -1, "filename": "quotachecker-1.7.tar.gz", "has_sig": false, "md5_digest": "e583bb096e3f6952dc7e8bef17f91dc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151844, "upload_time": "2012-05-09T16:19:56", "url": "https://files.pythonhosted.org/packages/a7/44/b3cef2880ce393c4ff6bbc5cc8ca2f598a63fb62222951361cf213c6b8c9/quotachecker-1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e583bb096e3f6952dc7e8bef17f91dc2", "sha256": "4ab021fa419b8da81a1dd63b6f1f7b81c051feb6508c284688c56047c34ce9eb" }, "downloads": -1, "filename": "quotachecker-1.7.tar.gz", "has_sig": false, "md5_digest": "e583bb096e3f6952dc7e8bef17f91dc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151844, "upload_time": "2012-05-09T16:19:56", "url": "https://files.pythonhosted.org/packages/a7/44/b3cef2880ce393c4ff6bbc5cc8ca2f598a63fb62222951361cf213c6b8c9/quotachecker-1.7.tar.gz" } ] }