Skip to main content

sb3 - sb3 parses SB3

Hm, what on earth is sb3?

I should have said that people using the library should know what SB3 is... well, you guessed it. It's a file extension for Scratch 3.0 Projects. sb3 is a parser for SB3 files. (Also, we have SPRITE3 parser.)

How do I use it?

Import, open, and try. Example:

import sb3
project, assets = sb3.open_sb3("my_game.sb3") # project is a ProjectJSON object, assets is ZipFile.ZipExtFile
print(f"Hmm, I guessed you like the browser with UA {project.meta.user_agent}...")
print(f"What? You use {' extension, '.join(project.extensions)}!?")

There is no documentation as of now. But maybe you can check the testcase code and the source code!

Hmm, can I use it?

All people, cats and other cute animals with Python 3.6 or above can use this library. If you are not cute but want to use this, try sb3.cute().

Who made it?

A person named apple502j, with a secretary kenny2github (who invented GenericData class).

May I contribute?

Of course under GPL! Feel free to submit issues and PRs. If you have a bug, make sure to submit the SB3 file with the issue.

Release files for sb3 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for sb3 0.1
File Interpreter ABI Platform
sb3-0.1-py3-none-any.whl Python 3 none any Details

Release files / sb3-0.1-py3-none-any.whl

Download URL sb3-0.1-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a3dab653396e491daccb6cdd1127a60e42bc9905e7b05776cd03eed2c502648
BLAKE2b-256 checksum
How to use checksums
99e85ee3e8915ddf076c15d9e1c70483849bbfc8c6bb67ba8b7d87758e2ee066
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.4

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page