Yooz is a multi-layer database engine designed for efficient hierarchical data storage, management, and retrieval. It stores data in .yooz files, allowing flexible structured and nested layers for dynamic data organization. Yooz offers a command-line interface (CLI) with intuitive commands like CREATE, ADD, FIND, REMOVE, and CHANGE to interact with your data seamlessly.
Hierarchical Data Management: Store, organize, and retrieve data in nested layers with flexible add, delete, and search operations.
Lightweight & Fast CLI: Optimized for developers who prefer working with efficient, minimalistic command-line tools.
Cross-Platform Support: Available for Linux (Debian/Ubuntu, Red Hat/CentOS) and Windows, with .deb, .rpm, and .msi installation packages.
- Supported Operating Systems:
- Linux (Debian/Ubuntu and Red Hat/CentOS)
- Windows
- Required Tools:
Cargoand Rust for building the projectdpkgandrpmfor package management (Linux)
-
Download the ZIP package for Debian from the link below then extract it
-
Run the installation script:
./install-debian.sh
-
Verify the installation:
yooz --version- Download the ZIP package for
Red Hatfrom the link below then extract it. - Run the installation script:
./install-redhat.sh
- Verify the installation:
yooz --version- Download the ZIP package for
Windowsfrom the link below then extract it. - Execute the
.msiinstaller file in the ZIP - The
yoozwill be automatically added to yourPATH. - Verify the installation:
yooz --versionYooz stores data in .yooz files using a hierarchical, multi-layered structure. Data can be organized in any order, mixing key-value pairs with nested layers at different levels.
Data Format:
-
Keys are marked with +
-
Values are marked with -
-
Each layer is enclosed in parentheses ()
Example Structure:
(
+name
-mohammad
(
+country
-iran
)
+age
-22
)
Yooz provides a set of queries for database management:
| Query | Description | Example |
|---|---|---|
CREATE |
Creates a new database. | yooz CREATE dbname |
ADD |
Adds data to the database. | yooz "ADD TO dbname(key(layer)) value" |
FIND |
Searches for data in the database. | yooz "FIND IN dbname(key(layer))" |
REMOVE |
Removes data from the database. | yooz "REMOVE FROM dbname(key(layer))" |
CHANGE |
Updates data in the database. | yooz "CHANGE FROM dbname(key(layer)) new-value" |
help |
Displays command help information. | yooz help |
--version |
Displays the installed version of yooz. |
yooz --version |
yooz CREATE mydbyooz "ADD TO mydb(name(1)) mohammad"yooz "ADD TO mydb(country(2)) iran"yooz "FIND IN mydb(name(1))"- Updating Data:
yooz "CHANGE FROM mydb(age(1)) 23"yooz "REMOVE FROM mydb(name(1))"- Developer: Mohammad Hasan Farrahi ([email protected])
- Team: Yooz-lang Team (GitHub)
- Website: Yooz
- Repository: Yooz-lang on GitHub