.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.sqlitedb Namespace Reference

Classes

class  DBSession
 
class  SQLiteAppl
 
class  SQLiteProperties
 

Variables

 logger = logger.getChild("sqlitedb")
 
 THREAD_LOCAL = threading.local()
 

Detailed Description

Implementations to make access to SQLite databases a little more convenient.

:py:obj:`SQLiteAppl`
  Abstract class with which DB applications can be implemented.

:py:obj:`SQLiteProperties`:
  Class to manage properties stored in a database.

Examplarical implementations based on :py:obj:`SQLiteAppl`:

:py:obj:`searx.cache.ExpireCacheSQLite` :
  Cache that manages key/value pairs in a SQLite DB, in which the key/value
  pairs are deleted after an "expire" time.  This type of cache is used, for
  example, for the engines, see :py:obj:`searx.enginelib.EngineCache`.

:py:obj:`searx.favicons.cache.FaviconCacheSQLite` :
  Favicon cache that manages the favicon BLOBs in a SQLite DB.

----

Variable Documentation

◆ logger

searx.sqlitedb.logger = logger.getChild("sqlitedb")

Definition at line 34 of file sqlitedb.py.

◆ THREAD_LOCAL

searx.sqlitedb.THREAD_LOCAL = threading.local()

Definition at line 36 of file sqlitedb.py.