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

Uploaded Source

Built Distribution

trolldb-1.0.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trolldb-1.0.2.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

Hashes for trolldb-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ba7f58682f3a5b6e0b9cee86a31a8e1fff6e9e5fc09dcbd53401949bc555b47d
MD5 c9f565c2114cc1c662d3775329a53939
BLAKE2b-256 02785327fa954d181434c4222892b827599d0632d0690abdf88d66db296f7ae8

See more details on using hashes here.

File details

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

File metadata

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

Hashes for trolldb-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f685ec4c737ecccd2fc8b47656c71842065197309da43f9ffb843ab6301abe07
MD5 1045bcbcbb0b1179ca450d65ae212977
BLAKE2b-256 0dddfcf247d5b186a424c36aeed7c3b507c26d612988cd58c430b0763faacde5

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