/cricpy

A python package for analyzing the performances of cricketrs based on ESPN Cricinfo

Primary LanguagePythonMIT LicenseMIT

Cricpy

PyPI PyPI - Python Version PyPI - Wheel

Package downloads from the Pypi

Downloads

Downloads

Downloads


Description

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.

Installation

# Install the package
pip install cricpy

Importing and Loading Data

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")

References

R-Package

If you are an R-user, There is an R equivalent of cricpy - that is cricketr.