Skip to content

Instantly share code, notes, and snippets.

View larsgroeber's full-sized avatar

Lars Gröber larsgroeber

View GitHub Profile
@spalladino
spalladino / stats.py
Created January 5, 2014 16:31
Count number of lines of code per language per week in git repository using cloc
import csv
import os
import sys
from os.path import isfile
from datetime import date, timedelta
from subprocess import call, check_output
# Script expects that each project is in a folder with the same name in the working directory
PROJECTS = ['my-project', 'another-project']