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

Uploaded Source

Built Distribution

rust_magic-0.3.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rust_magic-0.3.1.tar.gz
  • Upload date:
  • Size: 2.9 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.3.1.tar.gz
Algorithm Hash digest
SHA256 f3069dfc5c3ba65e83aa8cbd54d0ce556618623e8a3fb223314354f91f3f71cb
MD5 e9de907888c30091c5052a7ad9827e8a
BLAKE2b-256 75b618a8fff93e898082532d9a9e5bd6688e414e8a718c70414d982f42f843d2

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: rust_magic-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ea8b11eae4e1fabc76eabc329e73b7c073b0ac1e24e0fe8f57bb044ed04e77
MD5 c0208e3e4d69a937d70e3f70deeb6e0b
BLAKE2b-256 50b5951efd4ab543be4e09c8502e445286cb27004951faa2f7a63773ff4de208

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