This library is an easyest way to use local database!
Project description
Here is an example:
from portableDB import DATABASE
DTB = DATABASE() DTB.LogState(‘COLORFUL’) #’BASE’ - just normal cmd, ‘NONE’ - no comments when working DTB.Create_Database(‘Database’) #’Database’ - name
DTB.Write_Database(‘Database’,[‘String value1’, 32], 1) #’Database’ - name, [] - here should be your values, 1 - index (can be only positive number)
print(DTB.Read_Database(‘Database’, 1, ‘ALL’)) #’Database’ - name, 1 - index, ‘ALL’ - index of array (‘ALL’ or any index of value in array)
DTB.Rename_Database(‘Database’,’DB’) #’Database’ - current name, ‘DB’ - new name
DTB.Delete_Database(‘Database’) #No comments
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file portabledb-1.5.tar.gz.
File metadata
- Download URL: portabledb-1.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd2568453f1d29701b2740ac9f55843fa06eac1156513d052286fa734387d5af
|
|
| MD5 |
d21dfb65b85bd5c8c015ff270d0d9345
|
|
| BLAKE2b-256 |
c552db9d1dee6aa873838d13b79ccba0270f320fd97867c4a02dc5fd96efa892
|
File details
Details for the file portableDB-1.5-py3-none-any.whl.
File metadata
- Download URL: portableDB-1.5-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5df3e4a5532d956fc29dabb20c855f3e03c30ee21f754bcf683b33a75413fe36
|
|
| MD5 |
afbdddff903e84df27b6a04d44423d75
|
|
| BLAKE2b-256 |
aa1ed314291f31fae72f0748ad3c67684fe4dc5e17d62322a711bfc949c1e959
|