NimPyLib - Write Python in Nim
lit

lit @litlighilit

About: Big fan of free software, interest-drived developer. used to be a seeker for a satisfying lang, now into Nim

Joined:
Mar 24, 2024

NimPyLib - Write Python in Nim

Publish Date: Apr 17
0 0

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
Enter fullscreen mode Exit fullscreen mode

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.

Comments 0 total

    Add comment