sophia

Nim wrapper of the Sophia key/value store

Wrapper score 15/100 · tests present · no docs generated

Wraps a native library — check OS Compatibility below for platform-specific linking notes.

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install sophia
choosenim install sophia
git clone https://github.com/gokr/nim-sophia

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
sophia - - - - - - -

Source

Repository https://github.com/gokr/nim-sophia
Homepage https://github.com/gokr/nim-sophia
Registry Source nimble_official

README

nim-sophia

Wrapper for Sophia 2.1 generated via c2nim.

The sophia.h is slightly modified, you can regenerate via makenim.sh.

Run "nim c -r testit.nim" to make sure the binding works.

Remember to enable --threads:on for your Nim program, otherwise it will fail to load libsophia.

If you decide to not link dynamically (Sophia is not available yet in easy packages AFAICT) then just copy libsophia.a to your project and compile like:

nim c --dynlibOverride:libsophia --passL:libsophia.a testit.nim