A python package for analyzing the performances of cricketrs based on ESPN Cricinfo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build/lib/cricpy
cricpy.egg-info
cricpy
dist
LICENSE.txt
README.md
setup.py

README.md

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 and ODI 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.