Skip to main content

An upgraded version of good ol' Eebuilder, a static site generator that 'converts' Python 3 code to HTML 5.

Project description

This project's name has been changed to Ebuilder

We have renamed Ebuilder Ultra to Ebuilder in preperation for our up coming web framework named Ebuilder Ultra. Don't wory thought, this repo isn't going anywhere!

Purpose

The purpose of this is to:
A) Give me a project to work on
B) Provide a simple static site generator using python

Installation

pip install Ebuilder

Simple Usage

This first simple example would create a .html file with a h1 tag, centered and gray.

from ebuilder.ebuilder_core import *

index = newpage('index')
title = header(index, "Hello GitHub!")
title.center()
title.color('gray')
index.commit()
from ebuilder.ebuilder_core import EbuilderTextComponent as etc

header_two = etc("h2")

This second simple example would create a new Text Component with the html tag h2 which for those of you unfamiliar with html is the second biggest size of text that is included without further styling (h1 being the first)

You can then call this like you would header, because they both use the EbuilderTextComponent class.

Note that if you only import EbuilderTextComponent you wont be able to access the other functions of Ebuilder Ultra, like making a new page, it is shown here because it is the most efficient way.

Advice Welcome

Feel free to dig through the source code and open Pull Requests and start issues, if you dig you'll see that EbuilderTextComponent has a bit of a weird implementation....

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

Ebuilder-0.2.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Ebuilder-0.2.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file Ebuilder-0.2.2.tar.gz.

File metadata

  • Download URL: Ebuilder-0.2.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for Ebuilder-0.2.2.tar.gz
Algorithm Hash digest
SHA256 65d5bcb1d4c5c205605eff69e85f6064a16b471adaba2d59a1489da3b77a30c0
MD5 31cc65498de63bf2ecda4e22142d868d
BLAKE2b-256 dc25a4c8e5b982b2bf0f9b8605fc697c2eae19afbf61e16abc9455541a3426c2

See more details on using hashes here.

File details

Details for the file Ebuilder-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: Ebuilder-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 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/45.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for Ebuilder-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a96e18b66ce1ea48d9f6526619f7949186cca3efe86e68799ece8de10bfab7b9
MD5 0336d1be59154963240e915917d11922
BLAKE2b-256 a1fd704b145ed6adb3cf715df33718d669e226a51d534e0f794d9de6cb9fb73d

See more details on using hashes here.

Supported by

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