Skip to content

Instantly share code, notes, and snippets.

@AstraLuma
Created March 9, 2016 17:00
Show Gist options
  • Select an option

  • Save AstraLuma/9f57a0db20c36e14f607 to your computer and use it in GitHub Desktop.

Select an option

Save AstraLuma/9f57a0db20c36e14f607 to your computer and use it in GitHub Desktop.
Python Processing Idea
gitlog = program("git" "log").by_lines()
@gitlog.then
def authors(lines):
for line in lines:
yield extractauthor(line)
@authors.then
def domains(emails):
for e in emails:
yield domain(e)
totals = Counter(domains)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment