Skip to main content

skeletonize

Handles skeletonization and deskeletonizaiton of programs. This allows for easily distributing assignments to students that contain skeleton code, and determining which parts of the skeleton they filled in after the fact, extracting blanks.

skeletonization

Skeletonization works by taking in a piece of code with "skeleton markers" as so:

def factorial(x):
    if <<<x == 0>>>:
        return <<<1>>>
    else:
        return <<<x>>> * <<<factorial(x - 1)>>>

and converting it into either a skeleton

def factorial(x):
    if ______:
        return ______
    else:
        return ______ * ______

or a solution

def factorial(x):
    if x == 0:
        return 1
    else:
        return x * factorial(x - 1)

reskeletonization

Reskeletonization works by taking a skeleton:

def factorial(x):
    if <<<x == 0>>>:
        return <<<1>>>
    else:
        return <<<x>>> * <<<factorial(x - 1)>>>

and a student solution:

def factorial(x):
    if not x:
        return 1
    else:
        return x * factorial(x)

and produces a reskeletonized program

def factorial(x):
    if <<<not x>>>:
        return <<<1>>>
    else:
        return <<<x>>> * <<<factorial(x)>>>

Release files for skeletonize 2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skeletonize 2.8
File Size Uploaded
skeletonize-2.8.tar.gz 6.0 kB Details

Release files / skeletonize-2.8.tar.gz

Download URL skeletonize-2.8.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
662ea8b56e2505cfb19f4733c1a8709f87fa10104e3ac4ee5529b2abcef2329c
BLAKE2b-256 checksum
How to use checksums
4b608809ccbb04e816f8ea18b4172bfe907a8144918ca05a4a4b648180a6ff51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

2.8 This release

1 release file

2.7

1 release file

2.6

1 release file

2.5

1 release file

2.4

1 release file

2.3

1 release file

2.2

1 release file

2.1

1 release file

2.0

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page