Skip to main content

Low Ram Focused Database System in Python

Project description

NOTE: Update ReflectDB to >0.1.8 as there is a major bug in it


A low level RAM free Database System


from tqdm import tqdm # Install TQDM for tests
from reflect.database import Database, Identity, String, Value

db = Database("data.refldb", "data.refldc")

class Names(db.Model):
    name = String()
    email = String()
    identity = Identity()

test_amount = 10000

for i in tqdm(range(test_amount)):
    x = db.refine(Names, name="Owie", email="")
    y = db.dumps(x)

with tqdm(total=test_amount) as t:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

reflectdb-0.2-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

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