Cluster arbitrary records with field attribute keyword.
Project description
Lektor Plugin: groupby
A generic grouping / clustering plugin. Can be used for tagging or similar tasks. The grouping algorithm is performed once. Contrary to, at least, cubic runtime if doing the same with Pad queries.
Install this plugin or modify your Lektor project file:
lektor plugin add groupby
Optionally, enable a basic config:
[tags]
root = /
slug = tag/{key}.html
template = tag.html
split = ' '
Or dive into plugin development...
For usage examples, refer to the examples readme.
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
lektor-groupby-1.0.0.tar.gz
(17.6 kB
view details)
Built Distribution
File details
Details for the file lektor-groupby-1.0.0.tar.gz
.
File metadata
- Download URL: lektor-groupby-1.0.0.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 646179d2a22b7d46cba083b3c8b5ca72b81521ab20690e8f3b63cb9a49ff6f33 |
|
MD5 | 9d3ade4854843bc6f057682bd48dfd92 |
|
BLAKE2b-256 | efd1e9eb204acacf9892948fefa1a5eae43b49ba76b939f8f5f77171def3f0b1 |
File details
Details for the file lektor_groupby-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: lektor_groupby-1.0.0-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bf1f278d4fcb205881fd70eabec2ec1fb8e85a688c8aac2ad03e02168b48ed4 |
|
MD5 | a5461e558fa9b1f5ac7d5b1517c74b97 |
|
BLAKE2b-256 | e26692b86872f5525451e4715af0fed9cc82bff7cbdc530dd00e034c37fac267 |