AnPyDatabase is a Library that provides a AnDatabase Support For Python Language Thats Help In In Python Base Desktop Softwares .
- No SQL Required, SQL Free Database
- Fast and Flexible
- Table Exportation Support (To CSV File)
pip install AnPyDatabase
from andb.connect import Connection
from andb.database import Database
from andb.table import Table
from andb.drop import DropTable, DropDatabase
-
For Connecting To The AnDatabase
Connection.connect()
It Simply Returns Boolean Value True If Database is Connected Otherwise False. -
Creating Database
mainDatabase = Database()
mainDatabase.createDB("NameOfDatabase")
- Creating Table Inside mainDatabase
loginFormTable = Table();
loginFormTable.createTable("TableName",mainDatabase);
- Add Columns Inside Table
loginFormTable.setColumns(["id", "name","email","password"]);
- Ok That's It You Have Good To Go With AnDatabase And For Adding Data To Table Or Column Use
studentTB.addRow(["1","UserName","[email protected]"])
For Password Security AnDatabase Provide A Security Class That Encrypt Your Password With A Special Key Inside Program Then Add Into Column.
Eg.
Security.encrypt(Data,Key);
Security.decrypt(EncryptedData,key);