Skip to main content

Low Ram Database System

Project description

Reflect

A low level RAM free Database System

Example

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

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

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="Ow1e3@protonmail.com")
    y = db.dumps(x)
    db.publish(y)

with tqdm(total=test_amount) as t:
    db.query()
    t.update(test_amount)

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

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

reflectdb-0.1.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file reflectdb-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: reflectdb-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for reflectdb-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 85565ea9512902772e1641a718d09cba5f87d60f2f32bb412de3bd6170690add
MD5 d11d7230be44b95052f4641f8ee06fad
BLAKE2b-256 1cb4feb01894e17c9a2847026f77e2bdb2d7532edec2628112cc9563ccf7a7b8

See more details on using hashes here.

Supported by

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