Skip to main content

Pelican Metadata Generator

Graphical application that creates Pelican post metadata. Written in Python 3.x and Qt 5.x (PyQt). Works on Linux, Windows and Mac.

Sample screenshot

Rationale

Pelican is static website generator that does not provide any way of accessing existing content at new page creation. Simple typo in category name or tag name will create spurious entity that you might not catch in time and push to live site.

This application tries to prevent these mistakes from happening by exposing existing Pelican data in graphical user interface. Re-using previous name is as easy as picking it up from GUI. Creation of new categories or tags must be opted-in.

Added value is that slug will be generated automatically from post title and will serve as post file name, if you decide to save data on disk.

Dependencies

Installation

This application is now published on PyPI. You can install it using pip:

pip install pelican-metadata-generator

I recommend using pipx for automatic management of isolated virtual environments:

pipx install pelican-metadata-generator

Installation (Windows)

  • Download and install Python 3 Miniconda from https://conda.io/miniconda.html
  • Open command prompt (cmd.exe) and run following commands: conda create -n pmg python=3 activate pmg pip install pelican-metadata-generator

To run application:

  • Open command prompt (cmd.exe)
  • Run activate pmg
  • Run pelican-metadata-generator -d <path_to_pelican_content_dir>

Adding to menu (Linux only)

Copy pelican-metadata-generator.desktop file into $HOME/.local/share/applications/. If you haven't put executable somewhere in $PATH, modify Exec= line to include absolute path. You probably also want to specify location of your Pelican content.

If you want your menu entry to have an icon, first you must obtain it. There don't seem to be any "official" icon in Pelican sources. Personally, I have used image from @getpelican Twitter account. Then, modify Icon= line to provide absolute path to icon on your disk.

You might need to refresh menu database for your desktop environment to pick up changes. KDE SC 4 users may use kbuildsycoca4.

Copying

Distributed under GNU AGPLv3, the same as Pelican. See LICENSE file.

Release files for pelican-metadata-generator 0.2.1

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-metadata-generator 0.2.1
File Size Uploaded
pelican_metadata_generator-0.2.1.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pelican-metadata-generator 0.2.1
File Interpreter ABI Platform
pelican_metadata_generator-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 48.1 kB

Release files / pelican_metadata_generator-0.2.1.tar.gz

Download URL pelican_metadata_generator-0.2.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d6ef1334b8f1fbb15ed6087a3d3d5d8190814461f18e5f6bbf02b4771e6c482c
BLAKE2b-256 checksum
How to use checksums
9740ccb70fa76a9d38c5e645ce09a945240cb9ae69dbe01ecd49a747e649c081
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.8 Linux/6.12.6-amd64

Release files / pelican_metadata_generator-0.2.1-py3-none-any.whl

Download URL pelican_metadata_generator-0.2.1-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dde18a4b3295cb008415bc9c98394589cdc8dcafd4a6b462228ae9569ef62039
BLAKE2b-256 checksum
How to use checksums
236c9dcf7ca1245db98085fdc37b01c7c24cec94a842e5bfd5d95a46f1d881b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.8 Linux/6.12.6-amd64

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

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