NimPyLib - Write Python in Nim

Have you ever looked for a faster Python implementation? Have you ever wondered Nim's stdlib not abundant and not handy like Python's? nimpylib/pylib is here for you! NimPyLib(pylib in short), is a pure Nim library written in Nim and targeting in Nim, which implements Python-like functions, sugars and libraries. Visit official website for details. How to use? Install To use it, just use nimble(nim's package manager): nimble install pylib Use basic After a simple import pylib, you can use Python-like builtns and syntax (a.k.a. sugars) That means, you can just suppose you're writting Python, which is static-typed and to be compiled. standard libraries To use libraries, use import pylib/Lib/xxx for xxx is a library name. Contribute Welcome to github.com/nimpylib/pylib, even a star is very encouraging.

Apr 17, 2025 - 22:55
 0
NimPyLib - Write Python in Nim

Have you ever looked for a faster Python implementation?
Have you ever wondered Nim's stdlib not abundant and not handy like Python's?

nimpylib/pylib is here for you!

NimPyLib(pylib in short), is a pure Nim library written in Nim and targeting in Nim, which implements Python-like functions, sugars and libraries. Visit official website for details.

How to use?

Install

To use it, just use nimble(nim's package manager):

nimble install pylib

Use

basic

After a simple import pylib,
you can use Python-like builtns and syntax (a.k.a. sugars)

That means, you can just suppose you're writting Python,
which is static-typed and to be compiled.

standard libraries

To use libraries,
use import pylib/Lib/xxx for xxx is a library name.

Contribute

Welcome to github.com/nimpylib/pylib, even a star is very encouraging.