Giter VIP home page Giter VIP logo

seasnake's Introduction

SeaSnake

https://travis-ci.org/pybee/seasnake.svg?branch=master

A tool to manage conversion of C++ code to Python.

Sometimes you will find a great algorithm, but find that the only implementation of that algorithm is written in C or C++. In some cases it might be possible to wrap that C/C++ code in a Python C module. However, if a C module is not an option, you need to be able to convert the C/C++ implemention into a Pure Python implementation.

SeaSnake was written to automate the conversion of WebKit sources into a version that could be used by Colosseum.

Quickstart

In your virtualenv, install SeaSnake, and then run it, passing in the name of a C++ source file (or files, if you want to provide the header as well as the cpp file):

$ pip install seasnake
$ seasnake -s path/to/MyClass.cpp

This will output a MyClass.py Python module to the console.

If your code requires external include files or definitions, you can use the -D and -I options. See seasnake --help for details.

Community

SeaSnake is part of the BeeWare suite. You can talk to the community through:

Contributing

If you experience problems with SeaSnake, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

seasnake's People

Contributors

freakboy3742 avatar virtuald avatar souravsingh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.