ezdatabase-1.6
توضیحات
A simple database wrapper for Python 3
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ezdatabase-1.6 |
| نام | ezdatabase |
| نسخه کتابخانه | 1.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | JJTV |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ezdatabase/ |
| مجوز | MIT |
# ezdatabase
## Making Databases easier
EzDatabase is a simple Database Wrapper for Python! Inspired by Repl.it Database!
It can be used like a Python List
## Features
- Works with a Key / Value System
- Can store strings, numbers, booleans, bytes
## Code Examples
- Initialize Database
#
#
```python
from ezdatabase import db
database = db("MyDatabase.db")
# Returns None
```
- Set / Update Value of a Key
#
#
```python
# Arguments: key_name, key_value
database["User1"] = {"age": 10, "name": "John"}
database["21398"] = "10,30 EUR"
database["online"] = True
# Returns True on Success
```
- Read the Value of a Key
#
#
```python
value = database["User1"]
# Returns the Value of a Key
```
- Delete a Key
#
#
```python
del database["User1"]
# Returns True on Successful removal of the Key
```
#
#
- Iterate through the Keys of the Database
```python
for x in database:
print(x)
```
Change Log
==========
1.6 (02/12/2021)
-------------------
- Usage Updated
- Made Database Iterable
- Documentation Updated
نحوه نصب
نصب پکیج whl ezdatabase-1.6:
pip install ezdatabase-1.6.whl
نصب پکیج tar.gz ezdatabase-1.6:
pip install ezdatabase-1.6.tar.gz