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.9.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.0.9-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: generator3-0.0.9.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.0.9.tar.gz
Algorithm Hash digest
SHA256 226ae12ee482d5400afb80852be98f81a4c301542dce57af705feb7cf98a22c4
MD5 f2758bc51fd92fd04603167f6af2f8f4
BLAKE2b-256 6171f0c8f71b2e6db6d4c8e9b44c803dae8bd9dfc462cfa34e5de5144f9b3b4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: generator3-0.0.9-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.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bee07431f230a227583f180e8f379448e8777c5962ccf8540811e9880e3221d2
MD5 d7c9eee8e73f2a848734eff61110afc1
BLAKE2b-256 83df588ee90563835a700898856cd5f137099ec00fde28aad134ad15d9980e91

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