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 details)

Uploaded Source

Built Distribution

py_slippi_stats-0.0.2-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file py-slippi-stats-0.0.2.tar.gz.

File metadata

  • Download URL: py-slippi-stats-0.0.2.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3rc1

File hashes

Hashes for py-slippi-stats-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6cdae865cba9f748fe008e118b9c7c41028fdf9ef892343236d91f62090f8943
MD5 3d7e3f9bfe37abf6652328e792f6af19
BLAKE2b-256 7b6ab959336421ecc657df25c7e0541278a0f9f3cf8185b90f326eed1c15dcec

See more details on using hashes here.

File details

Details for the file py_slippi_stats-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: py_slippi_stats-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3rc1

File hashes

Hashes for py_slippi_stats-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e3943a0f6753128dfb09c244129ab473456ca94df2b1c1bcd42b9a6268829933
MD5 6d969d3862c91d46475ef553b7e3b7c1
BLAKE2b-256 cce8acf0ba187a3fbbdc0cd198973e80994d1c520f91b092666e4d639a558cb8

See more details on using hashes here.

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