Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

ProtonVPN/python-proton-vpn-logger

Repository files navigation

⚠️ This module is now legacy: The same functionality is now in python-proton-vpn-api-core module, version 0.35.2 and upwards.

Proton VPN Logger

The proton-vpn-logger is a general purpose logging package for the entire vpn linux client.

Development

Even though our CI pipelines always test and build releases using Linux distribution packages, you can use pip to set up your development environment.

Proton package registry

If you didn't do it yet, to be able to pip install Proton VPN components you'll need to set up our internal Python package registry. You can do so running the command below, after replacing {GITLAB_TOKEN} with your personal access token with the scope set to api.

pip config set global.index-url https://__token__:{GITLAB_TOKEN}@gitlab.protontech.ch/api/v4/groups/777/-/packages/pypi/simple

In the index URL above, 777 is the id of the current root GitLab group, the one containing the repositories of all our Proton VPN components.

Virtual environment

You can create the virtual environment and install the rest of dependencies as follows:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Tests

You can run the tests with:

pytest

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages