LogoClawIndex
案例技能关于
LogoClawIndex

ClawIndex

OpenClaw Skills 与 Use Case 索引

ClawIndex 是一个生态驱动的 OpenClaw Skills 与真实 Use Case 索引站。

索引

Skills·
Cases

Meta

关于·
声明·
邮箱·
GitHub
© 2026 ClawIndex 保留所有权利。

mojo-python-interop - Mojo与Python互操作

编写与Python互操作的Mojo代码

标签

更新于: 2026-05-28

能力

典型输入

典型输出

该技能可以做什么

  • 导入Python模块
  • 转换Python为Mojo
  • 转换Mojo为Python
  • 构建Python集合
  • 评估Python代码
  • 处理Python异常
  • 构建扩展模块
  • 导出Mojo函数
  • 导出Mojo类型
  • 注册Mojo方法
  • 处理关键字参数
  • 导入Mojo模块

输入

  • Python模块
  • Python库
  • Python代码
  • Mojo类型
  • Mojo函数
  • Mojo结构体
  • 扩展模块定义
  • 模块构建器配置
  • 关键字参数
  • Mojo文件
  • Python对象

输出

  • PythonObject实例
  • Python代码
  • Python异常
  • 扩展模块文件
  • 注册的Python模块
  • 转换的Mojo值
  • 编译的共享库
  • 模块注册结果

要求

  • Mojo编译器
  • Python环境
  • std.python模块
  • std.os模块
  • std.collections模块
  • 共享库编译

来源

  • 规范: SKILL.md
python
互操作
扩展模块
类型转换
外部接口
绑定
导入Python模块
转换Python为Mojo
转换Mojo为Python
构建Python集合
Python模块
Python库
Python代码
PythonObject实例
Python代码
Python异常