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.9.0.tar.gz
(3.7 kB
view details)
File details
Details for the file humblydb-0.9.0.tar.gz.
File metadata
- Download URL: humblydb-0.9.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14c88462c777fd69466e64468498550dda0f80993b8299e5445d211f59e3b853
|
|
| MD5 |
309e11d862f651a2bf48bde3fe43a2dc
|
|
| BLAKE2b-256 |
6b4c7f74686f1f3dde5b0a284d1da1740d96977a321689f07214b9df862a4159
|