clean up repo files, README, auxiliary files (pre-BFG)

This commit is contained in:
Sam G. 2024-05-14 15:49:23 -07:00
parent aab101bd1c
commit 61ff43722f
6 changed files with 43 additions and 11 deletions

5
.gitignore vendored
View File

@ -4,6 +4,7 @@ __pycache__/
*.egg-info/ *.egg-info/
.ipynb_checkpoints/ .ipynb_checkpoints/
.python-version .python-version
.pytest_cache
# vendor and build files # vendor and build files
dist/ dist/
@ -11,3 +12,7 @@ build/
docs/_autoref/ docs/_autoref/
docs/_autosummary/ docs/_autosummary/
docs/_build/ docs/_build/
# local
notebooks/
/Makefile

View File

@ -1,7 +1,19 @@
# Overview # Overview
`execlog` is a lightweight multi-threaded job framework `execlog` 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.
- **Handler**: live-reload handshake manager for connecting pages There are a few top-level classes exposed by the package:
- **Listener**:
- **Router** - **Router**: Central event routing object. Routers facilitate route registration,
- **Server**: 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.

20
docs/Makefile Normal file
View File

@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

View File

@ -1,5 +1,4 @@
''' '''
See also: See also:
- https://inotify-simple.readthedocs.io/en/latest/#gracefully-exit-a-blocking-read - https://inotify-simple.readthedocs.io/en/latest/#gracefully-exit-a-blocking-read

View File

@ -1,5 +1 @@
'''
Thing
'''
from execlog.listeners.path import PathListener from execlog.listeners.path import PathListener

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "execlog" name = "execlog"
version = "0.1.1" version = "0.4.1"
authors = [ authors = [
{ name="Sam Griesemer", email="samgriesemer@gmail.com" }, { name="Sam Griesemer", email="samgriesemer@gmail.com" },
] ]