Skip to main content

Parse Scratch's large project JSONs and convert them to scratchblocks notation

Project description

generator3

generator3 is a Python package to export Scratch sprite scripts to the well known scratchblocks syntax.

Installation

$ python3 -m pip install generator3

or manually (not recommended):

$ git clone https://github.com/themysticsavages/generator3
$ cd generator3
$ python3 setup.py install

Usage

import generator3
# Converts to scratchblocks and puts each sprites' scripts in a HTML file
generator3.Generator(pid).toBlocks()
# Serve the generated HTML
generator3.serveHTML()

This is still in progress so not every block will be rendered!
Made with ❤️ by themysticsavages

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

generator3-0.0.85.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

generator3-0.0.85-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file generator3-0.0.85.tar.gz.

File metadata

  • Download URL: generator3-0.0.85.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for generator3-0.0.85.tar.gz
Algorithm Hash digest
SHA256 92f8cfa9fd80522fec04689beac2367a4ff27ca2027ef41016c015c15795ad3e
MD5 4cec22c4939c32e82de4e271aaad824d
BLAKE2b-256 52cac71651af6fcce106154c7ba3c305040c4fe74af4702c9cd80220ebe8f1e2

See more details on using hashes here.

File details

Details for the file generator3-0.0.85-py3-none-any.whl.

File metadata

  • Download URL: generator3-0.0.85-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for generator3-0.0.85-py3-none-any.whl
Algorithm Hash digest
SHA256 236e9906f644ccc01063f8dcbd654828dd85b14ed729bb52b70546ca358bbe1b
MD5 efb588c5323c2ac0b81943e4d4877213
BLAKE2b-256 b650ff56648449fb17286cc0a17aac00b9fab474345bb088407976d54439ea72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page