際際滷

際際滷Share a Scribd company logo
Perceval
Software Project Data at your will
Valerio Cosentino
@_valcos_
valcos@bitergia.com
https://speakerdeck.com/bitergia
FOSDEM, Brussels, 04-02-2018
Outline
Context
Perceval
Perceval in action
Explotation
/context
/context
Are there new contributors?
/context
How many bugs were fixed
past month?
/context
Does our gender diversity has
increased lately?
/perceval
Perceval gathers data for you
/perceval
Perceval gathers data for you
/perceval
Goal -> retrieve information* from data sources
...and many more
* information: collection of items (issues, commits, ...)
/perceval
Data source and Perceval data
{ "backend_name": "GitHub",
"backend_version": "0.13.0",
"category": "issue",
"data": {
"comments": 5,
"comments_data": {...}
"created_at": "2017-02-28T05:33:10Z",
....,
"id": 210691361,
"state": "closed",
"title": "..",
"updated_at": "2017-03-02T09:51:49Z"
},
"origin": "https://github.com/grimoirelab/perceval",
"perceval_version": "0.9.10",
"tag": "https://github.com/grimoirelab/perceval",
"timestamp": 1517479766.878609,
"updated_on": 1488448309.0,
"uuid": "77a42463d5d0a34b1d58006263b85909a9788b52" }
Data source
data
}
]Perceval
data
/perceval
Organization -> 3 actors
Backend Client
CommandLine
/perceval
Operations -> fetch & fetch-from-archive
Backend Client
CommandLine
Data source
Perceval
data
Data source
data
Archive
/perceval
Operations -> fetch & fetch-from-archive
Backend Client
CommandLine
Archive
Perceval
data
Data source
data
/perceval_in_action
As a program
As a Python3 library
$ perceval github grimoirelab perceval --from-date=2017-03-01 --api-token=5e3d7cc
[2018-02-01 12:31:10,683] - Sir Perceval is on his quest.
[2018-02-01 12:31:11,712] - Getting info for https://api.github.com/users/jgbarah
[2018-02-01 12:31:12,069] - Getting info for https://api.github.com/users/acs
...
[2018-02-01 12:34:22,728] - Sir Perceval completed his quest.
from perceval.backends.core.github import GitHub
from_date = datetime.datetime(2017, 3, 1)
github = GitHub("grimoirelab", "perceval", api_token="5e3d7cc...")
for issue in github.fetch(from_date=from_date):
print(issue['data'])
/explotation
/explotation
/resources
grimoirelab/perceval
grimoirelab.github.io
youtube.com/watch?v=eH1sYF0Hdc8
@grimoirelab
@_valcos_

More Related Content

Similar to Perceval: Software Project Data at Your Will (10)

PDF
Msr2021 tutorial-di penta
Massimiliano Di Penta
PDF
Perceval, Graal and Arthur: The Quest for Software Project Data
Valerio Cosentino
PDF
Graal The Quest for Source Code Knowledge
Valerio Cosentino
PPTX
"Data Provenance: Principles and Why it matters for BioMedical Applications"
Pinar Alper
PPTX
Provenance witha purpose
Khalid Belhajjame
PPT
Data Munging in concepts of data mining in DS
nazimsattar
PPTX
VulnerableCode: Finding FOSS software vulnerabilities with FOSS tools
Michael Herzog
PPTX
To understand the importance of Python libraries in data analysis.
GurpinderSingh98
PPTX
Provenance for Reproducible Data Science
Andreas Schreiber
PDF
WSO2Con EU 2016: An Introduction to the WSO2 Analytics Platform
WSO2
Msr2021 tutorial-di penta
Massimiliano Di Penta
Perceval, Graal and Arthur: The Quest for Software Project Data
Valerio Cosentino
Graal The Quest for Source Code Knowledge
Valerio Cosentino
"Data Provenance: Principles and Why it matters for BioMedical Applications"
Pinar Alper
Provenance witha purpose
Khalid Belhajjame
Data Munging in concepts of data mining in DS
nazimsattar
VulnerableCode: Finding FOSS software vulnerabilities with FOSS tools
Michael Herzog
To understand the importance of Python libraries in data analysis.
GurpinderSingh98
Provenance for Reproducible Data Science
Andreas Schreiber
WSO2Con EU 2016: An Introduction to the WSO2 Analytics Platform
WSO2

More from Valerio Cosentino (16)

PDF
Tracking counterfeiting on the web with python and ml
Valerio Cosentino
PDF
GrimoireLab: Measuring the health of your software project with Python
Valerio Cosentino
PDF
Gamification oss
Valerio Cosentino
PDF
SortingHat: Wizardry on Software Project Members
Valerio Cosentino
PDF
Measuring Software development with GrimoireLab
Valerio Cosentino
PDF
Measuring Software development with GrimoireLab
Valerio Cosentino
PDF
Crossminer and GrimoireLab
Valerio Cosentino
PDF
Extending grimoirelab
Valerio Cosentino
PDF
Gamification pres-scme-2017
Valerio Cosentino
PPT
A Model-Based Approach for Extracting Business Rules out of Legacy Informatio...
Valerio Cosentino
PPTX
Gitana: a SQL-based Git Repository Inspector
Valerio Cosentino
PPTX
Assessing the Bus Factor of Git Repositories
Valerio Cosentino
PPT
A Model-Driven Approach to Generate External DSLs from Object-Oriented APIs
Valerio Cosentino
PDF
Extracting Business Rules from COBOL: A Model-Based Framework
Valerio Cosentino
PDF
Extracting UML/OCL Integrity Constraints and Derived Types from Relational Da...
Valerio Cosentino
PDF
A Model Driven Reverse Engineering framework for extracting business rules ou...
Valerio Cosentino
Tracking counterfeiting on the web with python and ml
Valerio Cosentino
GrimoireLab: Measuring the health of your software project with Python
Valerio Cosentino
Gamification oss
Valerio Cosentino
SortingHat: Wizardry on Software Project Members
Valerio Cosentino
Measuring Software development with GrimoireLab
Valerio Cosentino
Measuring Software development with GrimoireLab
Valerio Cosentino
Crossminer and GrimoireLab
Valerio Cosentino
Extending grimoirelab
Valerio Cosentino
Gamification pres-scme-2017
Valerio Cosentino
A Model-Based Approach for Extracting Business Rules out of Legacy Informatio...
Valerio Cosentino
Gitana: a SQL-based Git Repository Inspector
Valerio Cosentino
Assessing the Bus Factor of Git Repositories
Valerio Cosentino
A Model-Driven Approach to Generate External DSLs from Object-Oriented APIs
Valerio Cosentino
Extracting Business Rules from COBOL: A Model-Based Framework
Valerio Cosentino
Extracting UML/OCL Integrity Constraints and Derived Types from Relational Da...
Valerio Cosentino
A Model Driven Reverse Engineering framework for extracting business rules ou...
Valerio Cosentino
Ad

Recently uploaded (20)

PDF
AWS Consulting Services: Empowering Digital Transformation with Nlineaxis
Nlineaxis IT Solutions Pvt Ltd
PPTX
Introduction to web development | MERN Stack
JosephLiyon
PPTX
IDM Crack with Internet Download Manager 6.42 Build 41 [Latest 2025]
pcprocore
PDF
Telemedicine App Development_ Key Factors to Consider for Your Healthcare Ven...
Mobilityinfotech
PDF
Mastering VPC Architecture Build for Scale from Day 1.pdf
Devseccops.ai
PPTX
Wondershare Filmora Crack 14.5.18 + Key Full Download [Latest 2025]
HyperPc soft
PDF
From Data Preparation to Inference: How Alluxio Speeds Up AI
Alluxio, Inc.
PDF
What Is an Internal Quality Audit and Why It Matters for Your QMS
BizPortals365
PDF
Automated Testing and Safety Analysis of Deep Neural Networks
Lionel Briand
PDF
Best Software Development at Best Prices
softechies7
PDF
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
PDF
Which Hiring Management Tools Offer the Best ROI?
HireME
PDF
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
PDF
Why Edge Computing Matters in Mobile Application Tech.pdf
IMG Global Infotech
PPTX
Foundations of Marketo Engage - Programs, Campaigns & Beyond - June 2025
BradBedford3
PDF
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
PPTX
CV-Project_2024 version 01222222222.pptx
MohammadSiddiqui70
PDF
The Rise of Sustainable Mobile App Solutions by New York Development Firms
ostechnologies16
PDF
IObit Uninstaller Pro 14.3.1.8 Crack for Windows Latest
utfefguu
PDF
capitulando la keynote de GrafanaCON 2025 - Madrid
Imma Valls Bernaus
AWS Consulting Services: Empowering Digital Transformation with Nlineaxis
Nlineaxis IT Solutions Pvt Ltd
Introduction to web development | MERN Stack
JosephLiyon
IDM Crack with Internet Download Manager 6.42 Build 41 [Latest 2025]
pcprocore
Telemedicine App Development_ Key Factors to Consider for Your Healthcare Ven...
Mobilityinfotech
Mastering VPC Architecture Build for Scale from Day 1.pdf
Devseccops.ai
Wondershare Filmora Crack 14.5.18 + Key Full Download [Latest 2025]
HyperPc soft
From Data Preparation to Inference: How Alluxio Speeds Up AI
Alluxio, Inc.
What Is an Internal Quality Audit and Why It Matters for Your QMS
BizPortals365
Automated Testing and Safety Analysis of Deep Neural Networks
Lionel Briand
Best Software Development at Best Prices
softechies7
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
Which Hiring Management Tools Offer the Best ROI?
HireME
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
Why Edge Computing Matters in Mobile Application Tech.pdf
IMG Global Infotech
Foundations of Marketo Engage - Programs, Campaigns & Beyond - June 2025
BradBedford3
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
CV-Project_2024 version 01222222222.pptx
MohammadSiddiqui70
The Rise of Sustainable Mobile App Solutions by New York Development Firms
ostechnologies16
IObit Uninstaller Pro 14.3.1.8 Crack for Windows Latest
utfefguu
capitulando la keynote de GrafanaCON 2025 - Madrid
Imma Valls Bernaus
Ad

Perceval: Software Project Data at Your Will