swh.osv.to_sqlite module#

swh.osv.to_sqlite.init_db(conn: Connection) None[source]#
swh.osv.to_sqlite.create_indices(conn: Connection) None[source]#
swh.osv.to_sqlite.main(conn: Connection) None[source]#
swh.osv.to_sqlite.import_osv_tarballs(conn: Connection, path: Path) None[source]#

Import a local download of tarballs of https://storage.googleapis.com/cve-osv-conversion/osv-output/ ‘s objects to the sqlite database

swh.osv.to_sqlite.import_osv_zip(conn: Connection, path: Path) None[source]#

Import a local download of https://osv-vulnerabilities.storage.googleapis.com/all.zip to the sqlite database