Skip to main content

A text based no corruption database for python. Easy to use. Made for beginners

Project description

Downloads License: Unlicense version

LbelDB.py

A text based no corruption database for python. Easy to use. Made for beginners

Installation

Use the package manager pip to install LbelDB.py

pip install LbelDB

Usage

import ldb

ldb.init() # general initialization

ldb.create(("name","score")) # creates the dbs first labels or columns

for i in enumerate(scores):
    ldb.update_ri(i[0] , 1 , i[1]) # updates the scores in each row

ldb.store() # stores to the db to the `.lbel` file

ldb.retrieve() # retrieves the db from memory 

ldb.view() # prints the db to the console

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Unlicense

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

LbelDB-0.2.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

LbelDB-0.2.0-py3-none-any.whl (5.5 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