Skip to content

Asynchronous network configuration event detector for Python 3.7 and above

License

Notifications You must be signed in to change notification settings

ntamas/aio-net-events

Repository files navigation

aio-net-events

aio-net-events is a Python library that provides asynchronous generators yielding events when the network configuration of the machine changes. Currently only network interface additions / removals and IP address additions / removals are supported; more events may be added later.

Supports Windows, Linux and macOS at the moment.

Requires Python >= 3.8.

Works with asyncio and trio.

Installation

Use the package manager pip to install aio-net-events.

pip install aio-net-events

Usage

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT