Skip to content

A lightweight Python data storage solution for OD&H projects. Provides simple local persistence with thread safety and compression.

License

Notifications You must be signed in to change notification settings

ivanbg2004/ODH-LocalDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OD&H LocalStorage

A simple and powerful localStorage library for Python, enhanced and branded for OD&H.

Features

  • Thread safety
  • Data compression using gzip
  • Basic CRUD operations (Create, Read, Update, Delete)
  • Example usage with HTML/CSS and a Flask backend

Usage

  1. Backend (Python):

    • Install Flask: pip install flask
    • Run the Python backend: python app.py (assuming you save the Flask code as app.py)
  2. Frontend (HTML/JavaScript):

    • Ensure the example.html, function.js, and style.css files are in the same directory.
    • Open example.html in your browser.
  3. Use the buttons in the HTML to interact with the Python backend.

Files

  • odh_local_storage.py: Main Python library file.
  • app.py: Flask backend to handle requests from the frontend.
  • example.html: Example HTML file to demonstrate usage.
  • function.js: JavaScript file for frontend interactions.
  • style.css: Basic CSS for styling.

License

MIT License

About

A lightweight Python data storage solution for OD&H projects. Provides simple local persistence with thread safety and compression.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published