Skip to main content

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)

Source distribution for pelican-gesetze 0.1.0
File Size Uploaded
pelican-gesetze-0.1.0.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pelican-gesetze 0.1.0
File Interpreter ABI Platform
pelican_gesetze-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page