Log viewer is now configurable. When importing logviewer, you can:
gramex init
now adds a .stylelintrc
file that checks for CSS issues. The .htmllintrc
file is also improved
Gramex now supports Tornado 5.0 on Python 3. Tornado 5.0 uses the native asyncio library. This meant re-writing some of Gramex’s internals.
There are still a few kinks to sort out, though.
gramex.yaml
supports an import.merge:
key that copy-pastes a configuration
in-place. This is mainly used when writing re-usable Gramex applications /
services. See merging variables.
CaptureHandler with Chrome respects proxy
environment variables. If your proxy IP is 10.20.30.40
on port 8000
, then set
ALL_PROXY
, HTTPS_PROXY
or HTTP_PROXY
to 10.20.30.40:8000
.
Gramex internals have a few important bug fixes.
sqlite
sessions to report errors on already purged keys. This is resolved.To upgrade Gramex, run:
pip install --verbose gramex==1.32
This downloads Chromium and other front-end dependencies. That may take time.