swh.scanner.backend module¶
-
swh.scanner.backend.
create_app
(db: swh.scanner.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: swh.scanner.db.Db)[source]¶ Serve the local database