Storq logoStorq
README.md
example/README.mdMarkdown35 lines

README.md

Index of all runnable Python SDK example scripts in example/.

Storq Python examples

These scripts demonstrate the supported Python SDK, including the native extension. Build/install Storq first using the getting-started guide, then run a script from the repository root:

powershell
python example\example_1.py

Each script creates any database or report files in a temporary directory. The experimental Storq file and record examples are not transactional.

FileScope
example_1.pyRuntime lifecycle, SQLite adapter, SQLite metadata and read-only format inspection
example_2.pyStorq format creation/inspection and record CRUD
example_3.pyDeterministic workload generation and expected-outcome oracle
example_4.pyWorkflow execution, serialization and history
example_5.pyPython test suites and the implemented page-integrity check
example_6.pyReports, findings, export, comparison and history
example_7.pyCallback benchmarks, benchmark suites, statistics, exports and history
example_8.pyPersistence-only hash-index and native-WAL wrappers
example_9.pyManaged SQLite connection, transactions, bound parameters and health checks
example_10.pyVerified SQLite online-backup generations and manifests
example_11.pyIsolated evidence workspace, hashes and action log
example_12.pyRead-only format, page and WAL diagnosis
example_13.pyExplicit verified-backup restore into a distinct candidate
example_14.pyCandidate verification and explicit rollback-safe promotion
example_15.pyDeterministic disposable fault scenarios and forensic reports

Fault scenarios in example_15.py are controlled simulations on disposable copies. They do not prove physical power-loss behavior or intercept unrelated processes; see the limitations guide.