is_sqlite3#

is_sqlite3(file)[source]#

Check if a file is a SQLite database.

Parameters:

file (Union[str, Path, bytes]) – The file to check.

Returns:

A boolean indicating whether file is a SQLite database.

Return type:

bool