A module for noob Programmers
Project description
Simple Data Storage Library (SQLite + Pickle)
This Python library provides an easy way to store and retrieve key-value data using SQLite and pickle. It also includes a basic Tkinter GUI that explains how to use the library.
Features
- Store any Python object with a key
- Uses SQLite as backend with a single-row table
- Serialized using
pickle - Simple and unified
save_data()function - GUI helper included to show usage instructions
Installation
No installation required. Just copy the Python files into your project. Make sure to have:
Python 3.x
Usage
from your_module import save_data, see_data
# Save data
save_data(db_name="mydb", data="1234", data_name="password")
# Retrieve data
print(see_data(db_name="mydb", data_name="password"))
db_name: name of the SQLite file (without.db)data_name: the key to store the value underdata: any serializable Python object
GUI Helper
Run tkinter_gui_helper.py to view usage instructions in a simple graphical window.
License
MIT License
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
humblydb-0.0.4.tar.gz
(3.6 kB
view details)
File details
Details for the file humblydb-0.0.4.tar.gz.
File metadata
- Download URL: humblydb-0.0.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44efa0a39fc58ad4904d18fac1c636c60429cc91a788486820a630742c2415e1
|
|
| MD5 |
e261df66952052f119ba3b261bb052b9
|
|
| BLAKE2b-256 |
90c03dc9a9a9f7919030202b8976244a80f777331790749e00610ca44978028e
|