Create HTML files with embedded source code & images
Project description
Python tool for creating HTML specific layouts with source code files. Uses CSU images as the default. The source code is formatted with a javasript library to be ‘pretty’
Here are some examples (Im on OSX):
Create a 6 part assignment (very basic no source)
essahtmlgen –destination ~/Desktop –name bayleaf –id 2631542 –parts 6 –assignment 1
This will create ‘Assignment1’ on the desktop with 6 basic parts.
Create a the 3 part assignment 1 with a source
A source directory contains folders which will become named parts (as well as the .html versions). The files in each directory will be used to compose the specfic parts html file. Java code will turn into pretty embedded source code. Text code will turn into paragraph tags. Pictures will be copied, linked and embedded (.png / .jpg). There is no order right now so you may have to play around with it after but generally it follows the directory structure.
Create a source directory structured like this:
Assignment0Files ->
FirstPart ->
data.txt
JavaCode.java
screenshot.png
SecondPart ->
file.txt
essahtmlgen –destination ~/Desktop –name bayleaf –id 2631542 –parts 2 –assignment 1 –source /path/to/Assignment0Files
This will create ‘Assignment1’ on the desktop with two parts: FirstPart and SecondPart.
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
Built Distribution
Hashes for essahtmlgen-4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3944ac3cfa93435be937b095e374ba87589b18ec538d18762a0f37f624f98a7 |
|
MD5 | 7dd0b64947d754d76b5e8414cd09f99d |
|
BLAKE2b-256 | a70cb814fa43f4608df1a0344ebbb884661295e9b9cca0109d4b5479ff429ebc |