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.
## Building Wheels
To build a wheel on the local system for installed versions of CPython and PyPy, run the following command:
`sh maturin build --release --features pyo3 `
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.11-pp310-pypy310_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ffe3a6d59e9fe2c4f499c5541271dda09a376040c94e311424798b08ff07023 |
|
MD5 | dc2abb77a70086328870565821092998 |
|
BLAKE2b-256 | ab6e1c1b24d11a96cc44cfd383993ceab43410b4c338db2d8bf60454ad030ddc |
Hashes for nb2pb-0.1.11-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 329484a1fa33b93c6ce2f4a2f634b35e19c935361ff10cef6be38eab2dd823dc |
|
MD5 | e4a9bddd8415fca26ae51891e713f943 |
|
BLAKE2b-256 | 3cf95854fb1d6137d256121363008f6fa173808e6190953a3ba98920541352df |
Hashes for nb2pb-0.1.11-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30b1a52b1269023a821784186942e4417b2f945669c58bffbc4d599e7301ff3b |
|
MD5 | 8bdcb86f1f5d5a4d8d0acfdc957f33f7 |
|
BLAKE2b-256 | a7b1ddc2b4968db9a99760a473c34af6229150378ee94a1ac3cdc3255fc51a8b |
Hashes for nb2pb-0.1.11-pp310-pypy310_pp73-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fad9c303060c41dd40c8759846bc360b90326c9cc567ec610131a61fa19d9391 |
|
MD5 | 052934e3526651952ff61df4e148e311 |
|
BLAKE2b-256 | 5e1cd2531bcbf8d17852f94181448c200e3d36c024996b51ea61c0fb3a299030 |
Hashes for nb2pb-0.1.11-pp39-pypy39_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df8bdcc817e380be2e7b8aa812dc3e22b0095b2af90a6cc61b1190429553d677 |
|
MD5 | 5fcd67bbcb98fafd0410d6741dccbc90 |
|
BLAKE2b-256 | 519cba236d7aca9ae5b901e1b8a432b1c94619bad3202515a181a1523a07fff0 |
Hashes for nb2pb-0.1.11-pp39-pypy39_pp73-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af56b1bb3b437a0c68826c2f6ec8859c0e7298c8a6ac6c1a2524ea109981197f |
|
MD5 | 2fba27ff05c86b21370efd700ff08b35 |
|
BLAKE2b-256 | 0d3cb79031837758cc6ba5082d60d4c7f4678873d6b0dbf5944fa9a388467a59 |
Hashes for nb2pb-0.1.11-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1e0c140dea5c103e5e74a7e08b9664062c3204e01fe2a2656c9d0b872f48b25 |
|
MD5 | 7e01af55ff3783688e27a7f508a3dc6a |
|
BLAKE2b-256 | b2a29adb76a0098928f6632247bb2f457a2f78513c2f5ca083be0ba4461b641b |
Hashes for nb2pb-0.1.11-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7c280eb649e8f29ef9f0cbe7a81094f89539fc9eb4c504f7e57b04b8b37489e |
|
MD5 | 184c9479acf3da5469380bb9220b4981 |
|
BLAKE2b-256 | cdbe7a49e3021665d5e78926891037cb8c1f345b190f7a2c95e5d5b669cfb7e8 |
Hashes for nb2pb-0.1.11-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 712bed0e1884aae668b308a194df35981d67fcf57e16445ac1604e39d2479601 |
|
MD5 | ca8e9e01732768fd1d8e2593605f1ac6 |
|
BLAKE2b-256 | c1b3e6cd60ac60775e775a02309ca2bdb6fbe87adc0a72bca55dbf9539701c99 |
Hashes for nb2pb-0.1.11-pp38-pypy38_pp73-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe5d3c756e671af8fdde0163c9facc4761f7cb602dae80578cc319d6febcad10 |
|
MD5 | 3aba87cfe76c8e16e72f3cb25bd33159 |
|
BLAKE2b-256 | 967e77f7aed105d84774a8c4b472edface25d802dd6381d65af85c106931cc06 |
Hashes for nb2pb-0.1.11-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51c7df80c05b3edaddd5800f3e58e55ab92785d48fa25d092d07529a59a03b92 |
|
MD5 | 08ab156b0cf2a2aa22aa58c30cdb1a37 |
|
BLAKE2b-256 | e5cf7ce069c7617540b7bcd40ef710dacd1147ba3cb69dccd0a868cbecfdefd3 |
Hashes for nb2pb-0.1.11-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 685fbfb51a47ba539547b3bf4917d6f37b58092acd6810df31e04b5c54b74081 |
|
MD5 | b1dfe19dd95f7ca1e2dfbc62f92a57ed |
|
BLAKE2b-256 | d6463515c165241324ec212f34de0f11310f575bde3aa74f71b7159fb48d0496 |
Hashes for nb2pb-0.1.11-pp37-pypy37_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55ea7b0315bb779d7fb529f17ef3ceb77008a36a0b643111140efc64a09ee32 |
|
MD5 | b2b8bc3863e7d918d81ee966d8b63fee |
|
BLAKE2b-256 | 2aa16186f52fd80aaa47abdaf53149f5c25c5ed1b078993fa04aab3411c5d4f3 |
Hashes for nb2pb-0.1.11-pp37-pypy37_pp73-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 437adda3b85e868c5323c3d14393a818a61111c01cac6b66b798439fdaf7d2e2 |
|
MD5 | dfbf3e93604e6c2bf88691bb703f1455 |
|
BLAKE2b-256 | 97f805b68b28b65461c12cdac9f0250d56d4d9861ccf381b8c186e4cddfd4508 |
Hashes for nb2pb-0.1.11-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a842d5ca8a64e07ceb697c9d7d33dc72e7ba0f4d786cff8c27c88c8dc7d67b90 |
|
MD5 | 393dbe54b02a2ff68fdb87de58aa0b06 |
|
BLAKE2b-256 | 6e2c8bb4698f2948a9fc991e7c1b9e91645a5414ef9615de0a660c10e709e236 |
Hashes for nb2pb-0.1.11-pp37-pypy37_pp73-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acf854153f5995097cd50f57ffa82bd36c81a011bd74016bb9b52aebdeef0e20 |
|
MD5 | afe6631f06a7db3994d14cdbb35e3fe6 |
|
BLAKE2b-256 | 2e2c1c9b2bab3be141ac04856ced46a3667154c6266d1b33f994f67fd90db425 |
Hashes for nb2pb-0.1.11-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc1660d2e3bd4d6277165d9081dfce134e9435b2f108c4ecd89a132eeefeff7d |
|
MD5 | 4ad539cf65165adc8ddfcae39db231fb |
|
BLAKE2b-256 | 24a2c217ba6d07af4f2b13d76054fc793adf55fff14f7d08c187862cc2c22ddf |
Hashes for nb2pb-0.1.11-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91f0f58c65ca639da9e6a5a9f94818288f36cb6bdb053bca26a0dcceececd018 |
|
MD5 | 46de1e8f744c88511c1455aa28a99a19 |
|
BLAKE2b-256 | 662e8ca4c5249afaef80a20ee220971a96184f3b58abcd0f8de2560230840350 |
Hashes for nb2pb-0.1.11-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07c91a981c3934ed569aa02535b601262f5dbc525a663ebfceef8337127e02c2 |
|
MD5 | 4009cf8aab98205ad51039f6c08d44bb |
|
BLAKE2b-256 | 75b2f37b3d90ab6e51ae7297a3e7e7d48515f103becd1eb9ed690a8ca9460a8c |
Hashes for nb2pb-0.1.11-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56986101a135c28349c2d7ea51ed2deafb5c536b34d773cede9e3112c414f6ae |
|
MD5 | 5e7479274230a4128a60132cef34fa67 |
|
BLAKE2b-256 | 814229e79c4971926ceacd4e52735088dc6a840b42193d42b952d187c22ebdc7 |
Hashes for nb2pb-0.1.11-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f438af3b9a7a4eb423dfb4e3ee17bd53d6870ce7fd56158a48d4cef1488f14ac |
|
MD5 | 4a18c3bbbc4bd3d33d7b123d930dd08c |
|
BLAKE2b-256 | a03781e76d0e37ec5de1e70806c0cfff23be6da9ee6c154f7cc440ef9d0bdfd6 |
Hashes for nb2pb-0.1.11-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cb0d8999e1c8006d126fabecf64a04db93905782f64974bf37f44a1d43cec00 |
|
MD5 | 9b09754cd5a0b99ab18750b223c5cafa |
|
BLAKE2b-256 | d1f2bb977fa80c7a209f8c9f58251bfe91dea9234f2ff5ddbf1b4b2397e5460f |
Hashes for nb2pb-0.1.11-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bb1cc6a3a3eecdf434823ce02054808f31a8e0403106eae04901852ce246f50 |
|
MD5 | de1eb86c455f29c1cb9a2a49898ce1fe |
|
BLAKE2b-256 | fda6a810b134ce431fa70ea012ff76050c3e30d542f4fa7b549f2d1bef7f34a8 |
Hashes for nb2pb-0.1.11-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eb590919322652c7e88e150d7e1d34aded6e728891319b81818d4c248985bf5 |
|
MD5 | f5cac26f171215c16fdc973df5f3bbca |
|
BLAKE2b-256 | c829f7713ae7ad8d777c71be63f36ac636f7d3cc8c9d167da5b075faf3c0e1fa |
Hashes for nb2pb-0.1.11-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d8d7f72bf1c77543bf7ea08fee3e1d83ace988986934759ac7da6526e4bb8b1 |
|
MD5 | cd3ace3d60ffac3b5306b91ab5189c44 |
|
BLAKE2b-256 | e42a660f15b0aa6efc8eb78650237447ee6a5402e8e8dbdd435a302fd5ff2cee |
Hashes for nb2pb-0.1.11-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42713e74c5a6fcdc68f7e1cd8ce8c89f4869895463a732ed041ac33fb42e7f85 |
|
MD5 | 8bf3b504db1fac52434845eeb4356687 |
|
BLAKE2b-256 | 42af73681a509b6ebc0b03fa07726129fb654948e1eb86fd65c2191dac121cac |
Hashes for nb2pb-0.1.11-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ff04ae87d546b9d3c3b4c6676698730995d56877ddfdc36dbcce12a8b097f5e |
|
MD5 | 5251a61c68ed4324b0ccd4d208f5cc61 |
|
BLAKE2b-256 | 9eebe2b2a82a318d447f8aaf3d552e6445d5fb258475626a749f18dd8ffa186b |
Hashes for nb2pb-0.1.11-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 468b7a481286653b4a24cdee4fc8e2fbcbcad9bc5ff232e6a51b0562d763e06e |
|
MD5 | fe0294e2c3c9ca3d733386e0d183cb0e |
|
BLAKE2b-256 | 6d9cf232da1718e2f43695aee85dea2b7a1e8ff34105fcf7949a4d619c0373fd |
Hashes for nb2pb-0.1.11-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb679417f050bd7681b658af9995be9e6468eb88db46f5db085a39137fe3a9e2 |
|
MD5 | 6bb91b96eaeba45e8de9cf86c3495e95 |
|
BLAKE2b-256 | cf374580ea7068a6e8da18c781290c01f6ac6d8472c57cfbb3645f05f6f8c305 |
Hashes for nb2pb-0.1.11-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d8947d3aa89a4829edd743374d6a83943e4bdb4fb0ca9a194b09148468dfd3d |
|
MD5 | 07c919cdba8ce0d0e21ef3d696d19acf |
|
BLAKE2b-256 | 17365122ba20d1bdacb2cbaa41b965ed6bbdb6bca6c8a29efa537c5c2a0c1459 |
Hashes for nb2pb-0.1.11-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb1d4a3a230bf4eff521a5d95967b1ac1de7e29cc4d40bbea66f3f9428be252b |
|
MD5 | cbbc540d34465f92593ec29c41a1ebe4 |
|
BLAKE2b-256 | 9a8fb1d5ba2c1e22b802c452c69248c1ae4ecfc7529a0b30d064b01c89b5c0d5 |
Hashes for nb2pb-0.1.11-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 063bf4ca968f89975098c06a2bbb5087ee90712d38f3dfe27603111cb8e839cf |
|
MD5 | 2890f82de6653401a72efc0356447d66 |
|
BLAKE2b-256 | 943469e6162cc5d76eaec38ec1d4c3d2b3c9caa58b4bd689ef468206f7145ef0 |
Hashes for nb2pb-0.1.11-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58ffd06d7a0fd587a496eb36981c27bc003d72ef9ceb8ba2c009ef1eed2b5fad |
|
MD5 | 57a8ec4beee344906e3a4f1b546e3a4d |
|
BLAKE2b-256 | dc15d70273bb6b0f632e5d1d06d452d1b0543890a1efa11c615c256ded87ceda |
Hashes for nb2pb-0.1.11-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8783d9b572e536995fc5a9c5f4cd3ed6d9dbc6b94a9de3d44dd29b16a099f8eb |
|
MD5 | a2491c9c2a5a61cfdadb2c9451c064d0 |
|
BLAKE2b-256 | bdb7d03090751ddb599b2f69346e816b719b80ea78d125357ee6575e12ff7a2e |
Hashes for nb2pb-0.1.11-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 007db88de215dd87e3e6228f002c0806a1135325a15daebf7462abb2256dfd45 |
|
MD5 | cdcb68ce077f46b02b2c4a8cc03f211e |
|
BLAKE2b-256 | 59bf2aad75302e3b30fc6db0f69557745d7bfa121083c04a92611fea3a178537 |
Hashes for nb2pb-0.1.11-cp38-cp38-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e762b329cd089c5a79cd8a740b1ab03d1c204fe8ffac937083de888ea8061d12 |
|
MD5 | 8206bd1c6cadd1c3748fab1ce232f307 |
|
BLAKE2b-256 | b91a43695ba3b4b86a2d6f4265a27304c5282c9ca83d5af0e7c493b3a7c2f263 |
Hashes for nb2pb-0.1.11-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 855b0ddd618ccc62da5e9f2a67efb1db27afa5abeeafb8ca8e2273dd90c38d47 |
|
MD5 | 16c4b2286f7d705cdb39f0acfc09816e |
|
BLAKE2b-256 | 27abdeb7abd60dc3355c6eea408620613b29a1a9fea532a766ba3d6654998068 |
Hashes for nb2pb-0.1.11-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264b8b2c42d6859766515bd4b3fb9fe18cae1f3af9f5be5552d9c284c4274484 |
|
MD5 | 7b721d34eed14093b74555efc35774b4 |
|
BLAKE2b-256 | a0de37eb217e586a3e8aa58a14228dfb8661ead53e960e3be40fb8eda497f112 |
Hashes for nb2pb-0.1.11-cp37-cp37m-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 995ee47fb1cff7b9e64dc1aee8009b92b30dc0049167d77fcdb436e5664fcd0d |
|
MD5 | dcdf7300d9d971232a8217e70fe4c3f5 |
|
BLAKE2b-256 | 3d6b8789a94362bc04f483e0c60922091ffe021a36bf3c61b2220b254cb3348b |
Hashes for nb2pb-0.1.11-cp37-cp37m-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb0b8e4b4fff5bae1ed546ebab1311060c45e15b6ac8f77e20ffd511d55e710 |
|
MD5 | ea2a0fae7e54dd1f92fb942f54f84790 |
|
BLAKE2b-256 | b8b64a62efdc3d952fd932f65d653a2a1e47b86ef1f24c1e893d17f1c6595f5a |