diff --git a/databases.json b/databases.json new file mode 100644 index 0000000..0aa8269 --- /dev/null +++ b/databases.json @@ -0,0 +1,26 @@ +{ + "mysql":{ + "driver":"aiomysql", + "async_mode":true, + "coding":"utf8", + "dbname":"homedata", + "maxconn":100, + "kwargs":{ + "user":"test", + "db":"homedata", + "password":"test123", + "host":"localhost" + } + }, + "sqlite3":{ + "driver":"aiosqlite", + "async_mode":true, + "coding":"utf8", + "dbname":"testdb", + "maxconn":100, + "kwargs":{ + "database":"./ttttt.db" + } + } +} + diff --git a/requirements.txt b/requirements.txt index bc30b48..ad324bf 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ aiomysql mysql-connector +aiosqlite asyncio jinja2