Skip to main content

Overview

execlib is a lightweight multi-threaded job framework written in Python. It implements a simple event-based model over core Python utilities like ThreadPoolExecutor to facilitate reactivity and manage concurrent responses.

There are a few top-level classes exposed by the package:

  • Router: Central event routing object. Routers facilitate route registration, allowing for pattern-based matching of events to arbitrary callback functions. For example, you could have a function that converts a PDF file to a collection images (callback), and want this function to be called for a new files (event) that match the glob *.pdf (pattern).
  • Listener: Connective event listening object, often created directly by router instances. Listeners pay attention to events arising along registered routes of an affiliated router, passing them through (after optional delays, debouncing, filtering, etc). In the above example, the associated Listener instance might wrap a tool like iNotify to dynamically respond to file events.
  • Server: Long-running process manager for listeners and optional live-reloading via HTTP. Interfaces with listener start() and shutdown() for graceful interruption.

Metadata

Release files for execlib 0.4.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 execlib 0.4.4
File Size Uploaded
execlib-0.4.4.tar.gz 39.1 kB Details

Built distribution (wheel)

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

Total release size: 79.4 kB

Release files / execlib-0.4.4.tar.gz

Download URL execlib-0.4.4.tar.gz
Size 39.1 kB
Tags Source
SHA-256 checksum
How to use checksums
62a6af4118f303c9bb73684d1667febda6b89dcf76a7be2a971ece23c9efa26f
BLAKE2b-256 checksum
How to use checksums
9eb9e89a21c22ba70975b9bc01292a1197e975c7c28535deab672ce54cf3fde7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / execlib-0.4.4-py3-none-any.whl

Download URL execlib-0.4.4-py3-none-any.whl
Size 40.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5dc74b610527867953cd5d55d515931767baf51f4bdf4f72fdd07dbc8ae15635
BLAKE2b-256 checksum
How to use checksums
6e4da1670e60d2c0a5ad10a2b49f33189f1c2363b2236b55e1f3df2b55d01283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.4.4 This release

2 release files

0.4.3

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