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 Distribution

rust_magic-0.2.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file rust_magic-0.2.3.tar.gz.

File metadata

  • Download URL: rust_magic-0.2.3.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3

File hashes

Hashes for rust_magic-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e16e307b7a5de02ecba528b057b6b080e69745e81e966c1ba5ca3cf3f725ad37
MD5 e36865113484a3730ccb2e5a87e43cf8
BLAKE2b-256 68658f778b4852bdeb23718ed8153775a7f8867f8aab83b418cdbcb45c6a8491

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: rust_magic-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3

File hashes

Hashes for rust_magic-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d6991a98598fcb41ad728edcfe47efe81d233b6933b0bfbfe11c2ef7f973e45e
MD5 4cd2a257c143d98c05cf431b6842f80d
BLAKE2b-256 7793216329e8c5c36bb0ad3a1b7e4f88828e909701af4b09e82652d99949f216

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