Skip to main content

A package for getting Slippi stats in Python

Project description

py-slippi-stats

This program is an attempt at recreating the Slippi stats module of the original Slippi javascript package using py-slippi. Most of it is just a translation of the slippi-js to python.

Installation

Steps:

  1. (Optional) Create a virtual environment and activate it. On Windows, this should work:

     py -m venv my-python-env
     source my-python-env/Scripts/activate
    
  2. Run the following command to install py-slippi-stats:

     pip install py-slippi-stats
    

Usage

Here is a basic example of usage:

import slippi
import slippistats

game = slippi.Game('mygame.slp')
stats = slippistats.overall.getGameStats(game)

print(stats)

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

py-slippi-stats-0.0.2.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

py_slippi_stats-0.0.2-py3-none-any.whl (24.3 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