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

Uploaded Source

Built Distribution

rust_magic-0.3.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rust_magic-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e828e9411b3705f0dd59ef83aec54468b0aeed65a5ca447e994e0672baeab908
MD5 a4c76c118d170b3679d260e7e82ce63c
BLAKE2b-256 142f3353f328d34da1988032d142e9922e9056656ac1089697ddfb068a198436

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: rust_magic-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5a33a2a1da9db6f3b79acfe3cbfc00965b46d67d007cf94a90a0ca95cfb7961
MD5 c68fcfd766ff93bfb02cf74a61f22083
BLAKE2b-256 6794904fcf868bbf5a035aadf6f560f5050c4c7ff7a3f4a366fb9e44fc4ac475

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