Skip to main content

Software Heritage data model

Project description

Implementation of the Data model of the Software Heritage project, used to archive source code artifacts.

This module defines the notion of SoftWare Hash persistent IDentifiers (SWHIDs) and provides tools to compute them:

$ swh-identify fork.c kmod.c sched/deadline.c
swh:1:cnt:2e391c754ae730bd2d8520c2ab497c403220c6e3    fork.c
swh:1:cnt:0277d1216f80ae1adeed84a686ed34c9b2931fc2    kmod.c
swh:1:cnt:57b939c81bce5d06fa587df8915f05affbe22b82    sched/deadline.c

$ swh-identify --no-filename /usr/src/linux/kernel/
swh:1:dir:f9f858a48d663b3809c9e2f336412717496202ab

Project details


Release history Release notifications | RSS feed

This version

8.4.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swh_model-8.4.1.tar.gz (165.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swh_model-8.4.1-py3-none-any.whl (150.6 kB view details)

Uploaded Python 3

File details

Details for the file swh_model-8.4.1.tar.gz.

File metadata

  • Download URL: swh_model-8.4.1.tar.gz
  • Upload date:
  • Size: 165.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for swh_model-8.4.1.tar.gz
Algorithm Hash digest
SHA256 27fbf55e3083c0c7d09eb9303a3e179be40163b7d2878136a2c4078024ffa0ca
MD5 aef1973a3984d6d31a00d859c222f296
BLAKE2b-256 8c69b94127caaae11962b3d209cdf0ce6cf43ed7f604593192bd811ee5242e6e

See more details on using hashes here.

File details

Details for the file swh_model-8.4.1-py3-none-any.whl.

File metadata

  • Download URL: swh_model-8.4.1-py3-none-any.whl
  • Upload date:
  • Size: 150.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for swh_model-8.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82110a0a80a2eb88e900c40976e88de38841ec8f4b603b3a4713ea38a854357f
MD5 8dc155098231b344a8f9b043cee1488e
BLAKE2b-256 794d0a003b5cedcaad05997f1fcf4ed3294fa73794c090776c270085493d63cc

See more details on using hashes here.

Supported by

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