UniNews
University news from Greek and international universities in one place
Loading...
Searching...
No Matches
database.py File Reference

Classes

class  uninews.database.Database
 

Namespaces

namespace  uninews
 
namespace  uninews.database
 

Functions

str uninews.database.sort_key (Article article, set[tuple[str, str]] known_sources)
 
str uninews.database.search_text (Article article)
 
tuple[str, list] uninews.database.build_where (str|None category, str|None publisher, str|None source, str|None search)
 
str uninews.database.escape_like (str text)
 

Variables

int uninews.database.SCHEMA_VERSION = 1
 
list uninews.database.ARTICLE_COLUMNS = [field.name for field in fields(Article)]
 
str uninews.database.SCHEMA
 
str uninews.database.INSERT_ARTICLE