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:

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:

Compiler options

can be provided in the cell mode:

Copy-pastable form of the examples on github or in nbviewer.

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.6.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

rust_magic-0.2.6-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rust_magic-0.2.6.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2

File hashes

Hashes for rust_magic-0.2.6.tar.gz
Algorithm Hash digest
SHA256 72f406b0d6c20f33d9e72ca7c89c167242a04202e5afe28d14027d99abf7a8e2
MD5 0ccf880c6b65725e82a966d166b287d0
BLAKE2b-256 e8d8e9c271316a6de72aff8fbc5d6801ec152373d2186bfd99c8c9986a8f89e5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: rust_magic-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2

File hashes

Hashes for rust_magic-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3013162188d5b7433517b33b9c1358cd7059194aa6782dd3feb8dbbff7264011
MD5 574c8c76fd02fe8c4edf89409a1dee1b
BLAKE2b-256 24d8f0727996dcb39c69e5fcbd18301f00583c3b2a3386be7cd7686f4248acee

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