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

This version

2.0.0

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-2.0.0.tar.gz (133.1 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-2.0.0-py3-none-any.whl (120.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swh.model-2.0.0.tar.gz
  • Upload date:
  • Size: 133.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for swh.model-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7df645006e91cd4496b3772ceca74cec481c98cb51d8794e594eea758a5ea494
MD5 c470e9874012755ce08978963d6c171b
BLAKE2b-256 656f091bc6639b77f5f3d632437cf682fa74e6cd3ec575f53ae17920eb2de0ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swh.model-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 120.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for swh.model-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6436537b6ff1641561d6f434bffe5fad8cb8aa80de017de750708fb3802374a0
MD5 9dfd60e4cc54de313359844493327c07
BLAKE2b-256 4d0f407d506dfd34c7e2ed2096ffb16d6e89727281dbc25d8b627de19d90db90

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