Metadata-Version: 2.4
Name: fstdb
Version: 0.1.7
Summary: File System Database - A simple file-based database library
Home-page: https://github.com/yourusername/fstdb
Author: Your Name
Author-email: Your Name <your.email@example.com>
License: MIT
Project-URL: Homepage, https://github.com/yourusername/fstdb
Project-URL: Documentation, https://github.com/yourusername/fstdb#readme
Project-URL: Repository, https://github.com/yourusername/fstdb
Project-URL: Issues, https://github.com/yourusername/fstdb/issues
Keywords: database,file-system,storage,fstdb
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typing_extensions>=4.0.0; python_version < "3.11"
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# FSTDB - File System Database

A simple file-based database library for Python.

## Installation

```bash
pip install fstdb
```

## Usage

```python
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
