A Python wrapper library for the network-manager CLI client (nmcli). Current version 1.7.0, requires Python >=3.7. Maintained, with frequent releases adding new features.
pip install nmcliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Quick start: import nmcli and use methods like connection.show_all() and device.wifi()
Upgrade to >=1.4.0 and test general methods like nmcli.general.status()
Run synchronous calls in a thread pool executor if using asyncio
Run the script as root or configure polkit to allow unprivileged users to manage networking
Run: pip install nmcli
Use: nmcli.connection.show() directly, not on a connection instance.
Wrap synchronous calls: await loop.run_in_executor(None, nmcli.connection.show) or use a sync context.
No dependency data recorded yet.