swh.scanner.backend module#

swh.scanner.backend.create_app(db: Db)[source]#

Backend for swh-scanner, implementing the /known endpoint of the Software Heritage Web API

swh.scanner.backend.run(host: str, port: int, db: Db)[source]#

Serve the local database