Releases: Water-Run/Bat-KV
Releases · Water-Run/Bat-KV
Bat-KV v1.0 Release
Bat-KV v1.0 Release
This is the first official release of Bat-KV, a lightweight, zero-dependency key-value database for Windows Batch scripts.
Features
- Single-file implementation:
Bat-KV.bat - Provides simple CRUD operations:
BKV.New,BKV.Append,BKV.Fetch,BKV.Remove,BKV.Include - Human-readable
.bkvtext format (key\value) - No external dependencies; runs under standard Windows environments
- Suitable for configuration management, data persistence, and basic querying
Included
Bat-KV.bat— core database functionsBasic-Test.bat— basic usage testBasic-Test.bat— a basic DBMS for Bat-KV- Documentation
Getting Started
- Download and unzip the release package.
- Place
Bat-KV.batin your project or in a directory available via PATH. - Import and call functions within your batch scripts.
call Bat-KV.bat :BKV.New
call Bat-KV.bat :BKV.Append "username" "Alice"
call Bat-KV.bat :BKV.Fetch "username"
echo Username: %BKV_RESULT%Bat-KV provides a straightforward way to manage persistent data in batch scripts while keeping the implementation minimal and transparent.
Bat-KV v2.0 Release
Bat-KV v2.0 Release
This is a major update of Bat-KV, a lightweight, zero-dependency key-value database for Windows Batch scripts.
What's New in v2.0
- New file format: Fixed-width key field (36 characters, backslash-padded) + value
- Empty value support: Values can now be empty strings
- Special character support: Values can contain any character including backslashes
- Breaking change: v1.x
.bkvfiles are not compatible with v2.0
Features
- Single-file implementation:
Bat-KV.bat - Provides simple CRUD operations:
BKV.New,BKV.Append,BKV.Fetch,BKV.Remove,BKV.Include - Plain text
.bkvformat with fixed-width key field - No external dependencies; runs under standard Windows environments
- Suitable for configuration management, data persistence, and basic querying
Included
Bat-KV.bat— core database functionsBKV-Test.bat— basic usage testBKV-DBMS.bat— a basic DBMS for Bat-KV- Documentation
Getting Started
- Download and unzip the release package.
- Place
Bat-KV.batin your project or in a directory available via PATH. - Import and call functions within your batch scripts.
call Bat-KV.bat :BKV.New
call Bat-KV.bat :BKV.Append "username" "Alice"
call Bat-KV.bat :BKV.Append "path" "C:\Users\test"
call Bat-KV.bat :BKV.Fetch "username"
echo Username: %BKV_RESULT%Bat-KV provides a straightforward way to manage persistent data in batch scripts while keeping the implementation minimal and transparent.