Software Heritage Content Indexer
Project description
swh-indexer
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
swh.indexer-2.11.0.tar.gz
(156.7 kB
view hashes)
Built Distribution
swh.indexer-2.11.0-py3-none-any.whl
(198.7 kB
view hashes)
Close
Hashes for swh.indexer-2.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6005e5e8e9f0bc45e4d7166e631b5ee536182a099ea23e8b4d7326ed743a6a7f |
|
MD5 | 3fee8913194100db94120202c2c80b8a |
|
BLAKE2b-256 | b1a7aa77a2a68a6ef6c57c97b3a0513f2bb261de7b3ef28c8deb4b06da0d7e78 |