Skip to main content

FSTDB - File System Database

A simple file-based database library for Python.

Installation

pip install fstdb

Usage

from fstdb import FSTDB

# Initialize database
db = FSTDB("my_database")

# Set a value
db.set("user:1", {"name": "John", "age": 30})

# Get a value
user = db.get("user:1")
print(user)  # {'name': 'John', 'age': 30}

# Check if key exists
if db.exists("user:1"):
    print("User exists!")

# Get all keys
all_keys = db.keys()

# Delete a key
db.delete("user:1")

# Clear all data
db.clear()

Features

  • Simple key-value storage
  • JSON-based storage
  • Thread-safe file operations
  • Easy to use API

License

MIT License

Metadata

Release files for fstdb 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fstdb 0.1.7
File Size Uploaded Provenance
fstdb-0.1.7.tar.gz 16.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fstdb 0.1.7
File Interpreter ABI Platform
fstdb-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 35.2 kB

Release files / fstdb-0.1.7.tar.gz

Download URL fstdb-0.1.7.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
58d23b65b462b85989abbd32be13cfc421965db39cada223dc67496652f34f83
BLAKE2b-256 checksum
How to use checksums
9127ea295ca6aeeee1cb772e7623660a39107432947baa5a18feafb03240fe38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / fstdb-0.1.7-py3-none-any.whl

Download URL fstdb-0.1.7-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e97314c12143fe5a855b77b11618b598bb83e8a6d103df766aa54dd32126d37c
BLAKE2b-256 checksum
How to use checksums
f93d615e7c62643b2979ce005e0077f1a8f033009a6d9f1185a8433010aea9a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Security for fstdb 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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