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

Uploaded Python 3

File details

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

File metadata

  • Download URL: generator3-0.0.8.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.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for generator3-0.0.8.tar.gz
Algorithm Hash digest
SHA256 dc0faf637e8a62338e6fde65478b729ff28d3bcc39d5abb50375bc07e72980af
MD5 0bc5d6f2453c95203369d0c67825bc4e
BLAKE2b-256 1130797139e7491c808c0a588050b8deb5113ba3fa485719b15942ad46c676a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: generator3-0.0.8-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.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for generator3-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c264c0d1044712a15981ecf90aa99444cc97cb7033008648318b74bb450c0fea
MD5 4729995549d81f6a9536ba5c94ca6539
BLAKE2b-256 97203fbedc168dc72c88ec8150455a1938633e93083d5d866828e1a09c67a5bc

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