Skip to main content

Nanoevent

Nanoevent is a terrifically small and simple event dispatching library for Python 3.6+. It's key features:

  • Easy enough to start using in minutes.
  • Pretty feature complete.
  • Designed to be super simple to use.

Installation

pip install nanoevent

User guide

import nanoevent

d = nanoevent.Dispatcher()

def handler(value):
    print(value)

d.attach('event:name', handler)

# The following results in "Hi, this is a test" being printed.
d.emit('event:name', 'Hi, this is a test')

Metadata

Release files for nanoevent 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nanoevent 1.1.0
File Size Uploaded Provenance Actions
nanoevent-1.1.0.tar.gz 1.9 kB Without provenance Details for nanoevent-1.1.0.tar.gz

Release files / nanoevent-1.1.0.tar.gz

Download URL nanoevent-1.1.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
468152f473160cb25bdd94f542aa2fa835fa24e60a79f64b97c42a7631dac20c
BLAKE2b-256 checksum
How to use checksums
030ab69e07452b5acac7bdaf83d9b783f690cc9fb4c907707f6f9164388027ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Security for nanoevent 1.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page