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
File details
Details for the file pybasekit-1.0.2.tar.gz
.
File metadata
- Download URL: pybasekit-1.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1583481353df0d886469589135997d7f3718e2527891d08b82a2399f4a39667a |
|
MD5 | 9b894a07bb466f5c963d83a89cd0e1d8 |
|
BLAKE2b-256 | 240ad183de4a3138ad5c8666b4e6f827715b69dd66aaa065a16df0e480835055 |
File details
Details for the file pybasekit-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: pybasekit-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2bb058aedf0eb05b1fc6b6ce3606282c7a5eff0969bcde70eec619b7d868b20 |
|
MD5 | a305770584cea33afc800ef4e7c7021a |
|
BLAKE2b-256 | c83663a32eb9af6e06ae4edec356a836459b98895915221402345300fbbf1722 |