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 details)

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Python 3

File details

Details for the file FlexDB-0.0.1.tar.gz.

File metadata

  • Download URL: FlexDB-0.0.1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for FlexDB-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f53ee36cf9093c425b7d65eb2c94e8ede578c1b89cf324c8907b8b45372078b3
MD5 3c7888afc46638f6bb01d50c5d31beca
BLAKE2b-256 5acf567d6bd2b481415abd24931b31044518d7ff3a361491fca3a20f48357825

See more details on using hashes here.

File details

Details for the file FlexDB-0.0.1-py3.10.egg.

File metadata

  • Download URL: FlexDB-0.0.1-py3.10.egg
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for FlexDB-0.0.1-py3.10.egg
Algorithm Hash digest
SHA256 6f702042c18cb2473cebc5d5aee0f0693d8ad971fa5542a71ade3f30d86fa7b8
MD5 815b7a967e2e8dea31d2e134bd74965a
BLAKE2b-256 35ee65cd120ef5459b684fa7d3577c9b9f97ae4ad4f5f522631aa4164a47d0f0

See more details on using hashes here.

File details

Details for the file FlexDB-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: FlexDB-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for FlexDB-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6c84a3b7a6967f51b75a2be727b43b29fd7fd80403a41a7327303476d4a436c
MD5 ae8652df9abf53736770202bff51a5b7
BLAKE2b-256 82a08f9ed57ae06ce6049d97511b39fde9a968fbd25d9e4d02592225fa534f34

See more details on using hashes here.

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