unoffical Node.js package
Reason this release was yanked:
dependency is not correct
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 | 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.
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 Distribution
File details
Details for the file nodejs_wheel-20.13.0.tar.gz
.
File metadata
- Download URL: nodejs_wheel-20.13.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ac996211f85a8a7be0bdf6fdb6b5b481c53dfd8af2d543df0f73212183b75e3 |
|
MD5 | e3e17dc3aa6ed0940740adf6c288da0f |
|
BLAKE2b-256 | 19d5ff5f0f8befe4dc9facc50691f34aee110bb9f5813e632986efe7f8263a69 |
File details
Details for the file nodejs_wheel-20.13.0-py3-none-any.whl
.
File metadata
- Download URL: nodejs_wheel-20.13.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4d278bacdb7288e7e07a959664e8b1c7df574975e42386b1c2c86bbc08e5eab |
|
MD5 | 52ceab5d81db6b33cd4eb988bc088031 |
|
BLAKE2b-256 | 72d473cdad0a1253be801559e62740b70c0280dafb726dac32ca953cfb89e57e |