Shortcut functions for disk operations
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file invisibleroads-macros-disk-1.3.0.tar.gz
.
File metadata
- Download URL: invisibleroads-macros-disk-1.3.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7144c2f8286cccf76b022215abaa0f1c44134dbf97a069831b2b1c72847ef902 |
|
MD5 | 125bbd9a6d1865095f364392150c95a4 |
|
BLAKE2b-256 | 08588aeb5f0b6675f1f088328be297580c2653738b92f8b4a5a44dce1d538033 |
File details
Details for the file invisibleroads_macros_disk-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: invisibleroads_macros_disk-1.3.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e178bf6dae1b1fbe5a0a6229a65b70c546946ab9a4d52734e160628b0d77fbe7 |
|
MD5 | 0e107645f2d07789970b1a4b453bb6bc |
|
BLAKE2b-256 | bb95e50b8570433c34a0114b0ac6acb73831c2bfce1dd91699d449d44bfa6ba2 |