swhid_core is an OCaml library to work with Software Heritage persistent identifiers (swhids).
Swhid_core