Signified
Documentation: https://dougmercer.github.io/signified
Source Code: https://github.com/dougmercer/signified
A Python library for reactive programming (with kind-of working type narrowing).
Getting started
pip install signified
Why care?
signified is a reactive programming library that implements two primary data structures: Signal and Computed.
Both of these objects implement the Observer and Observable design patterns. This means that they can notify other Observers if they change, and they can subscribe to be notified if another Observable changes.
This allows us to create a network of computation, where one value being modified can trigger other objects to update.
This allows us to write more declarative code, like,
x = Signal(3)
x_squared = x ** 2 # currently equal to 9
x.value = 10 # Will immediately notify x_squared, whose value will become 100.
Here, x_squared became a reactive expression (more specifically, a Computed object) whose value is always equal to x ** 2. Neat!
signified's Signal object effectively gives us a container which stores a value, and Computed gives us a container to store the current value of a function. In the above example, we generated the Computed object on-the-fly using overloaded Python operators like **, but we could have just as easily done,
from signified import computed
@computed
def power(x, n):
return x**n
x_squared = power(x, 2) # equivalent to the above
Together, these data structures allow us to implement a wide variety of capabilities. In particular, I wrote this library to make my to-be-released animation library easier to maintain and more fun to work with.
... what do you mean by "kind-of working type narrowing"?
Other reactive Python libraries don't really attempt to implement type hints (e.g., param).
signified is type hinted and supports type narrowing even for nested reactive values.
from signified import Signal
a = Signal(1.0)
b = Signal(Signal(Signal(2)))
reveal_type(a + b) # Computed[float]
Unfortunately, our type hints only work with pyright.
Ready to learn more?
Checkout the docs at https://dougmercer.github.io/signified or watch my YouTube video about the library.
Metadata
Release files for signified 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| signified-0.5.0.tar.gz | 23.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| signified-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.4 kB
Release files / signified-0.5.0.tar.gz
| Download URL | signified-0.5.0.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
418e04fff2b298f5bd5ed76aadad39a9d1543a6ee12812e69741e8a1804a9770
|
|
BLAKE2b-256 checksum How to use checksums |
9aa8fb9778b397d95f9a28db6aa21acfc18484085a0517bb702d24d02c7dbf3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logRelease files / signified-0.5.0-py3-none-any.whl
| Download URL | signified-0.5.0-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b793ac14540d4e6418b6d7338b962360ec4d581b30d1cda4309b3401698be15a
|
|
BLAKE2b-256 checksum How to use checksums |
75153342835d2da09ab47b733d91f3b31d8dae419dabff44de5bf0e085a5ac35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency log