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.1.tar.gz
(27.5 kB
view hashes)
Built Distribution
Close
Hashes for compiler_magics-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a760dd3dc9d6536438f058d124703b1ab27bea8d5fb19e6399eb025820a7153 |
|
MD5 | ad13f0068c9ec42e7695ba1a60c7871d |
|
BLAKE2b-256 | 42f88d1b847dd282db5613ffb2177a9469ab5eb0050f0cd93ce6c2eff171d43e |