Skip to main content

simple-dir-archive

a simple lib for make an archive file for a directory.

Installation

pip install simple-dir-archive

Usage

import simple_dir_archive

# load a folder into memory
folder_path = "test_data/test_folder"
data_dict = simple_dir_archive.load_dir_or_file_to_dict(folder_path)

# save the cached folder into new position
output_path = "test_data/copy_folder"
simple_dir_archive.save_dict_to_dir_or_file(data_dict, output_path)

print(
    simple_dir_archive.check_same(
        simple_dir_archive.load_dir_or_file_to_dict(folder_path),
        simple_dir_archive.load_dir_or_file_to_dict(output_path)
    )
)

Metadata

Release files for simple-dir-archive 0.1.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 simple-dir-archive 0.1.0
File Size Uploaded
simple_dir_archive-0.1.0.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-dir-archive 0.1.0
File Interpreter ABI Platform
simple_dir_archive-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / simple_dir_archive-0.1.0.tar.gz

Download URL simple_dir_archive-0.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5fedda2ad8af16e15afcdca8889ede0ac6c4803dec0465981529d57bd84bc006
BLAKE2b-256 checksum
How to use checksums
2aac70d67c649b9db6ac14687fad621083c7fde1afceb52ea9555777905de4dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.13.12 Windows/11

Release files / simple_dir_archive-0.1.0-py3-none-any.whl

Download URL simple_dir_archive-0.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cc6858a145dc1896387a76139cbe26e71d3597dfb79cbd74cf939bd988bb74a
BLAKE2b-256 checksum
How to use checksums
d2e3237c023ffd9b2f6afaea995a58fcb139d45cbbd4c1bc3b4b45a5b90d780e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.13.12 Windows/11

Release history Release notifications | RSS feed

This release

0.1.0 This release

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