This is a user-friendly local database package designed for beginners. You don't need to know any query language - simply import the package and use its methods according to the documentation. The data will be automatically saved in a CSV file in a 'data' folder within your current working directory. This package is perfect for small-scale projects or for those who are just getting started with beginner python project
Project description
How to use?
First Import Table Class From GulistanDB
from gulistandb import Table
# BookLibrary = Table("TableName", *ColumnNames)
# TableName must to be an unique one
BookLibrary = Table("Book Library", "BookId", "BookName", "BookPages")
bL = BookLibrary
Method | Example | Description |
---|---|---|
commit | bL.commit() | To initialize your db, a 'Data' folder will be automatically created in your current working directory where all data will be saved. |
rename | bL.rename("newName") | To Rename Your Table |
drop | bL.drop() | To Delete Your Table |
insert | bL.rename("101", "Atomic Habit", "377") | To Insert Data in Table |
read | bL.read(type='dict', default='csv') | To Read Overview of your Table (Fast) |
get | bL.get() | To get all data of your Table (Slow) |
Upcoming...
NOTE: CURRENTLY IT IS ON BETA VERSION
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gulistandb-0.0.3.tar.gz
(4.6 kB
view hashes)