Skip to main content

Distributing a custom cell magic to do compilation

Project description

compiler_magic

Compiler magics for use with Jupyter notebooks.

Installation

  1. Enter the directory you downloaded this file in
  2. run python setup.py install
  3. Append the contents of hpcmagic/custom.js to ~/.jupyter/custom/custom.js
  4. Copy hpcmagic/hpcmagic.ini to ~/.local/hpcmagic/hpcmagic.ini
  5. 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

  1. %%CPP

  2. %%C

  3. %%FORTRAN

Project details


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)

Uploaded Source

Built Distribution

compiler_magics-1.0.1-py2.py3-none-any.whl (25.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page