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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invisibleroads-macros-disk-1.3.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invisibleroads_macros_disk-1.3.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file invisibleroads-macros-disk-1.3.0.tar.gz.

File metadata

File hashes

Hashes for invisibleroads-macros-disk-1.3.0.tar.gz
Algorithm Hash digest
SHA256 7144c2f8286cccf76b022215abaa0f1c44134dbf97a069831b2b1c72847ef902
MD5 125bbd9a6d1865095f364392150c95a4
BLAKE2b-256 08588aeb5f0b6675f1f088328be297580c2653738b92f8b4a5a44dce1d538033

See more details on using hashes here.

File details

Details for the file invisibleroads_macros_disk-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for invisibleroads_macros_disk-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e178bf6dae1b1fbe5a0a6229a65b70c546946ab9a4d52734e160628b0d77fbe7
MD5 0e107645f2d07789970b1a4b453bb6bc
BLAKE2b-256 bb95e50b8570433c34a0114b0ac6acb73831c2bfce1dd91699d449d44bfa6ba2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 files

1.2.2

2 files

1.2.1

2 files

1.1.0

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page