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 Persistent Identifier (PID) 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-0.0.47.tar.gz
(51.9 kB
view hashes)
Built Distribution
swh.model-0.0.47-py3-none-any.whl
(77.1 kB
view hashes)
Close
Hashes for swh.model-0.0.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e209fbeb24e6e637c1704ba94f6bae6756a7067788284079d55f351914cc3a2 |
|
MD5 | 7d358c322e23d63068d9e4b01e92ffc6 |
|
BLAKE2b-256 | 38f71175bcc3beae2f0a61c2d72e0ca7974ba42fbcef6480ed2af924d1573a77 |