The proton-vpn-killswitch
component defines the VPN kill switch
interface.
Other components, like proton-vpn-killswitch-network-manager
provide concrete implementations for this interface.
Even though our CI pipelines always test and build releases using Linux distribution packages, you can use pip to setup your development environment as follows:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
You might also need to set up our internal package registry. Here you have the documentation on how to do that.
You can run the tests with:
pytest