API reference#
See also
Looking for ways to interact with our source code archive from your applications or research projects? Learn how to use Software Heritage from your applications.
Here is the reference documentation of Software Heritage own software stack by components:
- swh.alter
- Using swh-alter
- Dependencies
- Configuration
- Removing objects from the archive
- Resuming a removal from a recovery bundle
- Restoring from a recovery bundle
- Getting information from a recovery bundle
- Extracting content stored in a recovery bundle
- Operating recovery bundles remotely
- Shared secrets rollover
- For mirrors: watching and acting on removal notifications
- Removal algorithm
- Recovery bundles
- swh.alter package
- swh.alter.bech32 module
- swh.alter.cli module
- swh.alter.inventory module
- swh.alter.mirror_notification_watcher module
- swh.alter.notifications module
- swh.alter.operations module
- swh.alter.progressbar module
- swh.alter.recovery_bundle module
- swh.alter.removable module
- swh.alter.subgraph module
- swh.alter.utils module
- Using swh-alter
- swh.auth
- swh.coarnotify
- swh.core
- swh.counters
- swh.dataportal
- swh.datasets
- swh.deposit
- swh.digestmap
- swh.export
- swh.fuse
- swh.graph
- swh.graph.libs
- Software Heritage GraphQL API
- Design
- swh.indexer
- Software Heritage - Indexer
- Metadata workflow
- Custom indexers and metadata mappings
- SwhPkg Vocabulary
- swh.indexer package
- swh.indexer.citation package
- swh.indexer.metadata_mapping package
- swh.indexer.storage package
- swh.indexer.cli module
- swh.indexer.codemeta module
- swh.indexer.fossology_license module
- swh.indexer.indexer module
- swh.indexer.metadata module
- swh.indexer.metadata_detector module
- swh.indexer.mimetype module
- swh.indexer.namespaces module
- swh.indexer.origin_head module
- swh.indexer.rehash module
get_datastore()get_indexer_names()get_indexer()load_indexers()
- Reference Documentation
- swh.journal
- swh.lister
- swh.loader
- swh.model
- Data model
- SoftWare Heritage persistent IDentifiers (SWHIDs)
- Command-line interface
- swh.model package
- swh.model.fields package
- swh.model.cli module
- swh.model.collections module
- swh.model.discovery module
- swh.model.exceptions module
- swh.model.from_disk module
- swh.model.git_objects module
- swh.model.hashutil module
- swh.model.hypothesis_strategies module
- swh.model.merkle module
- swh.model.model module
- swh.model.swhids module
- swh.model.toposort module
- swh.model.validators module
- swh.objstorage
- swh.objstorage.replayer
- Software Heritage - Provenance
- Description
- Using the gRPC API
- swh-provenance design
- swh.provenance package
- swh.provenance.api namespace
- swh.provenance.backend namespace
- swh.provenance.grpc namespace
- swh.provenance.cli module
- swh.provenance.exc module
- swh.provenance.grpc_client module
- swh.provenance.grpc_server module
- swh.provenance.interface module
- swh.provenance.luigi module
- swh.provenance.pytest_plugin module
- swh.provenance.shell module
get_provenance()
- swh.scanner
- swh.scheduler
- swh.scrubber
- swh.search
- swh.shard
- swh.storage
- swh.vault
- swh.web
- swh.web.client
- swh.webhooks