This repository is dedicated to NETMET TD at Sorbonne University. It is meant for under-graduated master students with a background in computer networking. It contains:
- subjects for practical courses
- small recaps on notions
- code for interacting with RIPE Atlas API
You first need a github account to clone the repository
git clone https://github.com/hrimlinger/netmet.git
cd netmet
Note: you might also need to create a token for cloning (check on how to create a token here)
git clone https://<your_token_here>@github.com/hrimlinger/netmet.git
cd netmet
This project use poetry as package manager, you can install poetry using:
pip install poetry
The use the following commands:
poetry shell
poetry lock
poetry install
You are normally setup, you can now use the code and follow the exercises. Each TP/TD is composed of a main, where you will execute your code, good luck! Run the following script to test your installation:
python TP1/main.py
go check RIPE Atlas API it is your best friend for TP1.
The professor will communicate you your credentials for RIPE Atlas API. an example of .env file required is given at .env.example
RIPE_USERNAME=
RIPE_SECRET_KEY=
Note: alternatively you can also simply export the two environment variables