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

Metadata

Release files for srisum 1.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 srisum 1.1.0
File Size Uploaded Provenance Actions
srisum-1.1.0.tar.gz 4.3 kB Without provenance Details for srisum-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.3 kB

Release files / srisum-1.1.0.tar.gz

Download URL srisum-1.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1db522e01fa99f553f92d20d39e584793a4d48a67fb7a7c80b2287e4b2a397cf
BLAKE2b-256 checksum
How to use checksums
336d0fbb81213c77a1876619b5f188b2ff1711a71207fd047c37d3a3d9b30361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

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

Download URL srisum-1.1.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
960d74d79c053d140a1efdcec288f75aabaf91dc9e9c23fe98249f8102dc9e42
BLAKE2b-256 checksum
How to use checksums
be7c8bb2c79aef7bdffd58239d9ccd8514f3c0c3b735cf85ad860066853be208
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for srisum 1.1.0

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