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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file compiler_magics-1.0.1.tar.gz.

File metadata

  • Download URL: compiler_magics-1.0.1.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for compiler_magics-1.0.1.tar.gz
Algorithm Hash digest
SHA256 762895ae01aee755535a26df58222912d9118c25c4052cd468eac7f68e4f9a48
MD5 e20d086a59768fc2d0a6c2a97b058756
BLAKE2b-256 1db669a1f1539b58b8a577f5cb4e6589c099ebe530f1d15f9759d7f34558b8db

See more details on using hashes here.

File details

Details for the file compiler_magics-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: compiler_magics-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for compiler_magics-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3a760dd3dc9d6536438f058d124703b1ab27bea8d5fb19e6399eb025820a7153
MD5 ad13f0068c9ec42e7695ba1a60c7871d
BLAKE2b-256 42f88d1b847dd282db5613ffb2177a9469ab5eb0050f0cd93ce6c2eff171d43e

See more details on using hashes here.

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