Skip to main content

Hooktopus

made-with-python GitHub license

Need a lightweight way to discover plugins without hardcoding imports?

Hooktopus is a tiny Python library for loading extensions from Python entry points. It keeps the API small, dependency-free, and easy to plug into your application.

Quick example

from hooktopus import plugins

for plugin in plugins("myapp.plugins"):
    instance = plugin()
    instance.run()

What it does

  • Finds entry points registered under one or more groups
  • Loads plugins lazily
  • Keeps your app extensible without extra machinery

Install

pip install hooktopus

Metadata

Release files for hooktopus 1.0.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 hooktopus 1.0.0
File Size Uploaded
hooktopus-1.0.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hooktopus 1.0.0
File Interpreter ABI Platform
hooktopus-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / hooktopus-1.0.0.tar.gz

Download URL hooktopus-1.0.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0b933a6a3c3ecfd508a67b04d47ea763f18a0d50cc452614536d026c3096982b
BLAKE2b-256 checksum
How to use checksums
f79d888b64b7bb085d4c3c705d6e5b1f1dce2fdaa2b606aa2fc050ad166ed670
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release files / hooktopus-1.0.0-py3-none-any.whl

Download URL hooktopus-1.0.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fb2c2a7f9b7776c5f645ca578241bfb7380e671535868344a44eaf14c8e6585
BLAKE2b-256 checksum
How to use checksums
b454d3fe1c3082f850cd624435296cb06faf94ec8662661b663bd90a793cc82f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.0.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