• Stars
    star
    158
  • Rank 237,131 (Top 5 %)
  • Language
    Jupyter Notebook
  • License
    BSD 3-Clause "New...
  • Created almost 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NBA shot charts using matplotlib, seaborn, and bokeh.

nbashots

nbashots is a library that is built on top of matplotlib, seaborn, and bokeh in order to create a variety of NBA shot charts using Python. nbashots allows for easy access to the NBA stats API in order to extract the necessary data for creating shot charts.

Just note that this library is in early development but it should work for Python 2.7 and 3.3+. Most of the code is based on my blog post.

Requirements

  • Python 2.7 or 3.3+

Mandatory packages

Installation

To install just run:

pip install nbashots

Tutorial

You can check out a tutorial I wrote up over here.

TODO

  • Finish up the documentation and create a readthedocs page.
  • Write tests.

License

Released under BSD 3-clause License