Skip to content
Embbeding python in swift
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
Package.swift
README.md

README.md

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
You can’t perform that action at this time.