Skip to main content

About srisum

srisum is a minimal command-line tool to compute and display the Subresource Integrity checksum of a local file or a remote file accessible via an HTTPS URL.

That is useful in at least these two contexts:

  • Adding new static file asset to an existing HTML document
  • Bumping a nixOS package for nixOS from a non-nixOS host

srisum is software libre written in Python 3 and licensed under the MIT license.

Installation

# pip install srisum

Example

# srisum https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.xz
sha256-zwMtDbqbkoY2VI4ysyei1msaq2PE9KE90TLC0dLy+2o=

Alternatives

JavaScript

Python

Rust

Release files for srisum 1.0.1

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

Source distribution (sdist)

Source distribution for srisum 1.0.1
File Size Uploaded
srisum-1.0.1.tar.gz 3.7 kB Details

Built distribution (wheel)

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

Total release size: 7.5 kB

Release files / srisum-1.0.1.tar.gz

Download URL srisum-1.0.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a9fd7b276226ed1f438124f6b814a216f8ed7595dd98fc530371ae4f874549f5
BLAKE2b-256 checksum
How to use checksums
22be5f0a576c4b89a5c23311db014c4f2dea01d34fb993b9b42dc54e8e2c3316
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.8.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10

Release files / srisum-1.0.1-py3-none-any.whl

Download URL srisum-1.0.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0529c0f12bd8d8c11dcc5e234f96f8f3bcef7f4108a6cf0e225a1b117efd01e
BLAKE2b-256 checksum
How to use checksums
d3251468c630f83711afe47f2a3b59bacf8878b809d67e4f7266bb6ad6e888bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.8.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10

Release history Release notifications | RSS feed

This release

1.0.1 This release

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