Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

evented

Latest version: v1.2.1

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: phil65
2 Stars
1 Forks
2 Versions
3.7K Downloads
Python Repo language

Scan summary

evented was last scanned on 25 Nov 2026 at version 1.2.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published within 4 days (22–25 Nov 2026).
  • Findings: No rules fired in version 1.2.1.
  • Downloads: 3,651 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.2.1 LATEST 25 Nov 2026 No rules fired
1.2.0 22 Nov 2026 No rules fired

No rules fired in 1.2.1

Findings

Findings for v1.2.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.2.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Evented

PyPI License Package status Monthly downloads Distribution format Wheel availability Python version Implementation Releases Github Contributors Github Forks Github Issues Github Issues Github Watchers Github Stars Github Repository size Github last commit Github release date Github language count Github commits this month

Read the documentation!

Async event sources that turn file changes, webhooks, emails and cron schedules into typed events.

evented gives you a small set of asyncio event sources behind one interface, and an EventManager that runs them and passes every event to your callbacks. Events are pydantic models with a to_prompt() method, so they can go straight into an LLM agent. Sources are configured with pydantic models (evented_config), so they can be loaded from YAML/JSON and validated.

Installation

pip install evented          # core (config models, manager, event types)
pip install "evented[all]"   # + watchfiles, fastapi/uvicorn, aioimaplib, croniter

Requires Python 3.13+. The backends of the sources are optional dependencies; the all extra installs all of them.

Quickstart

import asyncio

from evented import EventData, EventManager


async def on_event(event: EventData) -> None:
    print(f"[{event.source}] {event.to_prompt()}")


async def main() -> None:
    async with EventManager(event_callbacks=[on_event]) as manager:
        await manager.add_file_watch("./src", extensions=[".py", ".md"], name="src")
        await manager.add_timed_event("*/5 * * * *", "Run the health check", name="cron")

        @manager.track("compute")
        async def compute(x: int) -> int:
            return x * 2

        await compute(21)  # prints "[compute] 42"
        await asyncio.sleep(60)  # edit a file in ./src meanwhile


asyncio.run(main())
From configuration

EventConfig is a discriminated union over all config types (key: type):

import asyncio

from pydantic import TypeAdapter

from evented import EventConfig, EventSource

raw = {"type": "time", "name": "daily", "schedule": "0 9 * * 1-5", "prompt": "Morning report"}
config = TypeAdapter(EventConfig).validate_python(raw)  # -> TimeEventConfig


async def main() -> None:
    async with EventSource.from_config(config) as source:
        async for event in source.events():
            print(event.to_prompt())


asyncio.run(main())

You can also pass a list of configs to the manager: EventManager(configs=[...]).

Event sources

Config (type) Source Backend Event
FileWatchConfig (file) FileSystemEventSource watchfiles FileEventData
WebhookConfig (webhook) WebhookEventSource FastAPI + uvicorn WebhookEventData
EmailConfig (email) EmailEventSource aioimaplib (IMAP) EmailEventData
TimeEventConfig (time) TimeEventSource croniter TimeEventData

Features

  • One interface for every source: each source is an async context manager with an events() async generator, so you can use it without the manager.
  • EventManager: runs several sources at once, calls sync or async callbacks, and has shortcuts like add_file_watch(), add_webhook(), add_email_watch() and add_timed_event().
  • Function tracking: @manager.track() emits a FunctionResultEventData for each call, with arguments, duration and success/error status in metadata.
  • Prompt templates: await event.format(config) renders an event with the source's Jinja template (timestamp and metadata can be turned off).
  • Lightweight config package: evented_config holds only the pydantic models, so you can import it in config schemas without pulling in the runtime.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases evented

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229