A demo app to show how to run Nim code from within Python.
- Install nimpy:
nimble install nimpy
- Compile
.nim
sources to shared library:nim c -d:ssl --threads:on --app:lib --out:nimlib.so nimlib.nim
- Use it in Python as usual module:
import nimlib; nimlib.get(url)