Skip to content

Anikeshpatel/AnPyDatabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnPyDatabase

Just Focus On What To Do, Not In How To Do

AnPyDatabase is a Library that provides a AnDatabase Support For Python Language Thats Help In In Python Base Desktop Softwares .

>>> Features :

  1. No SQL Required, SQL Free Database
  2. Fast and Flexible
  3. Table Exportation Support (To CSV File)

>>> Install :

Type Command In Terminal Or CMD

  pip install AnPyDatabase
  

>>> Projects Using AnDatabase :

>>> Basic Implementation :

Import All Modules

from andb.connect import Connection
from andb.database import Database
from andb.table import Table
from andb.drop import DropTable, DropDatabase
  1. For Connecting To The AnDatabase Connection.connect() It Simply Returns Boolean Value True If Database is Connected Otherwise False.

  2. Creating Database

mainDatabase = Database()  
mainDatabase.createDB("NameOfDatabase")
  1. Creating Table Inside mainDatabase
loginFormTable = Table();  
loginFormTable.createTable("TableName",mainDatabase);
  1. Add Columns Inside Table
loginFormTable.setColumns(["id", "name","email","password"]);
  1. Ok That's It You Have Good To Go With AnDatabase And For Adding Data To Table Or Column Use
studentTB.addRow(["1","UserName","UserEmail@Example.com"])

>>> Security Example :

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);

Anon Database

About

A Python Library For AnDatabase more About AnDatabase visit https://github.com/anongrp/AnDatabase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages