execlib


Nameexeclib JSON
Version 0.4.4 PyPI version JSON
download
home_pageNone
SummaryLightweight multi-threaded job framework
upload_time2024-05-15 05:06:22
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseNone
keywords concurrent async inotify
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "execlib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "concurrent, async, inotify",
    "author": null,
    "author_email": "Sam Griesemer <samgriesemer+git@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/9e/b9/e89a21c22ba70975b9bc01292a1197e975c7c28535deab672ce54cf3fde7/execlib-0.4.4.tar.gz",
    "platform": null,
    "description": "# Overview\n`execlib` is a lightweight multi-threaded job framework written in Python. It implements a\nsimple event-based model over core Python utilities like `ThreadPoolExecutor` to\nfacilitate reactivity and manage concurrent responses.\n\nThere are a few top-level classes exposed by the package:\n\n- **Router**: Central event routing object. Routers facilitate route registration,\n  allowing for _pattern_-based matching of _events_ to arbitrary _callback_ functions. For\n  example, you could have a function that converts a PDF file to a collection images\n  (_callback_), and want this function to be called for a new files (_event_) that match\n  the glob `*.pdf` (_pattern_).\n- **Listener**: Connective event listening object, often created directly by router\n  instances. Listeners pay attention to events arising along registered routes of an\n  affiliated router, passing them through (after optional delays, debouncing, filtering,\n  etc). In the above example, the associated `Listener` instance might wrap a tool like\n  iNotify to dynamically respond to file events.\n- **Server**: Long-running process manager for listeners and optional live-reloading via\n  HTTP. Interfaces with listener `start()` and `shutdown()` for graceful interruption.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Lightweight multi-threaded job framework",
    "version": "0.4.4",
    "project_urls": {
        "Documentation": "https://doc.olog.io/execlib",
        "Homepage": "https://doc.olog.io/execlib",
        "Issues": "https://git.olog.io/olog/execlib/issues",
        "Repository": "https://git.olog.io/olog/execlib"
    },
    "split_keywords": [
        "concurrent",
        " async",
        " inotify"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e4da1670e60d2c0a5ad10a2b49f33189f1c2363b2236b55e1f3df2b55d01283",
                "md5": "67d42546849212faf33a717f647e9c89",
                "sha256": "5dc74b610527867953cd5d55d515931767baf51f4bdf4f72fdd07dbc8ae15635"
            },
            "downloads": -1,
            "filename": "execlib-0.4.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "67d42546849212faf33a717f647e9c89",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 40289,
            "upload_time": "2024-05-15T05:06:21",
            "upload_time_iso_8601": "2024-05-15T05:06:21.006195Z",
            "url": "https://files.pythonhosted.org/packages/6e/4d/a1670e60d2c0a5ad10a2b49f33189f1c2363b2236b55e1f3df2b55d01283/execlib-0.4.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9eb9e89a21c22ba70975b9bc01292a1197e975c7c28535deab672ce54cf3fde7",
                "md5": "f448d28b4752613a9b0b27d50204fb2e",
                "sha256": "62a6af4118f303c9bb73684d1667febda6b89dcf76a7be2a971ece23c9efa26f"
            },
            "downloads": -1,
            "filename": "execlib-0.4.4.tar.gz",
            "has_sig": false,
            "md5_digest": "f448d28b4752613a9b0b27d50204fb2e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 39118,
            "upload_time": "2024-05-15T05:06:22",
            "upload_time_iso_8601": "2024-05-15T05:06:22.187487Z",
            "url": "https://files.pythonhosted.org/packages/9e/b9/e89a21c22ba70975b9bc01292a1197e975c7c28535deab672ce54cf3fde7/execlib-0.4.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-15 05:06:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "execlib"
}
        
Elapsed time: 0.23182s