Pelican plugin for py-gesetze
pelican-gesetze links german legal norms, dependency-free & GDPR-friendly.
Installation
It's available from PyPi using a package manager of your choice:
# Using 'pip'
pip install pelican-gesetze
# Using 'poetry'
poetry add pelican-gesetze
Getting started
Using pelican-gesetze is straightforward: After installing it, the jinja filter gesetzify is available:
<p class="content">
{{ page.content | gesetzify }}
</p>
Configuration
The following settings need to be prepended by GESETZE_ to work, eg for enabling full title attributes, define GESETZE_TITLE_ATTRIBUTE = 'full' in your settings (most likely pelicanconf.py).
| Setting | Type | Default | Description |
|---|---|---|---|
DRIVER_ORDER |
`list | str` | ['gesetze', 'dejure', 'buzer', 'lexparency'] |
TITLE_ATTRIBUTE |
`str | False` | False |
CUSTOM_ATTRIBUTES |
dict |
{"target": "_blank"} |
Defines HTML attribute defaults |
For more information, see here.
Roadmap
- Update
README.md - Add tests
Metadata
Release files for pelican-gesetze 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pelican-gesetze-0.1.0.tar.gz | 15.7 kB | Without provenance | Details for pelican-gesetze-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pelican_gesetze-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pelican_gesetze-0.1.0-py3-none-any.whl |
Total release size: 31.0 kB
Release files / pelican-gesetze-0.1.0.tar.gz
| Download URL | pelican-gesetze-0.1.0.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf1081f050918a3583a69b1cad0dce1087fe46f23141943a5cb9425276efa3ef
|
|
BLAKE2b-256 checksum How to use checksums |
1a19ea9ffc2c97a6b1391a7b8bf8d4e85af5f8de600529abbadeae39c83dab2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.4 Linux/5.19.0-76051900-generic
|
Release files / pelican_gesetze-0.1.0-py3-none-any.whl
| Download URL | pelican_gesetze-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d19d6a174c6874b11b4a2941e23ff133abee4bc1ce508660afe613aff3fac79
|
|
BLAKE2b-256 checksum How to use checksums |
b6e8a73a9771c6e92c2578250285bff508988664d2ce2d8f4518df23ae4211f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.4 Linux/5.19.0-76051900-generic
|
Security for pelican-gesetze 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.