sbeditor
A parser for all things sb3 (and sprite3), created by faretek1
Lets you read and write sb3 files!
This is a very much work-in-progress project but the underlying functionality is complete. Currently adding a ton of
classes to sbuild.py so that you don't need to remember/look up block opcodes/input names
Features
- An object-oriented format for a sb3 or sprite3 file (Project, Target, Block, etc.)
- Supports writing Scratch code
- Allows for easy creation of hacked scripts
- And so much more (as well as so much more to come)
Installing
You can install sbeditor using pip:
pip install sbeditor
Documentation
Unfortunately, there is not yet any documentation. However, it is planned.
Helpful resources
Example code
from sbeditor import *
# pip install printbeautifully
from beautifulprint import bprint
proj = Project.from_sb3("Project.sb3")
block = proj.stage.get_blocks_by_opcode("event_whenflagclicked")[0]
bprint(block.subtree)
proj.save_json()
Metadata
Release files for sbeditor 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sbeditor-0.0.4.tar.gz | 25.1 kB | Without provenance | Details for sbeditor-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sbeditor-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for sbeditor-0.0.4-py3-none-any.whl |
Total release size: 49.6 kB
Release files / sbeditor-0.0.4.tar.gz
| Download URL | sbeditor-0.0.4.tar.gz |
|---|---|
| Size | 25.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6708449ad70d64b9430f9f914394c797bd74189145fc242de08e33a9da69be24
|
|
BLAKE2b-256 checksum How to use checksums |
f982aec8937c5657b5ccd30599cad1a63783a7f00177db48769c1a252985e692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / sbeditor-0.0.4-py3-none-any.whl
| Download URL | sbeditor-0.0.4-py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99706c6d35aa85da052f5cf2725f844400f11fbfa5de8d91ed850faadcaf0093
|
|
BLAKE2b-256 checksum How to use checksums |
1787166ba557765cb2c76fb1498333a22a498958dba8bd390c18e098689abe1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for sbeditor 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.