← Winnitude! Search  ·  Reader Mode (1081 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 44 LINKS

GitHub - pythonnet/clrmagic: IPython cell magic to use .NET languages (C#, VB.NET, F#) from jupyter notebooks

Repository navigation

clrmagic
Public
forked from den-run-ai/clrmagic

About

IPython cell magic to use .NET languages (C#, VB.NET, F#) from jupyter notebooks

Resources

Readme MIT license Activity Custom properties

Stars

15 stars

Watchers

6 watching

Forks

1 fork Report repository
Branches

Tags
Go to Branches page Go to Tags page    

Latest commit

 

History


40 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
LICENSE LICENSE    
README.md README.md    
clrfunction.py clrfunction.py    
clrmagic.cs clrmagic.cs    
clrmagic.ipynb clrmagic.ipynb    
clrmagic.md clrmagic.md    
clrmagic.py clrmagic.py    
setup.cfg setup.cfg    
setup.py setup.py    

Repository files navigation

clrmagic

IPython cell magic to use .NET languages (C#, VB.NET, F#) from jupyter notebooks

Based on a blog post from Xavier Dupré [@sdpython] (https://github.com/sdpython ):

http://www.xavierdupre.fr/blog/2014-09-20_nojs.html

pip install clrmagic

https://pypi.python.org/pypi/clrmagic/

jupyter notebook

%reload_ext clrmagic
%%CS mypower System.dll
public static double mypower(double x, double y)
{
    if (y == 0) return 1.0 ;
    return System.Math.Pow(x,y) ;
}
<function clrmagic.create_cs_function.<locals>.<lambda>>
mypower(3.0,3.0)
27.0


About

IPython cell magic to use .NET languages (C#, VB.NET, F#) from jupyter notebooks

Resources

Readme MIT license Activity Custom properties

Stars

15 stars

Watchers

6 watching

Forks

1 fork Report repository

Releases

Packages

Used by

Contributors

Languages