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

Uploaded Source

Built Distribution

rust_magic-0.2.7-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rust_magic-0.2.7.tar.gz
  • Upload date:
  • Size: 2.2 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.7.tar.gz
Algorithm Hash digest
SHA256 211b01e74b95a30b1b6bae58de988f8c4bc9dbca2c1daf3529b0baed0386f4be
MD5 437781e15375424866d625ec5a386305
BLAKE2b-256 da811662f51504ddfe291c6de2c40b2b3d5ff4f173f5b528391e2a018c67c485

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: rust_magic-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 678440df3a938c78b93dd1a3b82886b54436c8e2da91fbb1a58c1b6ef50e164e
MD5 eb13ebb5cac226ea78bc8db0a49aeb7e
BLAKE2b-256 31a4ecaacd99ec6b9a154ef7a41f40e1a989fd08108673b66edbcb7f2fd5929f

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