nodejs-wheel-binaries


Namenodejs-wheel-binaries JSON
Version 22.12.0 PyPI version JSON
download
home_pageNone
Summaryunoffical Node.js package
upload_time2024-12-06 23:10:48
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    |
| 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
```

### 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,
)

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

```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)
```

## 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/4b/a0/e9c4a93a09da08395044219af1adceb8c7e9bfca2b6b3ec35374a265851a/nodejs_wheel_binaries-22.12.0.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| 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```\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)\n\nreturn_code0 = node([\"--version\"])\nreturn_code1 = npm([\"--version\"])\nreturn_code2 = npx([\"--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```\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.12.0",
    "project_urls": {
        "Repository": "https://github.com/njzjz/nodejs-wheel"
    },
    "split_keywords": [
        "nodejs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "419ed3208b2f3e8962b3abc3c623f21a8d242a1babe7770137f54b2fe76729ea",
                "md5": "64c08a3d88eacae5df1a8e2145617c90",
                "sha256": "8ed26eac5a96f3bfcd36f1eb9c397f07392e8b166895e0a65eb6033baefa0217"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.12.0-py2.py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "64c08a3d88eacae5df1a8e2145617c90",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 51050283,
            "upload_time": "2024-12-06T23:10:14",
            "upload_time_iso_8601": "2024-12-06T23:10:14.631341Z",
            "url": "https://files.pythonhosted.org/packages/41/9e/d3208b2f3e8962b3abc3c623f21a8d242a1babe7770137f54b2fe76729ea/nodejs_wheel_binaries-22.12.0-py2.py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6261e90e791462aab3c0dedbdd96bd8973fc61629a96c82ea13a62ffad00d559",
                "md5": "7c4f19b807c06a4ef7277647a97d187f",
                "sha256": "ca853c919e18860eb75ac3563985391d07eb50f6ab0aadcb48842bcc0ee8dd45"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.12.0-py2.py3-none-macosx_11_0_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7c4f19b807c06a4ef7277647a97d187f",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 51855510,
            "upload_time": "2024-12-06T23:10:19",
            "upload_time_iso_8601": "2024-12-06T23:10:19.015740Z",
            "url": "https://files.pythonhosted.org/packages/62/61/e90e791462aab3c0dedbdd96bd8973fc61629a96c82ea13a62ffad00d559/nodejs_wheel_binaries-22.12.0-py2.py3-none-macosx_11_0_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "87f13b35a777b9206fa99d690de24f1c003a1448ff14567d80d8bf2ab9994ec5",
                "md5": "2c0f0475f75e032f6ff71153134b56b7",
                "sha256": "e6df3f2606e26d3334de1fc15c4e6a833980a02ed2eae528d90ddaacaaab2dd1"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.12.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "2c0f0475f75e032f6ff71153134b56b7",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 57176964,
            "upload_time": "2024-12-06T23:10:25",
            "upload_time_iso_8601": "2024-12-06T23:10:25.118190Z",
            "url": "https://files.pythonhosted.org/packages/87/f1/3b35a777b9206fa99d690de24f1c003a1448ff14567d80d8bf2ab9994ec5/nodejs_wheel_binaries-22.12.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6c3e9a925efa56fbbdc6c262e6a5b5e2d8ec3695f840822a1d58b69444e155e1",
                "md5": "486e04f603dc3fcd2ea2c9bba5d7b68b",
                "sha256": "335176ffa5f753c4d447af83f70987f5f82becdf84fadf56d5c0036379826cff"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.12.0-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "486e04f603dc3fcd2ea2c9bba5d7b68b",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 57510549,
            "upload_time": "2024-12-06T23:10:31",
            "upload_time_iso_8601": "2024-12-06T23:10:31.399718Z",
            "url": "https://files.pythonhosted.org/packages/6c/3e/9a925efa56fbbdc6c262e6a5b5e2d8ec3695f840822a1d58b69444e155e1/nodejs_wheel_binaries-22.12.0-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a2762b6d0fdb3a1cc47fc95c3f6d98376844870e2e46881749a65177689ff2fa",
                "md5": "b55be77ae5839a6ee34348ab285b437c",
                "sha256": "44f0b372a9ea218be885d14b370e774366d09697ae193b741b83cf04c6753884"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.12.0-py2.py3-none-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b55be77ae5839a6ee34348ab285b437c",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 59632749,
            "upload_time": "2024-12-06T23:10:36",
            "upload_time_iso_8601": "2024-12-06T23:10:36.373078Z",
            "url": "https://files.pythonhosted.org/packages/a2/76/2b6d0fdb3a1cc47fc95c3f6d98376844870e2e46881749a65177689ff2fa/nodejs_wheel_binaries-22.12.0-py2.py3-none-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f7e6ef2d8a0cd18075a669c06d1e07c5790997ac79d57609e97aec0a536b347",
                "md5": "190600c40b0c3307acc3b21c5e7ca816",
                "sha256": "d1a63fc84b0a5a94b19f428ecc1eb1bf4d09c9fc26390db52231c01c3667fe82"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.12.0-py2.py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "190600c40b0c3307acc3b21c5e7ca816",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 40123839,
            "upload_time": "2024-12-06T23:10:40",
            "upload_time_iso_8601": "2024-12-06T23:10:40.878294Z",
            "url": "https://files.pythonhosted.org/packages/7f/7e/6ef2d8a0cd18075a669c06d1e07c5790997ac79d57609e97aec0a536b347/nodejs_wheel_binaries-22.12.0-py2.py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ef852c23c74ffe1b5f6f17d69b6193e2cf6a766929934e52409b377214a1b6a",
                "md5": "169ca7826d002789f4d7267bf5fba3ed",
                "sha256": "cc363752be784bf6496329060c53c4d8a993dca73815bb179b37dba5c6d6db1c"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.12.0-py2.py3-none-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "169ca7826d002789f4d7267bf5fba3ed",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 35999369,
            "upload_time": "2024-12-06T23:10:44",
            "upload_time_iso_8601": "2024-12-06T23:10:44.063002Z",
            "url": "https://files.pythonhosted.org/packages/6e/f8/52c23c74ffe1b5f6f17d69b6193e2cf6a766929934e52409b377214a1b6a/nodejs_wheel_binaries-22.12.0-py2.py3-none-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4ba0e9c4a93a09da08395044219af1adceb8c7e9bfca2b6b3ec35374a265851a",
                "md5": "7f6687a84bde3c2afcd1c1e9ecd811ba",
                "sha256": "e9b707766498322bb2b79fb4f6f425ef86904feccc72cc426f8d96f75488518e"
            },
            "downloads": -1,
            "filename": "nodejs_wheel_binaries-22.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7f6687a84bde3c2afcd1c1e9ecd811ba",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 7869,
            "upload_time": "2024-12-06T23:10:48",
            "upload_time_iso_8601": "2024-12-06T23:10:48.769382Z",
            "url": "https://files.pythonhosted.org/packages/4b/a0/e9c4a93a09da08395044219af1adceb8c7e9bfca2b6b3ec35374a265851a/nodejs_wheel_binaries-22.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-06 23:10:48",
    "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: 1.90441s