mojo-python-interop
OfficialSeamless Mojo & Python integration.
Authormodular
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenges of integrating Mojo and Python code, ensuring correct syntax and conventions are used for interoperability, especially as Mojo's Python integration capabilities are rapidly evolving.
Core Features & Use Cases
- Python from Mojo: Guides on importing Python modules, converting Python objects to Mojo types, and building Python collections from Mojo.
- Mojo from Python: Provides patterns for exporting Mojo functions and types as Python extension modules.
- Use Case: You need to use a Python library like NumPy within your Mojo project or expose a Mojo-defined data structure to a Python script.
Quick Start
Use the mojo-python-interop skill to import the 'numpy' Python module and create a numpy array from a Mojo list.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mojo-python-interop Download link: https://github.com/modular/skills/archive/main.zip#mojo-python-interop Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.