Skip to content

A blocks-based environment for introductory programming in Python

License

Notifications You must be signed in to change notification settings

roberttootill98/PyBlocks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyBlocks

PyBlocks is a project aimed at developing a blocks-based environment for introductory programming in Python. The core of the design is described in the paper Design of a blocks-based environment for introductory programming in Python, Blocks and Beyond - Lessons and Directions for First Programming Environments, 22 Oct 2015, Atlanta, GA.

Installation

  1. Go to Google App Engine and create an App Engine application.
  2. Modify the 'app.yaml' file found in the 'appengine' folder according to the application you created in step 1.
  3. For Windows: Download the Google App Engine SDK for Python and access your app through the GUI application.
  4. For *nix: Download the Google Cloud SDK. Either install it manually or through your package manager. Run 'gcloud init' to initialise your SDK, including logging into and allowing access to your Google Cloud platform. For full installation instructions, refer to the Google Cloud SDK Quickstart for Linux page.

Usage

To run on Windows, simply open the Google App Engine application and add your project, then either run it locally or deploy it.

To run the app locally on *nix, run the 'dev_appserver.py' program, passing your 'appengine' folder as a parameter. (e.g.: '/opt/google_appengine/dev_appserver.py ~/git/PyBlocks/appengine/')

To deploy the app on *nix, run 'gcloud app deploy <path_to_app.yaml>. Please note that gcloud must be initialised according to the installation instructions prior to deployment.

If run locally, PythonBlocks can be accessed through 'localhost:8080'. Saving/loading of programs does not work locally. To access PythonBlocks after deployment on the Google App Engine platform, refer to your individual details as setup in step 1 of the installation instructions.

The latest release can be accessed via the official PythonBlocks website.

Credit

Blockly

Skulpt

Google Drive API

Google Cloud/App Engine

Nivardus' Promise-based Google Picker API wrapper

Contributors

Dr. Matthew Poole

Josef Abbasikadijani

License

Apache License v2.0

About

A blocks-based environment for introductory programming in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 93.1%
  • HTML 5.9%
  • Python 0.5%
  • CSS 0.5%
  • Shell 0.0%
  • Emacs Lisp 0.0%