Skip to main content

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

essahtmlgen-4.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

essahtmlgen-4.3-py3-none-any.whl (730.3 kB view details)

Uploaded Python 3

File details

Details for the file essahtmlgen-4.3.tar.gz.

File metadata

  • Download URL: essahtmlgen-4.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.3

File hashes

Hashes for essahtmlgen-4.3.tar.gz
Algorithm Hash digest
SHA256 ccec268f97400d8b3e5d7794646e7c2f3c057430c516605280f8fff37d2fe360
MD5 46e0cce4c69226f7c1f42c6393ac8d25
BLAKE2b-256 39b6c8422f48febd7a32059e6986afd4f00a3b90db07ca567a63ab4ed2f14fc6

See more details on using hashes here.

File details

Details for the file essahtmlgen-4.3-py3-none-any.whl.

File metadata

  • Download URL: essahtmlgen-4.3-py3-none-any.whl
  • Upload date:
  • Size: 730.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.3

File hashes

Hashes for essahtmlgen-4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f3944ac3cfa93435be937b095e374ba87589b18ec538d18762a0f37f624f98a7
MD5 7dd0b64947d754d76b5e8414cd09f99d
BLAKE2b-256 a70cb814fa43f4608df1a0344ebbb884661295e9b9cca0109d4b5479ff429ebc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page