Tools for analyzing performances of cricketers based on stats in ESPN Cricinfo Statsguru. The toolset can be used for analysis of Tests,ODI amd Twenty20 matches of both batsmen and bowlers.
# Install the package
pip install cricpy
cricpy
can be imported using the typical import
:
# Import cricpy
import cricpy
To load the data, You could either do specific import
#1.
import cricpy.analytics as ca
#ca.batsman4s("../dravid.csv","Rahul Dravid")
or import all the functions
#2.
from cricpy.analytics import *
#batsman4s("../dravid.csv","Rahul Dravid")
If you are an R-user, There is an R equivalent of cricpy
- that is cricketr
.