Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.66 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.66 KB

NETMET: Internet measurements codes and courses

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

Clone the repository

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

Install dependencies

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

Run some code

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

usefull

go check RIPE Atlas API it is your best friend for TP1.

setup ripe credentials

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