Skip to main content

A package for handling soccer data

Project description

soccer-py

A python application to handle soccer data.

  • Visualization tool for X & Y coordinates

Downloads

Documentation

Check out the Documentation

Examples

from todofcpy.graph import Sprintmap
df = df[['x_pos','y_pos']]
dat = df.to_numpy()
tsm = Sprintmap(data=dat)
plt = tsm.create_sprintmap_plot()
plt.show()
from todofcpy.graph import Heatmap
df = df[['x_pos','y_pos']]
dat = df.to_numpy()
thm = Heatmap(data=dat)
thm.set_colors(color='plasma')
plt = thm.create_heatmap_plot()
plt.show()
...
(_or_)
...
from todofcpy.graph import Heatmap
df = df[['x_pos','y_pos']]
dat = df.to_numpy()
thm = Heatmap(data=dat, color='magma')
plt = thm.create_heatmap_plot()
plt.show()

Extra Data Work

This is a passion project started at Todo Football Club

Releases

0.0.0 == Currently graphs a heatmap.

0.1.0 == Sprintmaps.

0.1.1 == 2d array bug fix.

0.2.0 == Heatmap can choose color scheme from ['viridis', 'plasma', 'inferno', 'magma', 'cividis']

Restructuring of codebase.

0.3.0 == Animation of single player.

0.3.1 == Create pyplot field with color choices.

License

todofcpy is a MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

todofcpy-0.3.1.tar.gz (20.4 kB view hashes)

Uploaded Source

Built Distribution

todofcpy-0.3.1-py3-none-any.whl (21.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page