Basic local database system
Project description
Do not use this for anything big as its not a secure way to store data.
This is meant to be used for fun and creating things for yourself or with a small group of people.
Example code:
import pybasekit
service = pybasekit.Start() # starts the service
NewDB = service.CreateDB("MyDatabase", "key") # creates a new database called MyDatabase and with the key "key"
db = service.ConnectDB("MyDatabase", "key") # Connects to the database using the same key
section = db.create_section("newsection") # Creates a section in the database to store data
collect = db.get_section_data("newsection") # Gets all data from section
print(collect) # prints the data from the section
Not all features were included in the example here are all the features:
Start()/
CreateDB(name, key)
ConnectDB(name, key)/
create_section(section_title)
insert_data(section, Data_Title, Data_Value)
insert_list(section, Data_Title, List)
get_data(self, section, Data_Title)
remove_data(section, Data_Title)
update_data_value(section, Data_Title, New_Value)
get_all_data()
get_section_data(section)
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
Built Distribution
Hashes for pybasekit-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2bb058aedf0eb05b1fc6b6ce3606282c7a5eff0969bcde70eec619b7d868b20 |
|
MD5 | a305770584cea33afc800ef4e7c7021a |
|
BLAKE2b-256 | c83663a32eb9af6e06ae4edec356a836459b98895915221402345300fbbf1722 |