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 details)
File details
Details for the file gulistandb-0.0.3.tar.gz
.
File metadata
- Download URL: gulistandb-0.0.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e04317f463dc6f4d53b5c6edd32cdf0e5afc6bc17652e615c5c9e37cea7ea76 |
|
MD5 | 97c727609064db6f4a5907629d71ecf1 |
|
BLAKE2b-256 | e3bb6b785eb776d71b42138f23f9a71d402158141e710e7a7f308c3fbad87869 |