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

flowevent

Latest version: v2.0.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: TahsinCr
1 Stars
0 Forks
9 Versions
2.5K Downloads
Python Repo language

Scan summary

flowevent was last scanned on 23 Nov 2026 at version 2.0.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 2 were published within 6 days (18–23 Nov 2026).
  • Findings: No rules fired in version 2.0.0.
  • Downloads: 2,464 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.0.0 LATEST 23 Nov 2026 No rules fired
1.4.2 18 Nov 2026 No rules fired
1.4.1 16 Nov 2026 No rules fired
1.4.0 14 Nov 2026 Not shown
1.3.2 7 Nov 2026 Not shown

No rules fired in 2.0.0

Findings

Findings for v2.0.0. 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 2.0.0; other versions have their own rules, not their own score.

README

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

CI status PyPI version Python 3.10+ MIT License

English | Türkçe

FlowEvent

Repository · Changelog · Latest release · MIT License

In-process event delivery for Python applications and libraries. Use a synchronous or async bus to publish typed events and manage subscriptions without a message broker.

FlowEvent began as the event subsystem of Vehicle Autonomy Core.

Contents

  • Getting started
  • Core concepts
  • Working with events
  • Async applications
  • Performance and the C extension
  • Development and license

Getting started

Install

Install from the project root with Python 3.10 or later.

python -m pip install flowevent
Publish your first event

A publisher hands an ordinary Python object to the bus. The subscriber receives it before the synchronous publish returns. Leaving the inner context cancels the subscription.

from dataclasses import dataclass

from flowevent import EventBus


@dataclass(frozen=True)
class OrderPlaced:
    order_id: str


def send_confirmation(event: OrderPlaced) -> None:
    print(f"Order placed: {event.order_id}")


with EventBus[OrderPlaced]() as bus:
    with bus.subscribe(send_confirmation):
        result = bus.publish(OrderPlaced("order-42"))
        assert result.delivered == 1

Core concepts

Choose EventBus for synchronous handlers and AsyncEventBus for coroutines. Use named channels when event groups have separate ownership. AsyncEventQueue connects a synchronous publisher to an async consumer. Delivery stays inside one process. Type hints describe the expected event to your editor and type checker. Apply a filter when you need to select events at runtime.

Working with events

Filter and replay recent events

Give the bus a bounded history, then subscribe with a routing key. The example replays the latest matching event and receives subsequent live matches using the same subscription.

from flowevent import EventBus

received = []
with EventBus[tuple[str, str]](history=3, routing_key=lambda event: event[0]) as bus:
    bus.publish(("orders", "created"))
    bus.publish(("billing", "invoice_sent"))
    with bus.subscribe(received.append, routing_key="orders", replay=1):
        bus.publish(("orders", "packed"))

assert received == [("orders", "created"), ("orders", "packed")]

Async applications

Publish to coroutine handlers

Use AsyncEventBus when handlers already perform async work. Keep the bus and its subscriptions on the event loop that owns them.

If you opt into DeliveryMode.CONCURRENT, set max_concurrency to bound the number of handlers run concurrently by each publish. Without that limit, a publish can create a task for every matching handler.

import asyncio

from flowevent import AsyncEventBus


async def main() -> None:
    received = []

    async def collect(event: str) -> None:
        received.append(event)

    async with AsyncEventBus[str]() as bus:
        subscription = await bus.subscribe(collect)
        async with subscription:
            await bus.publish("order.shipped")

    assert received == ["order.shipped"]


asyncio.run(main())

Performance and the C extension

The optional C core reduces dispatch overhead for supported synchronous EventBus paths. This matters most when publishing frequently or routing to many subscribers with small handlers. The pure-Python implementation provides the same API. See the benchmark archive for workloads, environments, and measurements from published releases.

Development and license

python -m pip install -e ".[dev]"
python run_tests.py

Run python run_tests.py --native to rebuild and require the C extension for the tests.

This project is licensed under the MIT License.

Related projects

FlowCoord · FlowPipeline

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 flowevent

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

Copy of Template Design OX Blog (1)
Research

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

CVE

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

Frame 2085668439 (1)
Group 1261154229