推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
messense
V2EX  ›  Python

maturin: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as Python packages

  •  
  •   messense ·
    messense · Nov 23, 2021 · 2475 views
    This topic created in 1637 days ago, the information mentioned may be changed or developed.

    GitHub: https://github.com/PyO3/maturin User Guide: https://maturin.rs

    之前 /t/816053 想做的使用 PyPI 分发二进制文件的事情,使用 Rust 就很简单:

    $ maturin build --release -b bin
    

    举个例子: https://github.com/messense/auditwheel-symbols ,PyPI 地址: https://pypi.org/project/auditwheel-symbols/

    GitHub Actions 上可以比较方便地构建 manylinux/musllinux 兼容的 wheel: https://github.com/messense/maturin-action

    1 replies    2024-04-10 09:35:55 +08:00
    Vcide
        1
    Vcide  
       Apr 10, 2024
    正在学习使用楼主开发的 PyO3 和 Maturin 来开发 Python 包,上手很顺滑
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1052 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 22:40 · PVG 06:40 · LAX 15:40 · JFK 18:40
    ♥ Do have faith in what you're doing.