Skip to main content

Python module to create MD5 files for digital deliveries.

Project description

si_md5_file

Python module to create MD5 files for digital deliveries.

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

https://dpo.si.edu/

Installation

To install using pip:

pip install simd5

Or:

python3 -m pip install simd5

Usage

To create a MD5 file with the filenames and hashes:

import simd5

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

The command can take these arguments:

  • folder: Where to look for folders and files. It will run in all 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)
  • 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.

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

simd5-0.2.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

simd5-0.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file simd5-0.2.tar.gz.

File metadata

  • Download URL: simd5-0.2.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for simd5-0.2.tar.gz
Algorithm Hash digest
SHA256 dcdcc9e3d1ac59bcf6e08841ff556fc9e87b3cbfc6439011b0c1e080996f582c
MD5 b952cc79ce061d2586e12208f1f14d67
BLAKE2b-256 b734fbbc51bb758b57062f3029ddb535d2264661131f44c0bd784132faf0b459

See more details on using hashes here.

File details

Details for the file simd5-0.2-py3-none-any.whl.

File metadata

  • Download URL: simd5-0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for simd5-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 32aee27ab541fb60256fedd7ddba60e33958b858c6506d2aa6d0139d0a49594e
MD5 e34e1c7700a6efb52cf3d164f8ff0d1f
BLAKE2b-256 e59d20f32c134edc53231d0b2e74c32164d35fe675bc8d60eb141fa8d85aaaab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page