Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juancarlospaco/choosenim_install

Nim integration for Python PIP, install Nim via PIP, write Python modules using Nim
https://github.com/juancarlospaco/choosenim_install

compiled cython immutable metaprogramming nim nim-lang pypy pypy3 python python3 python4 static-memory-allocation static-typing

Last synced: 3 months ago
JSON representation

Nim integration for Python PIP, install Nim via PIP, write Python modules using Nim

Awesome Lists containing this project

README

        

# Nim integration for Python PIP

- AutoInstall [Nim](http://nim-lang.org) directly from [Python PIP](https://pypi.org/project/choosenim-install).
- AutoInstall of `nim`, `nimble`, `nimpy`, `fusion`, `nodejs`, `cpython`.

# Use

```console
$ nim --version
nim: command not found

$ pip install choosenim_install
choosenim-init: Downloading choosenim-0.6.0_linux_amd64
Info: Version 1.2.0 already selected
choosenim-init: ChooseNim installed in /home/juan/.nimble/bin
Downloading Official package list
Success Package list downloaded.

Successfully built choosenim-install
Successfully installed choosenim-install-0.0.1

$ nim --version
Nim Compiler Version 1.2.6 [Linux: amd64]
Compiled at 2020-04-03
Copyright (c) 2006-2020 by Andreas Rumpf
active boot switches: -d:release

$
```

![](https://raw.githubusercontent.com/juancarlospaco/choosenim_install/master/choosenim_install_windows.png)

- You can re-run it several times if you want.

![](https://raw.githubusercontent.com/juancarlospaco/choosenim_install/master/choosenim2.png)

- Update an old version of Nim to the latest just by reinstalling the package using PIP.

# Requisites

#### Stable

- Python >=`3.5`, CPython implementation, Linux or Windows, x86 and ARM, 64Bit.

#### Experimental

- Mac, PYPY2, PYPY3, Python2, 32Bit are all Experimental.

# History

Originally this used multiple bundled `choosenim` to install Nim,
now it re-implements `choosenim` functionalities in pure Python.

# More Info

- [**For Python Developers.**](https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers#table-of-contents)

# Stars

![](https://starchart.cc/juancarlospaco/choosenim_install.svg)
:star: [@juancarlospaco](https://github.com/juancarlospaco '2022-02-16')
:star: [@adokitkat](https://github.com/adokitkat '2022-10-09')
:star: [@hffqyd](https://github.com/hffqyd '2022-10-10')
:star: [@makkus](https://github.com/makkus '2022-10-13')
:star: [@jmetz](https://github.com/jmetz '2022-10-17')
:star: [@lf-araujo](https://github.com/lf-araujo '2023-01-01')
:star: [@shaoxie1986](https://github.com/shaoxie1986 '2023-10-08')
:star: [@alextremblay](https://github.com/alextremblay '2024-04-19')
:star: [@tuanductran](https://github.com/tuanductran '2024-05-29')