This release is a pre-release and may not be stable for production use.
IPython cell magic to use .NET languages (C#, VB.NET, F#) from jupyter notebooks:
https://pypi.python.org/pypi/clrmagic/
Based on a blog post from Xavier Dupré @sdpython:
http://www.xavierdupre.fr/blog/2014-09-20_nojs.html
Simple wheel installation:
pip install clrmagic
Launch Jupyter notebook with IPython kernel:
jupyter notebook
In open notebook load clrmagic extension:
%reload_ext clrmagic
Magic cell with C# code:
%%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>>
Next evaluate in normal IPython cell:
mypower(3.0,3.0) 27.0
Metadata
Release files for clrmagic 0.0.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| clrmagic-0.0.1a2.tar.gz | 3.4 kB | Without provenance | Details for clrmagic-0.0.1a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clrmagic-0.0.1a2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for clrmagic-0.0.1a2-py2.py3-none-any.whl |
Total release size: 9.1 kB
Release files / clrmagic-0.0.1a2.tar.gz
| Download URL | clrmagic-0.0.1a2.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efe65060727c5ed92f96869f35d8d5207ad5373c82f339670ce66685c40e0c07
|
|
BLAKE2b-256 checksum How to use checksums |
8ab557d3c62b064b2699318b8f2baa240685c414e50034ba83a4df8e230d8649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / clrmagic-0.0.1a2-py2.py3-none-any.whl
| Download URL | clrmagic-0.0.1a2-py2.py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b3ed6ff24059c9d59e9139b39363d538e261397ae0c8ad566c98254f71969f32
|
|
BLAKE2b-256 checksum How to use checksums |
2a8a0fa3e5ec55cc2b80dc0fe12645810b3f819065801a3228a46ba845c1d2ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for clrmagic 0.0.1a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.