Skip to main content

AutoLoader is a plugin for Pelican, a static site generator written in Python.

AutoLoader is designed to autoload the other Pelican plugins in my namespaces (minchin.pelican.plugins and minchin.pelican.readers). It can also be extended to autoload plugins in other namespaces, for example, to autoload the pelican.plugins namespace on versions of Pelican before 4.5 (when autoloading to those plugins was added to the Pelican core).

PyPI version number Changelog Supported Python version License Download Count

Installation

The easiest way to install AutoLoader is through the use of pip. This will also install the required dependencies automatically.

pip install minchin.pelican.plugins.autoloader

Further configuration will depend on the version of Pelican you are running. On version 4.5 or newer and you haven’t defined PLUGINS in your pelicanconf.py, nothing more in needed. On earlier versions of Pelican, or if you’ve defined PLUGINS, you’ll need to add the autoloader to your list of plugins in your pelicanconf.py file:

# pelicanconf.py

PLUGINS = [
    # ...
    'minchin.pelican.plugins.autoloader',
    # ...
]

If you want to auto-load additional namespaces, you’ll need to define the AUTOLOADER_NAMESPACES variable in your pelicanconf.py file:

# pelicanconf.py

from minchin.pelican.plugins import autoloader

AUTOLOADER_NAMESPACES = autoloader.DEFAULT_NAMESPACE_LIST + [
    "pelican.plugins",
    # other namespaces
]

If you need to disallow auto-loading of certain plugins, you’ll need to define the AUTOLOADER_PLUGIN_BLACKLIST variable in your pelicanconf.py file. This only works when autoloading from defined namespaces. E.g.:

# pelicanconf.py

from minchin.pelican.plugins import autoloader

AUTOLOADER_PLUGIN_BLACKLIST = autoloader.DEFAULT_PLUGIN_BLACKLIST + [
    "pelican.plugins.misbehaving_plugin",
    # other plugins
]

Usage Notes

  • the plugins loaded by this plugin will not be shown when you run pelican-plugins

Metadata

Release files for minchin.pelican.plugins.autoloader 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minchin.pelican.plugins.autoloader 1.2.4
File Size Uploaded
minchin_pelican_plugins_autoloader-1.2.4.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for minchin.pelican.plugins.autoloader 1.2.4
File Interpreter ABI Platform
minchin_pelican_plugins_autoloader-1.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / minchin_pelican_plugins_autoloader-1.2.4.tar.gz

Download URL minchin_pelican_plugins_autoloader-1.2.4.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f4d6c636d1b119eb7ec1ef2b214e3db61562431126a220a0f1c6eb026c1dde0a
BLAKE2b-256 checksum
How to use checksums
0b18a1c7fea55f41f4a5b712c16421eac73b282fada7ee7ad9f412008386d397
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / minchin_pelican_plugins_autoloader-1.2.4-py3-none-any.whl

Download URL minchin_pelican_plugins_autoloader-1.2.4-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53303030ece90092f3dcdb06c69ef4a8f7b2d2f91c4ce7d2de46118c1f99bfcd
BLAKE2b-256 checksum
How to use checksums
0f9016f044d1b3d6da7d3b238e09972dbe4b61753784ca9645344c378e5bd0fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

1.2.4 This release

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

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