AutoLoader
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).
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| minchin_pelican_plugins_autoloader-1.2.4.tar.gz | 8.7 kB | Without provenance | Details for minchin_pelican_plugins_autoloader-1.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| minchin_pelican_plugins_autoloader-1.2.4-py3-none-any.whl | Python 3 | none | any | Details for minchin_pelican_plugins_autoloader-1.2.4-py3-none-any.whl |
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
|
Security for minchin.pelican.plugins.autoloader 1.2.4
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.