unoffical Node.js package
Project description
Unoffical Node.js wheels
nodejs-wheel
is an unofficial repository to distribute Node.js prebuilt wheels through PyPI using
pip install nodejs-wheel
New in v20.13.0: If you don't need command line interface (CLI), install only nodejs-wheel-binaries
, which is a direct dependency of nodejs-wheel
.
pip install nodejs-wheel-binaries
The package requires Python 3.7 and above.
The project is powered by scikit-build-core and cibuildwheel.
Available Builds
OS | Arch | Bit | Conditions | New in |
---|---|---|---|---|
Linux | x86_64 | 64 | glibc >= 2.17 | v18.18.0 |
Linux | x86_64 | 64 | musl >= 1.2 | v20.14.0 |
Linux | aarch64 | 64 | glibc >= 2.17 | v20.13.0 |
macOS | x86_64 | 64 | >= macOS-11 | v18.18.0 |
macOS | arm64 | 64 | >= macOS-11 | v20.11.1 |
Windows | amd64 | 64 | v18.18.0 |
Usage
Command line
Only available in the nodejs-wheel
package.
node -h
npm -h
npx -h
Run library module as a script
New in v20.13.0.
Only support node
.
python -m nodejs_wheel --version
Python API
New in v20.13.0.
from nodejs_wheel import (
node,
npm,
npx,
)
return_code0 = node(["--version"])
return_code1 = npm(["--version"])
return_code2 = npx(["--version"])
New in v20.13.1: pass return_completed_process=True
to get subprocess.CompletedProcess
instead of int
.
completed_process0 = node(["--version"], return_completed_process=True)
completed_process1 = npm(["--version"], return_completed_process=True)
completed_process2 = npx(["--version"], return_completed_process=True)
License
nodejs-wheel
distributed under the same MIT license as Node.js.
Other projects
The project is inspired by many other similiar projects:
- samwillis/nodejs-pypi: The package redistribute the official Node.js binaraies to PyPI. However, the offical binary for Nodejs 18 requires GLIBC 2.28, making it unsupported in manylinux2014 images. Besides, the wheel tag is wrong.
- sbwml/node-latest-centos: Use GitHub Actions to build Node.js in CentOS 7, but is not related to Python or PyPI.
- scikit-build/cmake-python-distributions: Use cibuildwheel and scikit-build to build CMake and distribute CMake in PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for nodejs_wheel_binaries-22.10.0rc0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345ec311cca1fde8234b21320dbda23300b8119b4e4e20ec845d20a0f6a7537a |
|
MD5 | 629980016d0d09a8620ef2221cfeb5fe |
|
BLAKE2b-256 | 36fb1632e0c0596232f23cccff794949a1cfdd5c13517e82107bec8782031a71 |
Hashes for nodejs_wheel_binaries-22.10.0rc0-py2.py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 151eddaed64028fad80dbaef9fac561767741d26c725dcc3033d4c3b110c3f9e |
|
MD5 | b3eacb47cb949a1b800ca7b058a61ca9 |
|
BLAKE2b-256 | 78acb42acfdbdcab73ddcab14325cf326edbe53519a3f48fe4eb755d6edcf65a |
Hashes for nodejs_wheel_binaries-22.10.0rc0-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2630cf4f8e1cf22f43fa1b3e5b02e0a315df1a41c98866131921705927069203 |
|
MD5 | 177a723db300d1567fbde65686c012e3 |
|
BLAKE2b-256 | 728dcfa081c6de5346c17fa9ef702ecf5813f6ded15c5ba4250364786fa80d66 |
Hashes for nodejs_wheel_binaries-22.10.0rc0-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16e1370292f9a675d2824c196f97241d8c4cc9f98976b730fc375f2af208ad35 |
|
MD5 | b447e99affe263fb6a0dcbe84a347b33 |
|
BLAKE2b-256 | a835b2ab40af358d7dcf8d7c939520d788fc8e6f65ffa9bf6e23eec765388c45 |
Hashes for nodejs_wheel_binaries-22.10.0rc0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4401b6a9a581078d744b2fc6a176562bf9d25838d320efbbdf8388537016d814 |
|
MD5 | d1bec8c542670c87d9636eaddedfd91a |
|
BLAKE2b-256 | 7a479115e17ad8e4e8b68dab4341004c7519d934622ac55ae105d2d23e7b5b21 |
Hashes for nodejs_wheel_binaries-22.10.0rc0-py2.py3-none-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb29fe2d202b9808328fbc08c5e3318e58f765309c5f0b05484d8bb98db3c31e |
|
MD5 | 6e9abebdc70298694ccd8b015d696804 |
|
BLAKE2b-256 | c1f5d43758595932c8c4273838bd8977d61494b05c77a10cb0b547b476763e5f |
Hashes for nodejs_wheel_binaries-22.10.0rc0-py2.py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b6d083db34041d73863c2f523cb22ec08b7d8fd0733a08505b490082d160014 |
|
MD5 | 8c1be9ffa19ccbb652a2d818f8e760d3 |
|
BLAKE2b-256 | 20856aaf6c74ee95b502155d3b1e599d459bc492cdd5214bb2786e43ac3f4411 |