LogoClawIndex
CasesSkillsAbout
LogoClawIndex

mojo-python-interop - Mojo Python Interoperability Helper

Aids in writing Mojo code that interoperates with Python using current syntax and conventions.

Tags

Updated: 2026-05-28

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • import Python modules
  • convert Python to Mojo types
  • convert Mojo to Python types
  • create Python collections
  • call PythonObject methods
  • evaluate Python code
  • handle Python exceptions
  • build Python extension modules
  • export Mojo functions
  • export Mojo types
  • register module methods
  • import Mojo modules from Python

Inputs

  • Python modules
  • Python extension modules
  • PythonModuleBuilder
  • Mojo types
  • Python code
  • PythonObject instances

Outputs

  • Mojo types
  • Python collections
  • PythonObject
  • Python extension modules
  • Mojo values

Requirements

  • Mojo compiler
  • shared library build support
  • raises function support

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
interoperability
python
type-conversion
extension-modules
bindings
import Python modules
convert Python to Mojo types
convert Mojo to Python types
create Python collections
Python modules
Python extension modules
PythonModuleBuilder
Mojo types
Python collections
PythonObject