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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
762895ae01aee755535a26df58222912d9118c25c4052cd468eac7f68e4f9a48
|
|
| MD5 |
e20d086a59768fc2d0a6c2a97b058756
|
|
| BLAKE2b-256 |
1db669a1f1539b58b8a577f5cb4e6589c099ebe530f1d15f9759d7f34558b8db
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a760dd3dc9d6536438f058d124703b1ab27bea8d5fb19e6399eb025820a7153
|
|
| MD5 |
ad13f0068c9ec42e7695ba1a60c7871d
|
|
| BLAKE2b-256 |
42f88d1b847dd282db5613ffb2177a9469ab5eb0050f0cd93ce6c2eff171d43e
|