TrollDB
Just a simple json database project made by Walter.
Example code
import trolldb
database = trolldb.Database(trolldb.key_by_filename('key.trolldb')) # new database
print('Doing database on {0}'.format(database.getfilename()))
v = str(1)
database.setvariable(v, '{0}'.format(v)) # sets variable in the database
print(database.getvariable(v)) # get variable
print(database.getplainjson()) # prints the whole json
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
trolldb-1.0.3.tar.gz
(6.3 kB
view details)
File details
Details for the file trolldb-1.0.3.tar.gz.
File metadata
- Download URL: trolldb-1.0.3.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
591be078459c77d71d3bc1658f101832b14e1e4b60fbb035fc4e9ac805e46a65
|
|
| MD5 |
4dc73880d5f0feb58e182e3fe2a46f53
|
|
| BLAKE2b-256 |
054595e7a3c8b606e02143a76ce8ef77dc4c5e00666ec4cf699966f21996ea3a
|