Skip to main content

Lightweight Rust integration in Jupyter notebook

Project description

# rust-magic

Allows to try rust in Jupyter notebook. Implemented via line/cell magics:

<img src=”https://raw.githubusercontent.com/axil/rust-magic/master/rust-magic.png” width=”600”>

## Installation

  1. Install rust and jupyter-notebook

  2. cargo install cargo-script

  3. pip install rust-magic

  4. Enjoy :)

## Third-party crates

are supported via normal cargo script syntax:

<img src=”https://raw.githubusercontent.com/axil/rust-magic/master/external-crate.png” width=”600”>

## Compiler options

can be provided in the cell mode:

<img src=”https://raw.githubusercontent.com/axil/rust-magic/master/debug1.png” width=”800”>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rust_magic-0.2.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file rust_magic-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: rust_magic-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.0

File hashes

Hashes for rust_magic-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71d40e5786957efcd97d81e5377ba697a95c9ee06f95ccb9df712809754f2bb5
MD5 8627cce3f6bff66653078f6156e8f561
BLAKE2b-256 b058fdd89de081a3d27191e28202b0e4891a8576b221efd23c682744cc30d325

See more details on using hashes here.

Provenance

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