Skip to main content

List with ntt signal mechanism

Project description

ntt-observable-list

ObservableList python

Example

from ntt_observable_list import ObservableList

def PrintList(lst: list) -> None:
    print(lst)

lst = ObservableList([3, 1, 4])
lst.Connect(PrintList)

lst.append(5)   # ---> [3, 1, 4, 5]
lst[1] = 3      # ---> [3, 3, 4, 5]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ntt-observable-list-1.0.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

ntt_observable_list-1.0.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page