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.1.0.tar.gz (3.9 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.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: generator3-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for generator3-0.1.0.tar.gz
Algorithm Hash digest
SHA256 26bd3af43a4e30893b8f16bfc2f88d282b631b9f58a1b9fc9f7af9c62996bd4e
MD5 37946d2625afaa0e9e22016f648c8ffd
BLAKE2b-256 0e631a1c7aefdf5105af19fcc1cce1ac712e09d47ffd3d09d1f351a5d9b2187a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: generator3-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for generator3-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1022fd26a8faf666119067efae0faee40027aec4bb8a69087a9938911de204de
MD5 6084c0367088aa56e908bddc7f39870a
BLAKE2b-256 453bee880c601d780098d4f00495bf97e57668c427f3161da9ac2da03767bb71

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