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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: trolldb-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e04df6944f59123a97144b09fe7d40ba83bcfd98173a2cbc97cbc469b57d6499
MD5 0bdb8e8d7add5dba5f84de3208a07051
BLAKE2b-256 cbc66b96f65364f7f646ef3fca7c19bf6e91fc2c345a21cfe4c81cb46dd62d55

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trolldb-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f545d4d1a7a23c646e714ac8222b305be22369f1a694e75096c3a85050f847b7
MD5 5360499d124a0ed9605a3a63a05162c3
BLAKE2b-256 e023c9c30f410d6129d6d555637586fd67d9d0fae836521d0395dcbef0f46b37

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

1.0.3

1 file

1.0.2

2 files

This release

1.0.1 This release

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