没有合适的资源?快使用搜索试试~ 我知道了~
boa:用JavaScript调用Python包
共99个文件
js:49个
mjs:8个
cc:7个
需积分: 40 5 下载量 184 浏览量
2021-04-29
11:44:38
上传
评论 1
收藏 288KB ZIP 举报
温馨提示
Python简介 Boa是Pipcook中的Python桥接层,它使您可以在Node.js中无缝调用Python函数,它为Node.js开发人员提供了成本更低的学习或使用Python的任何模块。 快速开始 从npm安装Boa: $ npm install @pipcook/boa 让我们看一下如何调用Python函数: const boa = require ( '@pipcook/boa' ) ; const os = boa . import ( 'os' ) ; console . log ( os . getpid ( ) ) ; // prints the pid from python. // using keyword arguments namely `kwargs` os . makedirs ( '..' , boa . kwargs ( { mode : 0
资源推荐
资源详情
资源评论
收起资源包目录
boa-main.zip (99个子文件)
boa-main
example
argparse
test 415B
sklearn
dbscan-clustering.js 2KB
gradient-boosting-regression.js 2KB
tf2
hello.js 236B
mode-subclassing.js 610B
word-embedding.js 2KB
clang-format.py 7KB
package.json 2KB
tools
clean-python.sh 135B
utils.js 7KB
check-network-env.js 293B
bip.js 381B
memory-leak-debugger.js 487B
install-macos-tools.js 112B
debuginfo.js 263B
install-python.js 1KB
check-dependence.js 455B
.github
workflows
build.yml 2KB
publish.yml 1KB
tests
es-module-loaders
js
test-esm-loader-thirdparty.mjs 103B
test-esm-loader-math.mjs 160B
test-esm-loader-custom.mjs 249B
py
test-esm-loader-dynamic-imports.mjs 696B
test-esm-loader-thirdparty.mjs 930B
test-esm-loader-stdlib.mjs 1KB
test-esm-loader-custom.mjs 803B
common.js 2KB
base
utils.js 250B
eval.js 512B
basic.js 4KB
delegator-callee.js 225B
delegator-builtins-generator.js 618B
basic
__init__.py 770B
delegator-builtins-enumerate.js 588B
async.js 2KB
typescript
eval.ts 575B
kwargs.ts 335B
base.ts 753B
with.ts 322B
stdlib
builtins.js 4KB
numeric.js 4KB
crypto.js 253B
sys.js 893B
fs-access.js 1KB
colorsys.js 349B
internet.js 765B
text.js 2KB
os.js 1KB
numpy
routines.linalg.js 195B
routines.matrix.js 3KB
routines.financial.js 347B
ndarray.js 2KB
routines.array.js 372B
constants.js 329B
ufunc.js 189B
.gitignore 8B
esm
loader.mjs 1KB
LICENSE 11KB
package-lock.json 174KB
src
core
module.h 490B
object.cc 19KB
function.cc 2KB
module.cc 876B
node.h 687B
function.h 597B
common.h 1KB
object.h 2KB
error.cc 649B
reference.cc 2KB
reference.h 993B
error.h 327B
node.cc 4KB
binding.cc 1KB
.npmignore 237B
.eslintrc.js 8KB
tsconfig.json 438B
index.d.ts 3KB
.gitignore 213B
logo.png 175KB
lib
utils.js 1KB
index.js 5KB
factory.js 716B
delegator-loader.js 1KB
worker.js 2KB
proxy.js 12KB
delegators
builtins.enumerate.js 474B
decimal.Decimal.js 682B
callee.js 111B
builtins.generator.js 230B
numpy.matrix.js 986B
.nycrc.json 96B
pyodide
checksums 63B
Makefile 557B
README.md 15KB
.eslintignore 55B
pybind11
patches
2.4.3-fix-object-destruct.patch 1KB
checksums 64B
Makefile 1KB
binding.gyp 2KB
共 99 条
- 1
资源评论
阿礅
- 粉丝: 25
- 资源: 4657
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功