Skip to main content

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)

Uploaded Source

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

Hashes for trolldb-1.0.3.tar.gz
Algorithm Hash digest
SHA256 591be078459c77d71d3bc1658f101832b14e1e4b60fbb035fc4e9ac805e46a65
MD5 4dc73880d5f0feb58e182e3fe2a46f53
BLAKE2b-256 054595e7a3c8b606e02143a76ce8ef77dc4c5e00666ec4cf699966f21996ea3a

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.1

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.5

2 files

1.0.4

2 files

This release

1.0.3 This release

1 file

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page