Skip to main content

Lightweight key-value database for microcontrollers with Flash and RAM storage backends.

Project description

golangci-lint logo

netcorelink/microdbx

Lightweight key-value database for microcontrollers with Flash and RAM storage backends.


netcorelink/microdbx is a Lightweight key-value database for microcontrollers with Flash and RAM storage backends.

Install by pip microdbx

pip install microdbx

Install by MicroPython microdbx

For MicroPython, installation is performed by copying microdbx/* the library files to the device's file system.

example: microdbx/* - :lib/*

A quick example

Flash

from microdbx import FlashDB

db = FlashDB(max_size=5)

db.set("wifi.ssid", "WiFi-DOM.ru")
db.set("wifi.password", "password")

print(db.get("wifi.password"))

Ram

from microdbx.ram import RAMDB

db = RAMDB(max_size=5)

db.set("wifi.ssid", "WiFi-DOM.ru")
db.set("wifi.password", "password")

print(db.get("wifi.ssid"))

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.

microdbx-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file microdbx-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: microdbx-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for microdbx-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9979bea726324c3f7ae2678a685a96c03d30ed1260c0d44b755ecdd74a4e558
MD5 d84915131d83344c585f5bf68d973991
BLAKE2b-256 f7deedc5b6f37f3501fbe258fdf250c8fc3cca086d03c6016e77bfc9b7b4d2d1

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