{ "info": { "author": "Feiyi Wang", "author_email": "fwang2@ornl.gov", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2.7", "Topic :: System :: Filesystems" ], "description": "# fs-sparse: a wrapper to check sparse file\n\n\n## Generate test files\n\nUsing scripts provided in `test/create_test_file.sh`, it will generate two\nfiles:\n\n* `normal.dat` with no holes;\n* `sparse.dat` with holes.\n\n\n## Usage\n\nThe interface exposes three functions, see example below. Note that if a file\nhas no holes, the # of extents (or tuple) will be 1.\n\n In [1]: import sparse\n\n In [2]: sparse.get_extents(\"test/sparse.dat\")\n Out[2]: [(0, 8192), (28672, 36864), (40960, 45056)]\n\n In [3]: sparse.get_extents(\"test/normal.dat\")\n Out[3]: [(0, 8192)]\n\n In [4]: sparse.is_sparse(\"test/normal.dat\")\n Out[4]: False\n\n\nPlease open issues for bug fix or feature requests.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "Apache", "maintainer": "", "maintainer_email": "", "name": "fs-sparse", "package_url": "https://pypi.org/project/fs-sparse/", "platform": "Linux", "project_url": "https://pypi.org/project/fs-sparse/", "project_urls": null, "release_url": "https://pypi.org/project/fs-sparse/0.1/", "requires_dist": null, "requires_python": ">=2.7, <3", "summary": "A wrapper for sparse file detection", "version": "0.1" }, "last_serial": 3632583, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "127e1b740406bcf92a3b270812403805", "sha256": "d9545e85b32d8128a757f3b0823ff1ef8dbaf7f253336c46b571109bba6374cc" }, "downloads": -1, "filename": "fs_sparse-0.1.tar.gz", "has_sig": false, "md5_digest": "127e1b740406bcf92a3b270812403805", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, <3", "size": 2756, "upload_time": "2018-03-02T17:26:21", "url": "https://files.pythonhosted.org/packages/6d/86/43e6285b575f15405b4de2e6a751f76248be85e3cb943f45787fe6ee75be/fs_sparse-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "127e1b740406bcf92a3b270812403805", "sha256": "d9545e85b32d8128a757f3b0823ff1ef8dbaf7f253336c46b571109bba6374cc" }, "downloads": -1, "filename": "fs_sparse-0.1.tar.gz", "has_sig": false, "md5_digest": "127e1b740406bcf92a3b270812403805", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, <3", "size": 2756, "upload_time": "2018-03-02T17:26:21", "url": "https://files.pythonhosted.org/packages/6d/86/43e6285b575f15405b4de2e6a751f76248be85e3cb943f45787fe6ee75be/fs_sparse-0.1.tar.gz" } ] }