This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

embed inline C / C++ source codes in Python

Project Description

Embed inline C / C++ source codes in Python.

Usage

import inline
c = inline.c(r'''
int add(int a, int b) {
    return a + b;
}
''')
c.add(40, 2)
import inline
cxx = inline.cxx(r'''
extern "C" {
    int add(int a, int b) {
        return a + b;
    }
}
''')
cxx.add(40, 2)

Install

pip install inline
git clone https://github.com/manicmaniac/inline.git
cd inline
python setup.py install
Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
inline-0.0.1.linux-x86_64.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 any Dumb Binary Nov 19, 2015
inline-0.0.1.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Nov 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting