JSON Database but just encrypted
Project description
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
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(6.3 kB
view hashes)