nodejs-wheel-binaries


Namenodejs-wheel-binaries JSON
Version 22.13.1 PyPI version JSON
download
home_pageNone
Summaryunoffical Node.js package
upload_time2025-01-22 07:08:21
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords nodejs
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Unoffical Node.js wheels

[![Pypi version](https://img.shields.io/pypi/v/nodejs-wheel?label=nodejs-wheel&logo=pypi)](https://pypi.org/project/nodejs-wheel/)
[![Pypi downloads](https://img.shields.io/pypi/dm/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)
[![Pypi downloads](https://img.shields.io/pypi/dw/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)
[![Pypi downloads](https://img.shields.io/pypi/dd/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)

`nodejs-wheel` is an unofficial repository to distribute Node.js prebuilt wheels through PyPI using

```sh
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`.

[![Pypi version](https://img.shields.io/pypi/v/nodejs-wheel-binaries?label=nodejs-wheel-binaries&logo=pypi)](https://pypi.org/project/nodejs-wheel-binaries/)
[![Pypi downloads](https://img.shields.io/pypi/dm/nodejs-wheel-binaries)](https://pypi.org/project/nodejs-wheel-binaries/)
[![Pypi downloads](https://img.shields.io/pypi/dw/nodejs-wheel-binaries)](https://pypi.org/project/nodejs-wheel-binaries/)
[![Pypi downloads](https://img.shields.io/pypi/dd/nodejs-wheel-binaries)](https://pypi.org/project/nodejs-wheel-binaries/)

```sh
pip install nodejs-wheel-binaries
```

The package requires Python 3.7 and above.

The project is powered by [scikit-build-core](https://github.com/scikit-build/scikit-build-core) and [cibuildwheel](https://github.com/pypa/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    |
| Linux   | aarch64 | 64  | musl >= 1.2    | v22.13.1    |
| macOS   | x86_64  | 64  | >= macOS-11    | v18.18.0    |
| macOS   | arm64   | 64  | >= macOS-11    | v20.11.1    |
| Windows | amd64   | 64  |                | v18.18.0    |
| Windows | arm64   | 64  |                | v22.12.0    |

## Usage

### Command line

Only available in the `nodejs-wheel` package.

```sh
node -h
npm -h
npx -h
# New in v22.13.1
corepack -h
```

### Run library module as a script

*New in v20.13.0*.

Only support `node`.

```sh
python -m nodejs_wheel --version
```

### Python API

*New in v20.13.0*.

```py
from nodejs_wheel import (
    node,
    npm,
    npx,
    # corepack: New in v22.13.1
    corepack,
)

return_code0 = node(["--version"])
return_code1 = npm(["--version"])
return_code2 = npx(["--version"])
# corepack: New in v22.13.1
return_code3 = corepack(]"--version"])
```

*New in v20.13.1*: pass `return_completed_process=True` to get `subprocess.CompletedProcess` instead of `int`.

```py
completed_process0 = node(["--version"], return_completed_process=True)
completed_process1 = npm(["--version"], return_completed_process=True)
completed_process2 = npx(["--version"], return_completed_process=True)
# corepack: New in v22.13.1
completed_process3 = corepack(["--version"], return_completed_process=True)
```

## License

`nodejs-wheel` distributed under the same MIT [license](LICENSE) as [Node.js](https://github.com/nodejs/node).

## Other projects

The project is inspired by many other similiar projects:

- [samwillis/nodejs-pypi](https://github.com/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](https://github.com/pypa/manylinux) images. Besides, the wheel tag is wrong.
- [sbwml/node-latest-centos](https://github.com/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](https://github.com/scikit-build/cmake-python-distributions): Use cibuildwheel and scikit-build to build CMake and distribute CMake in PyPI.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "nodejs-wheel-binaries",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "nodejs",
    "author": null,
    "author_email": "Jinzhe Zeng <jinzhe.zeng@rutgers.edu>",
    "download_url": "https://files.pythonhosted.org/packages/5d/c5/1af2fc54fcc18f4a99426b46f18832a04f755ee340019e1be536187c1e1c/nodejs_wheel_binaries-22.13.1.tar.gz",
    "platform": null,
    "description": "# Unoffical Node.js wheels\n\n[![Pypi version](https://img.shields.io/pypi/v/nodejs-wheel?label=nodejs-wheel&logo=pypi)](https://pypi.org/project/nodejs-wheel/)\n[![Pypi downloads](https://img.shields.io/pypi/dm/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)\n[![Pypi downloads](https://img.shields.io/pypi/dw/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)\n[![Pypi downloads](https://img.shields.io/pypi/dd/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)\n\n`nodejs-wheel` is an unofficial repository to distribute Node.js prebuilt wheels through PyPI using\n\n```sh\npip install nodejs-wheel\n```\n\n*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`.\n\n[![Pypi version](https://img.shields.io/pypi/v/nodejs-wheel-binaries?label=nodejs-wheel-binaries&logo=pypi)](https://pypi.org/project/nodejs-wheel-binaries/)\n[![Pypi downloads](https://img.shields.io/pypi/dm/nodejs-wheel-binaries)](https://pypi.org/project/nodejs-wheel-binaries/)\n[![Pypi downloads](https://img.shields.io/pypi/dw/nodejs-wheel-binaries)](https://pypi.org/project/nodejs-wheel-binaries/)\n[![Pypi downloads](https://img.shields.io/pypi/dd/nodejs-wheel-binaries)](https://pypi.org/project/nodejs-wheel-binaries/)\n\n```sh\npip install nodejs-wheel-binaries\n```\n\nThe package requires Python 3.7 and above.\n\nThe project is powered by [scikit-build-core](https://github.com/scikit-build/scikit-build-core) and [cibuildwheel](https://github.com/pypa/cibuildwheel).\n\n## Available Builds\n\n| OS      | Arch    | Bit | Conditions     | New in      |\n| ------- | ------- | --- | -------------- | ----------- |\n| Linux   | x86_64  | 64  | glibc >= 2.17  | v18.18.0    |\n| Linux   | x86_64  | 64  | musl >= 1.2    | v20.14.0    |\n| Linux   | aarch64 | 64  | glibc >= 2.17  | v20.13.0    |\n| Linux   | aarch64 | 64  | musl >= 1.2    | v22.13.1    |\n| macOS   | x86_64  | 64  | >= macOS-11    | v18.18.0    |\n| macOS   | arm64   | 64  | >= macOS-11    | v20.11.1    |\n| Windows | amd64   | 64  |                | v18.18.0    |\n| Windows | arm64   | 64  |                | v22.12.0    |\n\n## Usage\n\n### Command line\n\nOnly available in the `nodejs-wheel` package.\n\n```sh\nnode -h\nnpm -h\nnpx -h\n# New in v22.13.1\ncorepack -h\n```\n\n### Run library module as a script\n\n*New in v20.13.0*.\n\nOnly support `node`.\n\n```sh\npython -m nodejs_wheel --version\n```\n\n### Python API\n\n*New in v20.13.0*.\n\n```py\nfrom nodejs_wheel import (\n    node,\n    npm,\n    npx,\n    # corepack: New in v22.13.1\n    corepack,\n)\n\nreturn_code0 = node([\"--version\"])\nreturn_code1 = npm([\"--version\"])\nreturn_code2 = npx([\"--version\"])\n# corepack: New in v22.13.1\nreturn_code3 = corepack(]\"--version\"])\n```\n\n*New in v20.13.1*: pass `return_completed_process=True` to get `subprocess.CompletedProcess` instead of `int`.\n\n```py\ncompleted_process0 = node([\"--version\"], return_completed_process=True)\ncompleted_process1 = npm([\"--version\"], return_completed_process=True)\ncompleted_process2 = npx([\"--version\"], return_completed_process=True)\n# corepack: New in v22.13.1\ncompleted_process3 = corepack([\"--version\"], return_completed_process=True)\n```\n\n## License\n\n`nodejs-wheel` distributed under the same MIT [license](LICENSE) as [Node.js](https://github.com/nodejs/node).\n\n## Other projects\n\nThe project is inspired by many other similiar projects:\n\n- [samwillis/nodejs-pypi](https://github.com/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](https://github.com/pypa/manylinux) images. Besides, the wheel tag is wrong.\n- [sbwml/node-latest-centos](https://github.com/sbwml/node-latest-centos): Use GitHub Actions to build Node.js in CentOS 7, but is not related to Python or PyPI.\n- [scikit-build/cmake-python-distributions](https://github.com/scikit-build/cmake-python-distributions): Use cibuildwheel and scikit-build to build CMake and distribute CMake in PyPI.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "unoffical Node.js package",
    "version": "22.13.1",
    "project_urls": {
        "Repository": "https://github.com/njzjz/nodejs-wheel"
    },
    "split_keywords": [
        "nodejs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ce9b0dd118e0fd4eabe1ec9c3d9a68df4d811282e8837b811d804f23742e117",
                "md5": "7a33b8d0c514a84829198b01fcdd83ce",
                "sha256": "e4f64d0e26600d51cbdd98a6718a19c2d1b8c7538e9e353e95a634a06a8e1a58"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.13.1-py2.py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "7a33b8d0c514a84829198b01fcdd83ce",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 51015650,
            "upload_time": "2025-01-22T07:07:20",
            "upload_time_iso_8601": "2025-01-22T07:07:20.583235Z",
            "url": "https://files.pythonhosted.org/packages/7c/e9/b0dd118e0fd4eabe1ec9c3d9a68df4d811282e8837b811d804f23742e117/nodejs_wheel_binaries-22.13.1-py2.py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cca69ba835f5d4f3f6b1f01191e7ac0874871f9743de5c42a5a9a54e67c2e2a6",
                "md5": "e3b0abe9e1f4ef2098420acaf581bad0",
                "sha256": "afcb40484bb02f23137f838014724604ae183fd767b30da95b0be1510a40c06d"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.13.1-py2.py3-none-macosx_11_0_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e3b0abe9e1f4ef2098420acaf581bad0",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 51814957,
            "upload_time": "2025-01-22T07:07:28",
            "upload_time_iso_8601": "2025-01-22T07:07:28.215728Z",
            "url": "https://files.pythonhosted.org/packages/cc/a6/9ba835f5d4f3f6b1f01191e7ac0874871f9743de5c42a5a9a54e67c2e2a6/nodejs_wheel_binaries-22.13.1-py2.py3-none-macosx_11_0_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0d2ea430207e5f22bd3dcffb81acbddf57ee4108b9e2b0f99a5578dc2c1ff7fc",
                "md5": "8a7535c214ea41bec08440ee5956a56d",
                "sha256": "4fc88c98eebabfc36b5270a4ab974a2682746931567ca76a5ca49c54482bbb51"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.13.1-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "8a7535c214ea41bec08440ee5956a56d",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 57148437,
            "upload_time": "2025-01-22T07:07:36",
            "upload_time_iso_8601": "2025-01-22T07:07:36.860862Z",
            "url": "https://files.pythonhosted.org/packages/0d/2e/a430207e5f22bd3dcffb81acbddf57ee4108b9e2b0f99a5578dc2c1ff7fc/nodejs_wheel_binaries-22.13.1-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "97f45731b6f0c8af434619b4f1b8fd895bc33fca60168cd68133e52841872114",
                "md5": "a1b9b77597f14cc3984311f534071a1e",
                "sha256": "8b9f75ea8f5e3e5416256fcb00a98cbe14c8d3b6dcaf17da29c4ade5723026d8"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.13.1-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a1b9b77597f14cc3984311f534071a1e",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 57634451,
            "upload_time": "2025-01-22T07:07:45",
            "upload_time_iso_8601": "2025-01-22T07:07:45.041376Z",
            "url": "https://files.pythonhosted.org/packages/97/f4/5731b6f0c8af434619b4f1b8fd895bc33fca60168cd68133e52841872114/nodejs_wheel_binaries-22.13.1-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "492883166f7e39812e9ef99cfa3e722c54e32dd9de6a1290f3216c2e5d1f4957",
                "md5": "9e154c377cabed10fdb094e83d207885",
                "sha256": "94608702ef6c389d32e89ff3b7a925cb5dedaf55b5d98bd0c4fb3450a8b6d1c1"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.13.1-py2.py3-none-musllinux_1_2_aarch64.whl",
            "has_sig": false,
            "md5_digest": "9e154c377cabed10fdb094e83d207885",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 58794510,
            "upload_time": "2025-01-22T07:07:52",
            "upload_time_iso_8601": "2025-01-22T07:07:52.834411Z",
            "url": "https://files.pythonhosted.org/packages/49/28/83166f7e39812e9ef99cfa3e722c54e32dd9de6a1290f3216c2e5d1f4957/nodejs_wheel_binaries-22.13.1-py2.py3-none-musllinux_1_2_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f7644832ec26d0a7ca7a5574df265d85c6832f9a624024511fc34958227ad740",
                "md5": "6da5648d2f636375def5e123af43500e",
                "sha256": "53a40d0269689aa2eaf2e261cbe5ec256644bc56aae0201ef344b7d8f40ccc79"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.13.1-py2.py3-none-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6da5648d2f636375def5e123af43500e",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 59738596,
            "upload_time": "2025-01-22T07:08:01",
            "upload_time_iso_8601": "2025-01-22T07:08:01.310607Z",
            "url": "https://files.pythonhosted.org/packages/f7/64/4832ec26d0a7ca7a5574df265d85c6832f9a624024511fc34958227ad740/nodejs_wheel_binaries-22.13.1-py2.py3-none-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "18cddef29615dac250cda3d141e1c03b7153b9a027360bde0272a6768c5fae33",
                "md5": "003aab1eb8ff04a43893fda537872b39",
                "sha256": "549371a929a29fbce8d0ab8f1b5410549946d4f1b0376a5ce635b45f6d05298f"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.13.1-py2.py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "003aab1eb8ff04a43893fda537872b39",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 40455444,
            "upload_time": "2025-01-22T07:08:09",
            "upload_time_iso_8601": "2025-01-22T07:08:09.204399Z",
            "url": "https://files.pythonhosted.org/packages/18/cd/def29615dac250cda3d141e1c03b7153b9a027360bde0272a6768c5fae33/nodejs_wheel_binaries-22.13.1-py2.py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "15d76de2bc615203bf590ca437a5cac145b2f86d994ce329489125a0a90ba715",
                "md5": "86083effcaceb89690d7c8cb4d2be7b5",
                "sha256": "cf72d50d755f4e5c0709b0449de01768d96b3b1ec7aa531561415b88f179ad8b"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.13.1-py2.py3-none-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "86083effcaceb89690d7c8cb4d2be7b5",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 36200929,
            "upload_time": "2025-01-22T07:08:16",
            "upload_time_iso_8601": "2025-01-22T07:08:16.046243Z",
            "url": "https://files.pythonhosted.org/packages/15/d7/6de2bc615203bf590ca437a5cac145b2f86d994ce329489125a0a90ba715/nodejs_wheel_binaries-22.13.1-py2.py3-none-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5dc51af2fc54fcc18f4a99426b46f18832a04f755ee340019e1be536187c1e1c",
                "md5": "a1525323472450c2c15698c4908fb06c",
                "sha256": "a0c15213c9c3383541be4400a30959883868ce5da9cebb3d63ddc7fe61459308"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.13.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a1525323472450c2c15698c4908fb06c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 8053,
            "upload_time": "2025-01-22T07:08:21",
            "upload_time_iso_8601": "2025-01-22T07:08:21.773081Z",
            "url": "https://files.pythonhosted.org/packages/5d/c5/1af2fc54fcc18f4a99426b46f18832a04f755ee340019e1be536187c1e1c/nodejs_wheel_binaries-22.13.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-22 07:08:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "njzjz",
    "github_project": "nodejs-wheel",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nodejs-wheel-binaries"
}
        
Elapsed time: 0.49437s