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

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.1.0.tar.gz (164.1 kB view details)

Uploaded Source

Built Distribution

swh_model-8.1.0-py3-none-any.whl (149.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swh_model-8.1.0.tar.gz
  • Upload date:
  • Size: 164.1 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.1.0.tar.gz
Algorithm Hash digest
SHA256 28f6677ae7d0d4dffe44663bec4d0e0c30047420c2d2f9914f800cc0c14e6313
MD5 96407b51bd9a3fd07d5f6d2dcc2449a3
BLAKE2b-256 5f98487010688db32387a346e6d184e9bec2a4ac36460d31ac716692921d464d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swh_model-8.1.0-py3-none-any.whl
  • Upload date:
  • Size: 149.7 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb9335c04020271a57a3b700071e4d964233352becd746a23adc9d7b539dc09b
MD5 99763bc4c41c4b3a02da22ce5222b6d8
BLAKE2b-256 d2c46d9ddf69c3efe74a8084f73cc2ce49869e3cdddccd593c208fbc6f2c18c1

See more details on using hashes here.

Supported by

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