Skip to main content

Small library for observation mechanism

Project description

ntt-signal

Signal library by threezinedine

Example

def Callback() -> None:
    print("Signal is emitted")

signal = Signal()
signal.Connect(Callback)

signal.Emit()

Example with type

def Callback(nValue: int) -> None:
    print(f"Signal is emitted with value {nValue}")

signal = Signal(int)
signal.Connect(Callback)

signal.Emit(3)

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-signal-1.0.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

ntt_signal-1.0.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file ntt-signal-1.0.3.tar.gz.

File metadata

  • Download URL: ntt-signal-1.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for ntt-signal-1.0.3.tar.gz
Algorithm Hash digest
SHA256 2133eebb7e5a6ef61a9186f54c9110a9d6354edc981f08723a516a37f8884e66
MD5 94f564b0225c0a0971002389f8a30ae0
BLAKE2b-256 d8975252802fc5e2e49f20173e673bb14287013735b4b50a3816614ec47b3924

See more details on using hashes here.

File details

Details for the file ntt_signal-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: ntt_signal-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for ntt_signal-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8242d48dc8ce46414b1c3c6a727b7ae5601dd437f049fb1f663c7d9d014dc6cb
MD5 52aa6ebe29ff67cca451212e21ec12c1
BLAKE2b-256 115b07dd2134278366a1c66fe37581a91629c500e6027cfa9be833fb4c968e1d

See more details on using hashes here.

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