Query your Linux operating system like a database

https://opensource.com/article/21/6/osquery-linux Linux offers a lot of commands to help users gather information about their host operating system: listing files or directories to check attributes; querying to see what packages are installed, processes are running, and services start at boot; or learning about the system’s hardware. Each command uses its own output format to list this …

tinydb

TinyDB is a lightweight document oriented database optimized for your happiness 🙂 It’s written in pure Python and has no external dependencies. Example Code >>> from tinydb import TinyDB, Query >>> db = TinyDB(‘/path/to/db.json’) >>> db.insert({‘int’: 1, ‘char’: ‘a’}) >>> db.insert({‘int’: 1, ‘char’: ‘b’}) Query Language >>> User = Query() >>> # Search for a …