Skip to main content

FlexDB - A simple, fast, and lightweight database for storing and retrieving data.

Project description

FlexDB

A simple, fast, and lightweight database for storing and retrieving data.

Created by @Almas-Ali

Table of Contents

Features

  • Simple and easy to use
  • Fast and lightweight
  • Stores any data type
  • Stores data in a encrypted binary file

Installation

pip install flexdb

Usage

from flexdb import FlexDB # Import the database

db = FlexDB() # Create a database instance
db.connect('flex.db') # Connect to the database

db.set('name', 'Almas') # Set a key and value pair any data type can be used

db.get('name') # Get the value of a key
db.get_all() # Get all the key and value pairs

db.delete('name') # Delete a key and value pair

db.commit() # Commit the changes to the database

db.close() # Close the database

Documentation

License

Free to use and modify under the MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FlexDB-0.0.1.tar.gz (16.3 kB view hashes)

Uploaded Source

Built Distributions

FlexDB-0.0.1-py3.10.egg (2.5 kB view hashes)

Uploaded Source

FlexDB-0.0.1-py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page