sb3 parses SB3
Project description
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.
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 Distributions
Built Distribution
File details
Details for the file sb3-0.1-py3-none-any.whl
.
File metadata
- Download URL: sb3-0.1-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4a3dab653396e491daccb6cdd1127a60e42bc9905e7b05776cd03eed2c502648
|
|
MD5 |
eea939af311f182e6acfb436a23da40b
|
|
BLAKE2b-256 |
99e85ee3e8915ddf076c15d9e1c70483849bbfc8c6bb67ba8b7d87758e2ee066
|