Software Heritage indexer
Project description
Tools to compute multiple indexes on SWH’s raw contents:
content:
mimetype
fossology-license
metadata
origin:
metadata (intrinsic, using the content indexer; and extrinsic)
An indexer is in charge of:
looking up objects
extracting information from those objects
store those information in the swh-indexer db
There are multiple indexers working on different object types:
content indexer: works with content sha1 hashes
revision indexer: works with revision sha1 hashes
origin indexer: works with origin identifiers
Indexation procedure:
receive batch of ids
retrieve the associated data depending on object type
compute for that object some index
store the result to swh’s storage
Current content indexers:
mimetype (queue swh_indexer_content_mimetype): detect the encoding and mimetype
fossology-license (queue swh_indexer_fossology_license): compute the license
metadata: translate file from an ecosystem-specific formats to JSON-LD (using schema.org/CodeMeta vocabulary)
Current origin indexers:
metadata: translate file from an ecosystem-specific formats to JSON-LD (using schema.org/CodeMeta and ForgeFed vocabularies)
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
Built Distribution
Hashes for swh.indexer-3.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5175e402eb1b7d6569dd2af3d1609fb9ddbab93f9dc85208af5e8912513c6d1d |
|
MD5 | 45e0570f0744cf2e50e0f35f10ee7c92 |
|
BLAKE2b-256 | 801e5d6180cdb409a8ea670ac75a85dece29d7da11708ed0a59302defd36f557 |