Distributing a custom cell magic to do compilation
Project description
compiler_magic
Compiler magics for use with Jupyter notebooks.
Installation
- Enter the directory you downloaded this file in
- run python setup.py install
- Append the contents of hpcmagic/custom.js to ~/.jupyter/custom/custom.js
- Copy hpcmagic/hpcmagic.ini to ~/.local/hpcmagic/hpcmagic.ini
- Append the contents of hpcmagic/ipython_config.py to ~/.ipython/profile_default/ipython_config.py
Use
Edit the contents of ~/.local/hpcmagic/hpcmagic.ini to suit your Linux/Unix development environment. Or define environment variables with the same name as the defaults in ~/.local/hpcmagic/hpcmagic.ini.
There are three cell magics available
-
%%CPP
-
%%C
-
%%FORTRAN
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
compiler_magics-1.0.tar.gz
(27.2 kB
view hashes)
Built Distribution
Close
Hashes for compiler_magics-1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67db95928ef508a9c373d6a8cc8c454ae82209858c984f5f0fc499c167f9016e |
|
MD5 | 3c48d4c9c69fae3d7d61a211fb77806f |
|
BLAKE2b-256 | 3fbad746bdf54945a1f47ae5370ac5807bc37656956d83e905f85a976d2d8cc9 |