Skip to main content

Simple python templating engine for html

Project description

effortlessHTML

Python version

Make sure you're running python 3.11.x

python3 --version

or

python3.11 --version

Install poetry

curl -sSL https://install.python-poetry.org | python3 -

please refer official doc on how to install if the above doesn't work

Verify and update

poetry --version

sudo poetry self update

Zsh auto completion

poetry completions zsh > ~/.zfunc/_poetry

Set python version for poetry to use

poetry env use python3.11
poetry env info
poetry env info --path

Set up env

Install dependencies

To install dependencies and setup the project run make setup

Useful git hook commands

This commands adds a pre-commit hook that checks for format and lint and adds a pre-push hook that checks for failing tests and type-checks

make git-hooks

NOTE: These commands are added automatically via the setup command, you don't need to run them unless a change has been made to the hook files located in git_hooks/ directory

Run Tests

make test

To run test and clean test cache files, compiled python files, coverage files etc

make clean-test

pypi package

Increment version

Depending on the type of change use appropriate command

poetry version major
poetry version minor
poetry version patch
poetry version prepatch

See poetry version command reference for more info

Build a local package

make package

Build and upload package to test pypi for testing

make upload-test

Build and upload to pypi

make upload

NOTE: If upload-test or upload results in an error saying 400 File already exists You probably need to increment the version string in pyproject.toml file

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

effortlesshtml-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

effortlesshtml-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file effortlesshtml-0.1.1.tar.gz.

File metadata

  • Download URL: effortlesshtml-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for effortlesshtml-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5f4205e9e8af3cde1fac07a6cf41af5928a19e8f43007b3c5245e7ef0e3baba6
MD5 2dce37a3223a5936e502151426e4cc10
BLAKE2b-256 c330ebaeb84df2c18233bf6cb33ac976643d4fe0ad12de7b6676b09c62d74301

See more details on using hashes here.

File details

Details for the file effortlesshtml-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: effortlesshtml-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for effortlesshtml-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 deab7a6d8d83f4be7b3e7ee68264e530c4f9c62dfe4c498c20b5a69148929743
MD5 8363f246fff2db765f1cb3a272821fc9
BLAKE2b-256 132aa1ce1b195535a86458922f63154eb9db9966e318a9d10efa8d0046ab584c

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