{ "info": { "author": "Sergey Barskov", "author_email": "sergeybarskov@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "# getsize\nGet and display the size of file and directory with binary prefixes\n\n## Install\n\n`$ pip install getsize`\n\n## Usage\n\n`$ getsize [OPTION] FILE...`\n\n```\nOptions:\n -h - Show this help\n -v - Show version information\n -b - Bytes\n -k - KiB\n -m - MiB\n -g - GiB\n -t - TiB\n -p - PiB\n -e - EiB\n -z - ZiB\n -y - YiB\n```\n\n### Use as a module\n\n```python\nIn [1]: import getsize\n\nIn [2]: gs = getsize.GetSize()\n\nIn [3]: gs.convSize(4096)\nOut[3]: (4.0, 'KiB')\n\nIn [4]: gs.convSize(4096, 'KiB')\nOut[4]: (4.0, 'KiB')\n\nIn [5]: gs.getSize(['README.md'])\n790.000 Bytes README.md\n\nIn [6]: gs.getSize(['README.md'], 'KiB')\n0.771 KiB README.md\n\nIn [7]: fs = gs.getArgSize('README.md')\n\nIn [8]: for file, size in fs:\n ...: print(file, size)\n ...:\nREADME.md 790\n\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JeXLiN/getsize", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "getsize", "package_url": "https://pypi.org/project/getsize/", "platform": "", "project_url": "https://pypi.org/project/getsize/", "project_urls": { "Homepage": "https://github.com/JeXLiN/getsize" }, "release_url": "https://pypi.org/project/getsize/1.1.7/", "requires_dist": null, "requires_python": "", "summary": "Get and display the size of file and directory with binary prefixes", "version": "1.1.7" }, "last_serial": 5143801, "releases": { "1.1.7": [ { "comment_text": "", "digests": { "md5": "db8ab7f3e27c8f12959a86fc8b965b1c", "sha256": "75f6a465c71fe3c83b152a1015450a5ed2d82cc736e903f656aae0ce70587095" }, "downloads": -1, "filename": "getsize-1.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "db8ab7f3e27c8f12959a86fc8b965b1c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4151, "upload_time": "2019-04-15T09:20:24", "url": "https://files.pythonhosted.org/packages/a5/84/b4c9c642dbf9b7a73761082d7ad23014d3b3253e5819a0e2e3cb5e0e9eeb/getsize-1.1.7-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "db8ab7f3e27c8f12959a86fc8b965b1c", "sha256": "75f6a465c71fe3c83b152a1015450a5ed2d82cc736e903f656aae0ce70587095" }, "downloads": -1, "filename": "getsize-1.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "db8ab7f3e27c8f12959a86fc8b965b1c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4151, "upload_time": "2019-04-15T09:20:24", "url": "https://files.pythonhosted.org/packages/a5/84/b4c9c642dbf9b7a73761082d7ad23014d3b3253e5819a0e2e3cb5e0e9eeb/getsize-1.1.7-py3-none-any.whl" } ] }