This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 24.19.0 instead.
Reason given by maintainers: dependency is not correct
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 | aarch64 | 64 | glibc >= 2.17 | v20.13.0 |
| macOS | x86_64 | 64 | >= macOS-10.9 | 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,
)
node("--version")
npm("--version")
npx("--version")
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.
Metadata
Release files for nodejs-wheel 20.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nodejs_wheel-20.13.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nodejs_wheel-20.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / nodejs_wheel-20.13.0.tar.gz
| Download URL | nodejs_wheel-20.13.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ac996211f85a8a7be0bdf6fdb6b5b481c53dfd8af2d543df0f73212183b75e3
|
|
BLAKE2b-256 checksum How to use checksums |
19d5ff5f0f8befe4dc9facc50691f34aee110bb9f5813e632986efe7f8263a69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / nodejs_wheel-20.13.0-py3-none-any.whl
| Download URL | nodejs_wheel-20.13.0-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4d278bacdb7288e7e07a959664e8b1c7df574975e42386b1c2c86bbc08e5eab
|
|
BLAKE2b-256 checksum How to use checksums |
72d473cdad0a1253be801559e62740b70c0280dafb726dac32ca953cfb89e57e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|