VSOT - Django/jinja template formatter
Project description
HTML Template formatter
Use VSOT to automatically format your django templates. No need to manually reflow text or tags when you add/remove content.
Free software: MIT license
Features
Mimics black in terms of options and configuration.
Automatically supports all built in django/jinja2 tags
Safe - VSOT ensures that it does not change the meaning of the templates
Installation
pip install vsot
Dev Setup
Requirements: - Python 3.6 or later - Docker - Python poetry (see poetry docs)
Clone repo
Installation
poetry install
Credits
A lot of the code for this was repurposed from black
Antlr4 is used for the parser, along with using the HTML parser from the antlr library as a starting point
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file vsot-0.1.4.tar.gz
.
File metadata
- Download URL: vsot-0.1.4.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.1 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2596454d3193b222f12c73a6dcff61a4359e4aabfed32adc0684e74347d05fb1 |
|
MD5 | fd68eedf07883d88584f98d2e4f05be0 |
|
BLAKE2b-256 | e05783a8a0b7e88a86ebabd42d2f66c2fdfc04aa1f1e6f4fd49a007d4c8b1041 |
File details
Details for the file vsot-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: vsot-0.1.4-py3-none-any.whl
- Upload date:
- Size: 38.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.1 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff2e24bd036cf58e808454ff7c6c82eb91ae3af04e2c19a9a69328e1f53143eb |
|
MD5 | a3ed2f04367d9611260a2abc12746392 |
|
BLAKE2b-256 | 2312de8634412729ba79442bd8cf4edd767bb819957660817c11a0ae32da2bd0 |