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
Metadata
Release files for FlexDB 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| FlexDB-0.0.1.tar.gz | 16.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FlexDB-0.0.1-py3.10.egg | Legacy Egg format | - | - | Details |
| FlexDB-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.8 kB
Release files / FlexDB-0.0.1.tar.gz
| Download URL | FlexDB-0.0.1.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f53ee36cf9093c425b7d65eb2c94e8ede578c1b89cf324c8907b8b45372078b3
|
|
BLAKE2b-256 checksum How to use checksums |
5acf567d6bd2b481415abd24931b31044518d7ff3a361491fca3a20f48357825
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / FlexDB-0.0.1-py3.10.egg
| Download URL | FlexDB-0.0.1-py3.10.egg |
|---|---|
| Size | 2.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
6f702042c18cb2473cebc5d5aee0f0693d8ad971fa5542a71ade3f30d86fa7b8
|
|
BLAKE2b-256 checksum How to use checksums |
35ee65cd120ef5459b684fa7d3577c9b9f97ae4ad4f5f522631aa4164a47d0f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / FlexDB-0.0.1-py3-none-any.whl
| Download URL | FlexDB-0.0.1-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6c84a3b7a6967f51b75a2be727b43b29fd7fd80403a41a7327303476d4a436c
|
|
BLAKE2b-256 checksum How to use checksums |
82a08f9ed57ae06ce6049d97511b39fde9a968fbd25d9e4d02592225fa534f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|