# Shortcut Functions for Disk Operations
## Install
pip install invisibleroads-macros-disk
## Test
git clone https://github.com/invisibleroads/invisibleroads-macros-disk
cd invisibleroads-macros-disk
pip install -e .[test]
pytest --cov=invisibleroads_macros_disk --cov-report term-missing tests
## 1.3
- Add `cache_download`
- Use `platformdirs.user_cache_dir` for OS independent temporary folder
## 1.2
- Add `is_path_in_folder`, `get_file_hash`, `get_asset_path`
## 1.1
- Restore `archive_safely`, `unarchive_safely`
- Restore `check_relative_path`, `get_relative_path`
- Restore `has_extension`, `is_matching_paths`, `walk_paths`
## 1.0
- Restore `TemporaryStorage`, `make_folder`, `make_unique_folder`
- Restore `remove_folder`, `remove_path`
- Restore `check_absolute_path`, `get_absolute_path`, `get_real_path`
- Restore `make_enumerated_folder`, `make_random_folder`
Raw data
{
"_id": null,
"home_page": "https://github.com/invisibleroads/invisibleroads-macros-disk",
"name": "invisibleroads-macros-disk",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "invisibleroads",
"author": "Roy Hyunjin Han",
"author_email": "rhh@crosscompute.com",
"download_url": "https://files.pythonhosted.org/packages/08/58/8aeb5f0b6675f1f088328be297580c2653738b92f8b4a5a44dce1d538033/invisibleroads-macros-disk-1.3.0.tar.gz",
"platform": null,
"description": "# Shortcut Functions for Disk Operations\n\n## Install\n\n pip install invisibleroads-macros-disk\n\n## Test\n\n git clone https://github.com/invisibleroads/invisibleroads-macros-disk\n cd invisibleroads-macros-disk\n pip install -e .[test]\n pytest --cov=invisibleroads_macros_disk --cov-report term-missing tests\n\n## 1.3\n\n- Add `cache_download`\n- Use `platformdirs.user_cache_dir` for OS independent temporary folder\n\n## 1.2\n\n- Add `is_path_in_folder`, `get_file_hash`, `get_asset_path`\n\n## 1.1\n\n- Restore `archive_safely`, `unarchive_safely`\n- Restore `check_relative_path`, `get_relative_path`\n- Restore `has_extension`, `is_matching_paths`, `walk_paths`\n\n## 1.0\n\n- Restore `TemporaryStorage`, `make_folder`, `make_unique_folder`\n- Restore `remove_folder`, `remove_path`\n- Restore `check_absolute_path`, `get_absolute_path`, `get_real_path`\n- Restore `make_enumerated_folder`, `make_random_folder`\n",
"bugtrack_url": null,
"license": "",
"summary": "Shortcut functions for disk operations",
"version": "1.3.0",
"split_keywords": [
"invisibleroads"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bb95e50b8570433c34a0114b0ac6acb73831c2bfce1dd91699d449d44bfa6ba2",
"md5": "0e107645f2d07789970b1a4b453bb6bc",
"sha256": "e178bf6dae1b1fbe5a0a6229a65b70c546946ab9a4d52734e160628b0d77fbe7"
},
"downloads": -1,
"filename": "invisibleroads_macros_disk-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0e107645f2d07789970b1a4b453bb6bc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 6051,
"upload_time": "2023-02-10T13:01:26",
"upload_time_iso_8601": "2023-02-10T13:01:26.595011Z",
"url": "https://files.pythonhosted.org/packages/bb/95/e50b8570433c34a0114b0ac6acb73831c2bfce1dd91699d449d44bfa6ba2/invisibleroads_macros_disk-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "08588aeb5f0b6675f1f088328be297580c2653738b92f8b4a5a44dce1d538033",
"md5": "125bbd9a6d1865095f364392150c95a4",
"sha256": "7144c2f8286cccf76b022215abaa0f1c44134dbf97a069831b2b1c72847ef902"
},
"downloads": -1,
"filename": "invisibleroads-macros-disk-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "125bbd9a6d1865095f364392150c95a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 6036,
"upload_time": "2023-02-10T13:01:27",
"upload_time_iso_8601": "2023-02-10T13:01:27.622855Z",
"url": "https://files.pythonhosted.org/packages/08/58/8aeb5f0b6675f1f088328be297580c2653738b92f8b4a5a44dce1d538033/invisibleroads-macros-disk-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-10 13:01:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "invisibleroads",
"github_project": "invisibleroads-macros-disk",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "invisibleroads-macros-disk"
}