Compiles NetsBlox projects into PyBlox projects
Project description
License: MIT OR Apache-2.0 Requires-Python: >=3.6 Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM Project-URL: Source Code, https://github.com/dragazo/nb2pb Project-URL: Issues, https://github.com/dragazo/nb2pb/issues
# nb2pb
[NetsBlox](https://netsblox.org/) is an educational block-based programming environment (based on [Snap!](https://snap.berkeley.edu/)) which has a focus on advanced CS topics such as distributed computing, cybersecurity, and the internet of things. [PyBlox](https://github.com/dragazo/PyBlox) is an educational Python environment which supports most of the same features as NetsBlox, but which has students program in native (unrestricted) Python rather than the block-based language. nb2pb is a rust crate that allows for the compilation of NetsBlox (nb) project files into PyBlox (pb) project files.
## How to Use
In addition to being a native rust crate available on crates.io, nb2pb also has (simplified) [Python bindings](https://pypi.org/project/nb2pb/), which are used by PyBlox. As the python bindings are our main interest, they will be kept up to date as the rust crate evolves.
## Installation
To use nb2pb as a Python package, you can simply install it through pip.
`sh pip install nb2pb `
We build wheels for several operating systems and versions of python (>=3.6). However, if there is not a wheel for your platform, pip will have to compile the rust crate from source, which will require installing [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html). If this is the case, feel free to [submit an issue](https://github.com/dragazo/nb2pb/issues/new) including your operating system and processor architecture, and we can see if your system can be officially supported (without needing to be compiled by users) in the future.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for nb2pb-0.1.1-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 556100437089da90bdc6c76ea93bde966f783b06eeee5ea9e585e4ed0562b7ca |
|
MD5 | ba4576bf270192ed0829d09418da49fd |
|
BLAKE2b-256 | 9f4d82a757dabfbe63c1579925dacfd882c0aa933de2148b76e4405d92c9d5fd |
Hashes for nb2pb-0.1.1-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aaf6fbd74313e738f5a2d8987c6576bb3768b3b62452fe737470f7868845067 |
|
MD5 | 3a9e637ddd1bf94d720afb1e55705da1 |
|
BLAKE2b-256 | a63e4b0ba90a175c53547cd99271e92dd638d944a4d5d797e143c7060952c57b |
Hashes for nb2pb-0.1.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f441ab8abb3766247d6dd2c8cbd9fbb328883c6680b4cbb6ca09dfa6a7ff74f9 |
|
MD5 | 801079bc200fb7751371391249c5da63 |
|
BLAKE2b-256 | 007d336902114d3bfc069bd93698c71288aba8318fd026f21e50fb67dc9607b7 |
Hashes for nb2pb-0.1.1-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1b3646f1d20b89fa4854b3cbd464946801274624f92c281325c3eb4dfdb79c6 |
|
MD5 | 7cb8e7dca7e1d66d28c22d60e4188f6f |
|
BLAKE2b-256 | 4a7b00d19fb95a311f29d8b33cfed8eda89bb416ed0802b0c5582dafdecfc077 |
Hashes for nb2pb-0.1.1-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ccae3ccd11b841fb252bee3f3132e898cc4ad05b6c2f9a563bd18995e9fcef4 |
|
MD5 | ca8ca857058105a34aff2b61bfda1afc |
|
BLAKE2b-256 | 9366023deb82ee1fd8f1a9256bda9ae401d32e65c77e58de8ff099e7c2e47266 |
Hashes for nb2pb-0.1.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 358779d0e450c1ef72a3805c8ac5bc099f2ea3573a55ef4410f841cc2a8a4fe7 |
|
MD5 | 66d5212b3a49da0c6465646823a94e4e |
|
BLAKE2b-256 | 29c90a5ed79da12a8501ce3077a067b6ff6ec999672709f687e9675f0c99772d |
Hashes for nb2pb-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 266476f5ad362c668508f1a6a7f6ea308b729dfe6d9d4df68a1b4b624b017484 |
|
MD5 | 2c2e46f698aa067c6e16b7661c0b45d8 |
|
BLAKE2b-256 | a3536fd52d6d90db5b92cef40b4f43a6925c96d793fcd72f3e51063f966047cc |
Hashes for nb2pb-0.1.1-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a4dde7ca8c095ae07eb7b7edb81941e211de51769b3cc03e1e7f56519d3d379 |
|
MD5 | cc4318c6681fb78213970ec8f7ebb0c5 |
|
BLAKE2b-256 | 21c8bd4ffc32481146ce63d4edef24bdddf6e9b2991bc29a43e6565c97944062 |
Hashes for nb2pb-0.1.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578276a041525bfd7fd0d45da0b9b57c47528b8f29429cde69bb0ad89bcb0072 |
|
MD5 | be0c5f154e4ce005836685c6fed00297 |
|
BLAKE2b-256 | ac2307164291eff2ed733fbd50c9ff8ed17bb600b1ac97ba67c7024d0dccca5a |
Hashes for nb2pb-0.1.1-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba78e1bf925379414558adc03294610ae248be16435afe3bf3f880abd2de0f6c |
|
MD5 | a3479c581225c61dce002e00b7cf3c94 |
|
BLAKE2b-256 | fed6dd12ff2d31ca3e0602b9cac7f0a958b4660545608f26b011cba8379294ce |
Hashes for nb2pb-0.1.1-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb056d94f0229b8bcf09f2001093a09eaea5f2faa1e05d101e7820ea627b41c9 |
|
MD5 | cc7336d5836f105f4628e55a71059791 |
|
BLAKE2b-256 | 78fe9ae137eba76c85cb27459a6233364df058072aa09fb8982683ca0f72bd2f |
Hashes for nb2pb-0.1.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 201a938de7d6d1c5b68bf940a218d2fa147e8e606a0b65b282d37d36ae1cb2f5 |
|
MD5 | c5158a03547e61ad8299208f3b05ecf6 |
|
BLAKE2b-256 | 50cd41d81296f6e046f43be729be1630f187dd86463ccd75c72d11da6fa42bd7 |
Hashes for nb2pb-0.1.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19825c1d52acaa5285434bac88952d28712b7ded8c44ec19d2b4c33ef4ce84c |
|
MD5 | 20e6ba2470d8270ae6d23eedd7f4fbb2 |
|
BLAKE2b-256 | 207b3baa0656f742a6637f0c6bedefc8c42fb784a1305bf156268a069f5e567d |
Hashes for nb2pb-0.1.1-cp36-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78df9e1b69b82d8b9414fcbc1b212138e75fc614fbdd9dd1b364c99878803d94 |
|
MD5 | 1f33cb0a82a87f5c85761f5fb352e172 |
|
BLAKE2b-256 | 8068a84d1430a39bf6c11e4a6b723d4fa249f827454c8ccc4080b5011f487104 |
Hashes for nb2pb-0.1.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b859b0b732438216317887d20c03cb6f2a9d64ffbafc04fd2f4b0d757e96d4ae |
|
MD5 | 24c48241a9bcf9dbc43c5ea6d62cdfb0 |
|
BLAKE2b-256 | e74a2d6b2463a032fcec7179278cfc2011cdc6616cbc1d7eac6c8ec42b2e0b27 |
Hashes for nb2pb-0.1.1-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cfa644472e469d3b65657e96ad2599c319a216610a14ff0fb9ea9c8af258002 |
|
MD5 | 87bb812741edbc767cf148d21d25178b |
|
BLAKE2b-256 | 2be880f2ecedd5879c6f3249b99bae63e0463cc21c7afaa7fddf7ada95c881ef |