nelieo-nsp package is published to PyPI and installs all its dependencies automatically. Before you install the SDK, make sure the NSP daemon is running on your machine — the SDK communicates with it over localhost:7842. You need Python 3.11 or later.
Steps
Troubleshooting
NSPConnectionError: Failed to connect — the daemon is not running. Start it from a terminal:
NSPAuthError: Invalid or missing key — your NSP_API_KEY is wrong or not set. Regenerate it from platform.nelieo.com and re-export the variable.
NSPNotFoundError: App not found — the app you’re trying to attach to is not tracked yet. Call await client.list_apps() to see what is currently available. If you are trying to reach a Gmail tab, confirm Chrome was launched with --remote-debugging-port=9222.
Import error / wrong Python version — check that you’re running Python 3.11 or later:
