Swiftpy
Embbeding python in swift
Install / Use
/learn @johnlinvc/SwiftpyREADME
Swiftpy : embedding Python in Swift
Requirements
- OSX 10.11.4
- Swift toolchain swift-DEVELOPMENT-SNAPSHOT-2016-05-31-a-osx
- Python 2.7 (system Python)
Building
git checkout develop
./build.sh
run demo
./build.sh
.build/debug/SwiftpyDemo
Features
- run python code from string
- load python module
- call function on python objects with normal args(no kargs)
- convert String between Swift & Python
- getting/setting attr from object
Usage
see Demo
Todos
- run python code from file
- automagic conversion between Swift & Python
- call function with keyword args
- test system
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
