semvec/pypi-packages huggingface dataset:
statsnba-playbyplay 0.3.0
Package for parsing play-by-play data from stats.nba.com
License: MIT
Keywords: statsnba

===================
statsnba-playbyplay
===================

.. image:: https://img.shields.io/pypi/v/statsnba-playbyplay.svg?maxAge=2592000
   :target: https://pypi.python.org/pypi?name=statsnba-playbyplay&version=0.1.0&:action=display
   :alt: PyPi Version

.. image:: https://readthedocs.org/projects/statsnba-playbyplay/badge/?version=latest
   :target: http://statsnba-playbyplay.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

NOTE: This project is still pretty much work in progress so it might
introduce many breaking changes.

- `Introduction`_
- `Use the data`_
- `Benefits of this package`_
- `Installation`_
- `TODOs`_

Introduction
------------

Basketball analytics using play-by-play data have been an shared
interest for many people. However, the lack of processed play-by-play
has prohibited such analysis by many.

This project is intended to provide parsing functionality for the
play-by-play data from http://stats.nba.com into more a comprehensive
format like that on
`NBAStuffer <https://downloads.nbastuffer.com/nba-play-by-play-data-sets>`__.
It is intended to accompany our research: `Adversarial Synergy Graph
Model for Predicting Game Outcomes in Human
Basketball <http://www.somchaya.org/papers/2015_ALA_Liemhetcharat.pdf>`__.
to prepare the data. If you are interested in more general statistics or
player information, you should definitely check out
`py-Goldsberry <https://github.com/bradleyfay/py-Goldsberry>`__.

While there are still limitations with the current parsing strategy, it
does not affect the tabulation of APM and other play-by-play based
metrics.

Use the data
------------

If you just want to use the data that is processed with the package
without touching it, you can find a copy of the data
`from S3 <http://statsnba.s3-website-us-east-1.amazonaws.com/>`__. Under
``data/zip/`` you will find the gamelog and game files in JSON format.
You may introspect into the JSONs for the fields that are included in
them.

Benefits of this package
------------------------

-  The data is obtained directly from http://stats.nba.com, the parsed
   play-by-plays can be verified against the official boxscores.


Installation
------------

At the command line

  .. code:: shell                
            
    $ pip install statsnba-playbyplay


TODOs
-----

-  Documentation.
-  Parse subtypes of events. (e.g. when there is a shot, is it a layup
   or jumpshot? the raw data provides different codes for these subtypes
   but I have not yet figured out a way to easily decrypt all of them.)
-  More tests at all levels of the package.
-  A Github Pages website for showcasing the package.
-  Wiki pages on the schema of the parsed data on my S3 bucket.
-  Daily updates of the data feed (cronjob or Lambda function on an EC2
   instance to track the gamelogs daily and make updates on S3?)
flake8-imports 0.1.1
isort extension flake8
License: MIT

Flake8 imports plugin
---------------------

Flake8 extension to run isort check over the source files.





Installation
------------

.. code-block: bash

  pip install flake8-imports


Alternatives
------------
There are already other similar implementations available, these are:

 * https://github.com/gforcada/flake8-isort
 * https://github.com/PyCQA/flake8-import-order

The reason for this module is that both of these didn't match my
requirements (license, keep logic within isort)
Propel 0.60.1
A package to deploy sites in virtualenv, run scripts, and deploy workers with supervisor
License: MIT
Keywords: deploy


Propel

Propel is a package to deploy multiple Python sites/application in virtualenv.

It also allows you to deploy PHP/HTML applications, run scripts and run workers with Supervisor.

For Python application, it uses Virtualenv to isolate each application, Gunicorn+Gevent as the backend server,
Supervisor and Nginx.

For PHP/HTML sites, it just uses the path as it would in normal environment, and you must have php-fpm

Requirements:
    Nginx
    Gunicorn
    Supervisor
    Gevent
    Virtualenvwrapper
    php-fpm

@Author: Mardix
@Copyright: 2015 - 2017 Mardix
@license: MIT