Reactive Signals for Python – inspired by Angular's reactivity model
Reactive Signals for Python – inspired by Angular's reactivity model
Hey everyone, I built reaktiv, a small reactive signals library for Python, inspired by Angular’s reactivity model. It lets you define Signals, Computed Values, and Effects that automatically track dependencies and update efficiently. The main focus is async-first reactivity without external dependencies. Here is an example code: ``` import asyncio from reaktiv import Signal, ComputeSignal, Effect async def main(): count = Signal(0) doubled = ComputeSignal(lambda: count.get() * 2) async def log_count(): print(f"Count: {count.get()}, Doubled: {doubled.get()}") Effect(log_count).schedule() count.set(5) # Triggers: "Count: 5, Doubled: 10" await asyncio.sleep(0) # Allow effects to process asyncio.run(main()) ```
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Letlang specification inspired by Python PEPs (WIP)
Connectable – Signals / Slots for Python
Nallely – A Python signals/MIDI processing system inspired by Smalltalk
Django Model Parsing with Python's AST module
I made a boxen library for Python (inspired by sindresorhus)
An ORM for Python objects, inspired by Django
Consecution: A Python Pipeline Tool Inspired by Apache Storm Topologies
Ariadne, Python lib for writing GraphQL servers, inspired by Apollo
PyBench 2.0 – Python benchmark tool inspired by Geekbench
Pcons: new software build tool in Python, inspired by SCons and CMake