Giter Site home page Giter Site logo

wild-storm's Introduction

Wild Storm

A lab creation framework written in Python, designed to be simple and scalable for teacher assignment creation / student assignment completion.

How to use

Simply run the wild-storm.py script directly, ensuring the required subdirectories are accessible.

python wild-storm.py

By default, the script will prompt the user to select which lab they want to do. To skip this menu and run labs directly, pass the filename of the lab as an argument. For example, to load the Decimal to Binary lab (included with this software), you would run:

python wild-storm.py dec2bin.py

Requires Python 3.8 or higher.

Documentation

Labs are very simple to create. All lab scripts follow 3 simple guidelines:

  1. All labs must have a class that matches the file name exactly. The next two guidelines must be within this class.
  2. All lab classes must have a lab_data function that returns a title and author value.
  3. All lab classes must have a lab function. This function is what runs when the lab is loaded.

Following these guidelines should result in a file that looks like this:

# myepiclab.py

class myepiclab(object):
    def lab_data(self):
        title = "My Epic Lab"
        author = "mpxf"
        return title, author
    
    def lab(self):
        <lab code here>

<other classes / imports can be placed outside of the main class>

Minor update.

wild-storm's People

Contributors

89mpxf avatar mrglockenspiel avatar scohmer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

89mpxf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.