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.5.tar.gz
(6.4 kB
view details)
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 trolldb-1.0.5.tar.gz.
File metadata
- Download URL: trolldb-1.0.5.tar.gz
- Upload date:
- Size: 6.4 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 |
19873c8f014d4afb49aa44a12f74c1318acc13934a18e5ba180c9a252876a009
|
|
| MD5 |
4828abfa6e56caba0080ac0376355531
|
|
| BLAKE2b-256 |
aa71a93810ecf1a36d4283944f7b1a2ac334129c9f7e8f9d4a9a5a0082eb944f
|
File details
Details for the file trolldb-1.0.5-py3-none-any.whl.
File metadata
- Download URL: trolldb-1.0.5-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- 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 |
d80dd1bf51f7a724ab3739f6b50d0ed8ff373d065a4c50911db5a40c7f83f4e7
|
|
| MD5 |
6d470934a6e542e90b48297d2d39f8d2
|
|
| BLAKE2b-256 |
6a6dd89dce90e480e7872511bfc043b0d69868c936b874fa879ce469851ae1b3
|