Skip to main content

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

Metadata

Release files for invisibleroads-macros-disk 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for invisibleroads-macros-disk 1.3.0
File Size Uploaded
invisibleroads-macros-disk-1.3.0.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for invisibleroads-macros-disk 1.3.0
File Interpreter ABI Platform
invisibleroads_macros_disk-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / invisibleroads-macros-disk-1.3.0.tar.gz

Download URL invisibleroads-macros-disk-1.3.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7144c2f8286cccf76b022215abaa0f1c44134dbf97a069831b2b1c72847ef902
BLAKE2b-256 checksum
How to use checksums
08588aeb5f0b6675f1f088328be297580c2653738b92f8b4a5a44dce1d538033
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.9

Release files / invisibleroads_macros_disk-1.3.0-py3-none-any.whl

Download URL invisibleroads_macros_disk-1.3.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e178bf6dae1b1fbe5a0a6229a65b70c546946ab9a4d52734e160628b0d77fbe7
BLAKE2b-256 checksum
How to use checksums
bb95e50b8570433c34a0114b0ac6acb73831c2bfce1dd91699d449d44bfa6ba2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.9

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page