{ "info": { "author": "Philip Thrasher", "author_email": "philipthrasher@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: System Administrators", "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "==\nsp\n==\n\nI used to work for Turner Broadcasting, and we used an internal perl script\nnamed sp to find files hogging disk space on a server. I have long ago left\nTurner, and never brought the source code along with me, so I decided to\nre-write it in python.\n\nIn a nutshell, here's what it does:\n\n * Recurse through directories from a starting point (current working dir, or\n a directory you specify)\n * Gather all file sizes, and therefore, also directory sizes.\n * List all directories largest to smallest, and same for files.\n * Be able to ignore files less than a certain size while still letting their\n size count toward their parent directory's size.\n * Be able to ignore directories less than a certain size while still letting\n their size count toward their parent directory's size.\n * Limit number of files displayed per directory. For instance... Show only\n the top 15 largest files.\n * Limit depth to recurse.\n\nInstallation\n------------\n\nsp uses setuptools_ for installation. It has no dependencies. sp is\neasy_installable::\n\n $ easy_install sp\n\nAlternatively, download and unpack the tarball and install::\n\n $ tar zxf sp-1.0.2.tar.gz\n $ python setup.py install\n\nOn UNIX systems, use sudo for the latter command if you need to install the\nscripts to a directory that requires root privileges::\n\n $ sudo python setup.py install\n\nThe development git repository can be checked out anonymously::\n\n $ git clone https://github.com/pthrasher/sp.git\n\nThere is one little tweak to the installation that you may want to consider. By\ndefault, setuptools installs scripts indirectly; the scripts installed to\n$prefix/bin or Python2x\\Scripts use setuptools' pkg_resources module to load\nthe exact version of sp egg that installed the script, then runs the script's\nmain() function. This is not usually a bad feature, but it can add substantial\nstartup overhead for a small command-line utility like sp. If you want the\nresponse of sp to be snappier, I recommend installing custom scripts that just\nimport the sp module and run the sp_main() function. See the file\nexamples/sp for an example.\n\n.. _setuptools : http://pypi.python.org/pypi/setuptools\n\n\nUsing sp\n----------\n\nTo recursively search from the current directory with default settings:\n\n $ sp\n\nTo do anything else, see the help.\n\n $ sp --help\n\n\nTo Do\n-----\n\n* Add file / folder exclusion list.\n\n\nBugs and Such\n-------------\n\nIf you find a bug, or a missing feature you really want added, please post to\nthe issue-tracker_ on github.com or email the author at\n.\n\n.. _issue-tracker : https://github.com/pthrasher/sp/issues", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/pthrasher/sp", "keywords": null, "license": "Unlicense", "maintainer": null, "maintainer_email": null, "name": "sp", "package_url": "https://pypi.org/project/sp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/pthrasher/sp" }, "release_url": "https://pypi.org/project/sp/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Quickly find out which directories / files are hogging your disk space.", "version": "1.1.0" }, "last_serial": 799852, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d55469ac2359503773e0a87db14f7eeb", "sha256": "eaca357a324e723ffb3c1ba6e1b14d97d44833066afe898ba56a97347d6b228e" }, "downloads": -1, "filename": "sp-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d55469ac2359503773e0a87db14f7eeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6164, "upload_time": "2012-02-01T22:07:16", "url": "https://files.pythonhosted.org/packages/bc/c0/61d0f52e10838a579da83e8f50eca1f8edd9b19a30b2ab0938c61c6d5627/sp-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "68716b176cdf53ff96abbb0baf7f4d7a", "sha256": "491183f1bad94ba69c38eebffe98e89219f4ee9d8046399b0fbe9e7f872fe5e0" }, "downloads": -1, "filename": "sp-1.0.1.tar.gz", "has_sig": false, "md5_digest": "68716b176cdf53ff96abbb0baf7f4d7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6189, "upload_time": "2012-02-01T22:22:48", "url": "https://files.pythonhosted.org/packages/3a/db/ade51c59c707839ca2283fb42e6b65c9de02b4f2c5febbca17269ecb2baa/sp-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "35be6afda7ecda0de1ce638ad7cdce14", "sha256": "5eab14429bff1cd7bb019edb0602531f877b1d3cf3a4b613c0788f76b713260f" }, "downloads": -1, "filename": "sp-1.0.2.tar.gz", "has_sig": false, "md5_digest": "35be6afda7ecda0de1ce638ad7cdce14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6302, "upload_time": "2012-02-01T22:46:30", "url": "https://files.pythonhosted.org/packages/4a/78/8594c60b476c48c457261d218f940e5cd82ef126b190fc4c98a707111493/sp-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "b3fe6cad1c650038a745aa337fcb4b64", "sha256": "7ceea1424e336204aeba14807885087bad366e71ee201fdf6786c2fa2d551b43" }, "downloads": -1, "filename": "sp-1.1.0.tar.gz", "has_sig": false, "md5_digest": "b3fe6cad1c650038a745aa337fcb4b64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7278, "upload_time": "2012-02-10T15:10:45", "url": "https://files.pythonhosted.org/packages/43/e0/efaf52e12adb26fb9986304656bbedf09512913e75e0967f1179c39ed719/sp-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b3fe6cad1c650038a745aa337fcb4b64", "sha256": "7ceea1424e336204aeba14807885087bad366e71ee201fdf6786c2fa2d551b43" }, "downloads": -1, "filename": "sp-1.1.0.tar.gz", "has_sig": false, "md5_digest": "b3fe6cad1c650038a745aa337fcb4b64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7278, "upload_time": "2012-02-10T15:10:45", "url": "https://files.pythonhosted.org/packages/43/e0/efaf52e12adb26fb9986304656bbedf09512913e75e0967f1179c39ed719/sp-1.1.0.tar.gz" } ] }