没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
欢迎来到cslug! 快速轻松地将C代码包装到Python中。 免费软件:MIT许可证 文档: : 。 资料来源: : 发布: : cslug软件包在内置库的顶部提供了一个薄层,从而使将C中的函数和结构更轻松地加载到Python中变得更加容易。 备择方案 将C与Python混合并不是什么新鲜事物-还有很多其他方法。 在可以找到各种方法的很好的比较。 cslug旨在成为最简单的工具,尽管它当然不是最灵活的。 与Python扩展模块和编写它们的工具(例如 )相比,使用ctypes驱动的包装既有优点也有缺点。 好处 C代码可以只是普通的高中水平的C。甚至一个世界末日的Python扩展模块也包含大约40行难以理解的宏。 这不适用于Cython。 二进制文件未链接到Python,因此未绑定到特定的Python版本。 需要为每个次要版本的Python( 3.6、3.7、3.8、3
资源推荐
资源详情
资源评论
收起资源包目录
cslug:快速轻松地将C代码包装到Python中 (137个子文件)
autobuild 100B
make.bat 398B
flatten.c 1KB
cards.c 984B
arrays-demo.c 696B
strings-demo.c 505B
multi-output.c 462B
globals.c 455B
encrypt.c 235B
pedantic-log.c 210B
reverse.c 199B
person.c 177B
file2.c 128B
basic.c 111B
deep-thought.c 82B
to_headerise.c 81B
unicode.c 69B
typing.c 50B
file1.c 38B
docutils.conf 51B
.coveragerc 761B
theme-overrides.css 3KB
tooltip.css 979B
.editorconfig 377B
.gitattributes 471B
.gitignore 2KB
.gitignore 16B
.gitignore 4B
target_header.h 538B
my-header.h 285B
footer.html 3KB
google77eb9775385691af.html 53B
MANIFEST.in 117B
MANIFEST.in 81B
tox.ini 583B
pytest.ini 207B
stdlib.json 13KB
LICENSE 1KB
Makefile 607B
stdlib.md 56KB
README.md 456B
README.md 350B
README.md 334B
ISSUE_TEMPLATE.md 331B
README.md 276B
README.md 132B
venomous-sea-slug-flare-icon.png 15KB
_cslug.py 12KB
test_slugs.py 12KB
c_parse.py 10KB
misc.py 8KB
test.py 8KB
_types_file.py 8KB
test_types_file.py 6KB
conf.py 6KB
building.py 6KB
test_misc.py 5KB
exceptions.py 4KB
_pointers.py 4KB
_headers.py 4KB
arrays-demo.py 4KB
_cc.py 3KB
test_pointers.py 3KB
test_cc.py 3KB
test_c_parse.py 3KB
test_structs.py 3KB
_stdlib.py 2KB
stdlib.py 2KB
globals.py 2KB
test_header.py 2KB
tooltips_gen.py 2KB
parse.py 2KB
flatten.py 2KB
test_building.py 2KB
test_demos.py 2KB
setup.py 1KB
conftest.py 1KB
search_dlls.py 1KB
errors.py 1KB
multi-output.py 1KB
docs.py 1KB
test_unicode.py 1KB
_struct.py 948B
test_sanity.py 932B
__init__.py 736B
setup.py 592B
__init__.py 576B
reverse.py 496B
test_stdlib.py 357B
__init__.py 323B
demo.py 123B
_version.py 114B
Python Unit Test.py 113B
__main__.py 112B
Python Script.py 110B
person.py 66B
numpy.rst 11KB
packaging.rst 9KB
strings-and-bytes.rst 8KB
quickstart.rst 7KB
共 137 条
- 1
- 2
资源评论
cocoaitea
- 粉丝: 13
- 资源: 4566
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功