A Python library for plotting hockey rinks with Matplotlib.
Installation
pip install hockey-rink
Example Notebooks
Drawing
This notebook shows how to customize rinks and draw them. This includes a dark-theme rink.
Plotting
Plotting is mainly done through wrappers for Matplotlib plotting methods. This notebook shows each of the currently available methods.
Animating
The final example notebook shows how to use the package to make animations.
Inspiration
This project was partly inspired by mplsoccer.
Hopefully, it can make things a little easier for anyone looking to get involved in hockey analytics.
Contact
You can find me on twitter @the_bucketless or email me at thebucketless@protonmail.com.
Metadata
Release files for hockey-rink 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hockey_rink-1.1.4.tar.gz | 41.6 kB | Without provenance | Details for hockey_rink-1.1.4.tar.gz |
Release files / hockey_rink-1.1.4.tar.gz
| Download URL | hockey_rink-1.1.4.tar.gz |
|---|---|
| Size | 41.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b8c4a76a64787103e33c333831115be1ea20ad97086958dff09cf07ef66e033
|
|
BLAKE2b-256 checksum How to use checksums |
81395e8e91bc71093f51da89c3572280567af73ff433436264897e830ccf8bcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.0
|
Security for hockey-rink 1.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.