Software Heritage data model
Project description
swh-model
Implementation of the Data model of the Software Heritage project, used to archive source code artifacts.
This module defines the notion of SoftWare Heritage 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
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-1.0.0.tar.gz
(133.1 kB
view hashes)
Built Distribution
swh.model-1.0.0-py3-none-any.whl
(120.5 kB
view hashes)
Close
Hashes for swh.model-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63fe82b3206c6be45aedaac19699054285b810cab262d9449d4d668d2e12029d |
|
MD5 | bec85f063276edc3c729998cea1980cf |
|
BLAKE2b-256 | ef20e55d6cefc746ae73b283f4abad47a59fa0d65c23f0b47a8d06df0946857d |