eon.server

CPython AKMC / server dispatcher.

Entry points: python -m eon.server python -m eon eon-server (console script → eon.server:main)

Module Contents

Functions

select_job_runner

Return the registered server runner for job, or None for fallback.

server

Initialize config and dispatch to the configured main job.

main

Console-script entry point for eon-server.

API

eon.server.select_job_runner(job: str) Optional[Callable[[eon.config.ConfigClass], None]][source]

Return the registered server runner for job, or None for fallback.

Job modules are imported lazily so import eon.server stays light and does not require the full AKMC stack until a job is actually selected.

eon.server.server(config: eon.config.ConfigClass | None = None) None[source]

Initialize config and dispatch to the configured main job.

config defaults to the process-edge module singleton for CLI compatibility; callers should prefer constructing ConfigClass() and passing it explicitly.

eon.server.main() None[source]

Console-script entry point for eon-server.