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-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 509c9671dd1ef818df5261e13214dce83da60f3a919bf69cc019372df96801dc |
|
MD5 | 897e6cc9fd15ca9554724a20cf2cd79e |
|
BLAKE2b-256 | a0154c38e01df0ceb8738405f29caef53603c62f50f4e3fabc13cc08261d95df |