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

Uploaded Source

Built Distribution

rust_magic-0.3.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rust_magic-0.3.0.tar.gz
  • Upload date:
  • Size: 2.4 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.0.tar.gz
Algorithm Hash digest
SHA256 a8a484e86bc269eba297713f4ac4a3bcb6f84082d2fc2b694eace2947f98eb27
MD5 d281812d41a47153624619829ca6bb5d
BLAKE2b-256 93d3ba01023182cb2b20f5d9f63aa12926426151b65e374c937c0df99e1eee59

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: rust_magic-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02d21830ab495b92b40ca00c7ef2bfd72e98be698c3876b01f50024e35fa9ff7
MD5 3fe54b5f12b755e103716a536055170c
BLAKE2b-256 d144fa9f2b1e78fac00c56f9e0ac40125661a94cb41593967178deb6cc4a2ee0

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