https://github.com/d3f0/ipython_gcc
%%gcc magic: A very early stage plugin to ease usage of IPython/Jupyter for C programming courses mainly focused on pthrads, openmp and MPI.
https://github.com/d3f0/ipython_gcc
Last synced: 1 day ago
JSON representation
%%gcc magic: A very early stage plugin to ease usage of IPython/Jupyter for C programming courses mainly focused on pthrads, openmp and MPI.
- Host: GitHub
- URL: https://github.com/d3f0/ipython_gcc
- Owner: D3f0
- License: mit
- Created: 2016-10-11T00:17:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-12T03:51:11.000Z (over 9 years ago)
- Last Synced: 2025-05-15T08:45:13.625Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- Changelog: NEWS.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
Ipython GCC integration
=======================
This IPython extensions provides an easy interface to work with C code.
Installation
------------
If you are in a terminal, just call::
pip install -e "git+https://github.com/D3f0/ipython_gcc.git"
If already inside IPython/Jupyter:
!pip install -e "git+https://github.com/D3f0/ipython_gcc.git"
Example usage
-------------
Define a gcc cell
~~~~~~~~~~~~~~~~~
.. code:: python
# Example cell
%%gcc main.c
#include
#include
int main(int argc, char **argv) {
printf("Hello world\n");
return 0
}
TODO
====
View current issues_
.. _issues: https://github.com/D3f0/ipython_gcc/issues