Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apple502j/sb3
sb3 parses SB3.
https://github.com/apple502j/sb3
parser parser-library scratch
Last synced: 3 months ago
JSON representation
sb3 parses SB3.
- Host: GitHub
- URL: https://github.com/apple502j/sb3
- Owner: apple502j
- License: gpl-3.0
- Created: 2019-09-17T02:54:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T21:23:02.000Z (over 4 years ago)
- Last Synced: 2024-10-11T01:49:34.575Z (4 months ago)
- Topics: parser, parser-library, scratch
- Language: Python
- Homepage: https://pypi.org/project/sb3/
- Size: 555 KB
- Stars: 10
- Watchers: 5
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:```py
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.