Skip to main content

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


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.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

trolldb-1.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file trolldb-1.1.0.tar.gz.

File metadata

  • Download URL: trolldb-1.1.0.tar.gz
  • Upload date:
  • Size: 6.5 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

Hashes for trolldb-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4205a66fae7fe2f62279856d625c410191a92c57030b9fe63884fe116f75a57f
MD5 438e507deef2ad88293673378157e5c6
BLAKE2b-256 fafdf5931bb65c37b3036d331c4f06647e00d65eb44c8a9f8d50b26991c5b309

See more details on using hashes here.

File details

Details for the file trolldb-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: trolldb-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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

Hashes for trolldb-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a642149e64cd05b74820d57280a3db25fa59b50c4009706b29a1a1b2d2f6073
MD5 151f75505cd942b117db226e966919c8
BLAKE2b-256 d8144400bba7c257e78cd10204c4a723115a6366798cc3a061eb7e51c70a45d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page