Skip to main content

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-0.8.0.tar.gz (125.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-0.8.0-py3-none-any.whl (111.5 kB view details)

Uploaded Python 3

File details

Details for the file swh.model-0.8.0.tar.gz.

File metadata

  • Download URL: swh.model-0.8.0.tar.gz
  • Upload date:
  • Size: 125.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for swh.model-0.8.0.tar.gz
Algorithm Hash digest
SHA256 e493a5a9d85b3df9cb53cdaf59a80095963b7d80e96dcd07cfa64a06db89cce5
MD5 448b6d969668001780d2fd22d180fd05
BLAKE2b-256 b10008701e72f661da852056358dd40a0072e1e5ce1139337a674ed1f06b1201

See more details on using hashes here.

File details

Details for the file swh.model-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: swh.model-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 111.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for swh.model-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f6ae3d2a6fbcc20daff408e36a923ccad4488d19fd19a999779c50a37fc81ab
MD5 8de6a30ac93ee6e98560a42940605d4b
BLAKE2b-256 dc385a797774f4e6e83a29c866d328bd712edb7e116308156474685d0d67b19a

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