Skip to main content

simd5

Python module to create MD5 files for digital deliveries. Current version: 0.3.3

A project of the Digitization Program Office, OCIO, Smithsonian.

https://dpo.si.edu/

Installation

To install:

python3 -m pip install simd5

To upgrade add -U:

python3 -m pip install -U simd5

Usage

To create a MD5 file with the filenames and hashes:

import simd5

simd5.md5_file(folder="files", fileformat="m f", no_workers=4)

The command can take these arguments:

  • folder: Which folder to run in. Will ignore subfolders.
  • fileformat: What format to use when creating the MD5 file: ** m f: [MD5 hash] [filename] (space-separated) ** f m: [filename] [MD5 hash] (space-separated) ** m,f: [MD5 hash],[filename] (comma-separated) ** f,m: [filename],[MD5 hash] (comma-separated)
  • no_workers: How many parallel processes to use. By default, it will use the number of cores found in the system.

To verify if the files match a reference md5 file:

from simd5 import simd5

simd5.check_md5_file(md5_file="file.md5", files="*.tif*", csv=True, no_workers=4)

The command can take these arguments:

  • md5_file: The file with the hash and filenames
  • files: A search pattern for which files to compare the hashes
  • csv: Save the results to a results.csv file
  • no_workers: How many parallel processes to use. By default, it will use the number of cores found in the system.

License

Available under the Apache License 2.0. Consult the LICENSE file for details.

Metadata

Release files for simd5 0.3.3

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

Source distribution (sdist)

Source distribution for simd5 0.3.3
File Size Uploaded Provenance Actions
simd5-0.3.3.tar.gz 8.6 kB Without provenance Details for simd5-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simd5 0.3.3
File Interpreter ABI Platform Actions
simd5-0.3.3-py3-none-any.whl Python 3 none any Details for simd5-0.3.3-py3-none-any.whl

Total release size: 16.2 kB

Release files / simd5-0.3.3.tar.gz

Download URL simd5-0.3.3.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aa129a3636509431abdbaa0cdeb281ca9c25a10a0a463efe2a02d8ff89da479f
BLAKE2b-256 checksum
How to use checksums
d91e304f2ac1db463c4c7045edb6670af1223fac175e58a2098883756a3b9790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Release files / simd5-0.3.3-py3-none-any.whl

Download URL simd5-0.3.3-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41df2913b9c0c60aaf17c68cd6fee1bc0a6236f467f6722eea71cd8e596a3812
BLAKE2b-256 checksum
How to use checksums
d7e493d39498ce66cd4cb132e2f1fe676e041c10015c538b80aec62b20138470
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Security for simd5 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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