nodejs-wheel 20.13.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,96 @@
1
+ Metadata-Version: 2.1
2
+ Name: nodejs-wheel
3
+ Version: 20.13.0
4
+ Summary: unoffical Node.js package
5
+ Author-email: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
6
+ Project-URL: repository, https://github.com/njzjz/nodejs-wheel
7
+ Keywords: nodejs
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Environment :: Console
11
+ Requires-Python: >=3.7
12
+ Description-Content-Type: text/markdown
13
+ Requires-Dist: nodejs-wheel ==20.13.0
14
+
15
+ # Unoffical Node.js wheels
16
+
17
+ [![Pypi version](https://img.shields.io/pypi/v/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)
18
+ [![Pypi downloads](https://img.shields.io/pypi/dm/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)
19
+ [![Pypi downloads](https://img.shields.io/pypi/dw/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)
20
+ [![Pypi downloads](https://img.shields.io/pypi/dd/nodejs-wheel)](https://pypi.org/project/nodejs-wheel/)
21
+
22
+ `nodejs-wheel` is an unofficial repository to distribute Node.js prebuilt wheels through PyPI using
23
+
24
+ ```sh
25
+ pip install nodejs-wheel
26
+ ```
27
+
28
+ *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`.
29
+
30
+ ```sh
31
+ pip install nodejs-wheel-binaries
32
+ ```
33
+
34
+ The package requires Python 3.7 and above.
35
+
36
+ The project is powered by [scikit-build-core](https://github.com/scikit-build/scikit-build-core) and [cibuildwheel](https://github.com/pypa/cibuildwheel).
37
+
38
+ ## Available Builds
39
+
40
+ | OS | Arch | Bit | Conditions | New in |
41
+ | ------- | ------- | --- | -------------- | ----------- |
42
+ | Linux | x86_64 | 64 | glibc >= 2.17 | v18.18.0 |
43
+ | Linux | aarch64 | 64 | glibc >= 2.17 | v20.13.0 |
44
+ | macOS | x86_64 | 64 | >= macOS-10.9 | v18.18.0 |
45
+ | macOS | arm64 | 64 | >= macOS-11 | v20.11.1 |
46
+ | Windows | amd64 | 64 | | v18.18.0 |
47
+
48
+ ## Usage
49
+
50
+ ### Command line
51
+
52
+ Only available in the `nodejs-wheel` package.
53
+
54
+ ```sh
55
+ node -h
56
+ npm -h
57
+ npx -h
58
+ ```
59
+
60
+ ### Run library module as a script
61
+
62
+ *New in v20.13.0*.
63
+
64
+ Only support `node`.
65
+
66
+ ```sh
67
+ python -m nodejs_wheel --version
68
+ ```
69
+
70
+ ### Python API
71
+
72
+ *New in v20.13.0*.
73
+
74
+ ```py
75
+ from nodejs_wheel import (
76
+ node,
77
+ npm,
78
+ npx,
79
+ )
80
+
81
+ node("--version")
82
+ npm("--version")
83
+ npx("--version")
84
+ ```
85
+
86
+ ## License
87
+
88
+ `nodejs-wheel` distributed under the same MIT [license](LICENSE) as [Node.js](https://github.com/nodejs/node).
89
+
90
+ ## Other projects
91
+
92
+ The project is inspired by many other similiar projects:
93
+
94
+ - [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.
95
+ - [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.
96
+ - [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.
@@ -0,0 +1,5 @@
1
+ nodejs_wheel-20.13.0.dist-info/METADATA,sha256=3eU0DPdH-ERWgubLkO2tDOBNaVSwmniwjYp9Teh9dyg,3132
2
+ nodejs_wheel-20.13.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
3
+ nodejs_wheel-20.13.0.dist-info/entry_points.txt,sha256=wAVZFtlH-_LpM2yl_YoSYT-JG3iXUiMJF0NhFtefJtk,161
4
+ nodejs_wheel-20.13.0.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
+ nodejs_wheel-20.13.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.43.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ node = nodejs_wheel.executable:_node_entry_point
3
+ npm = nodejs_wheel.executable:_npm_entry_point
4
+ npx = nodejs_wheel.executable:_npx_entry_point