Giter Club home page Giter Club logo

demolyzer's Introduction

Demolyzer

Demolyzer is a statistics and data library for analyzing TF2 demo files. The main goal is to transform demo files into csv files and provide more downstream transformations to make it easier to analyze and plot data. After following the installation instructions below, basic usage is as follows:

from demolyzer.stats import DemoAnalyzer

my_demoanalyzer = DemoAnalyzer("path_to_my_demo.dem")

# see methods in `DemoAnalyzer` for more information..

my_demoanalyzer.players
my_demoanalyzer.num_players

death_stats = my_demoanalyzer.death_stats()
print(death_stats)

Prerequisites

Python 3.10 or higher is required.

Installation

First, clone the repository and cd into it:

git clone https://github.com/MegaAntiCheat/demolyzer.git
cd demolyzer

Next, create a virtual environment:

python3 -m venv venv

Then activate it

On Unix and MacOS:

source venv/bin/activate

On Windows:

.\venv\Scripts\activate

Development

For development, additional dependencies are needed:

pip install -e ".[dev]"

Formatting

isort demolyzer tests
black demolyzer tests

demolyzer's People

Contributors

jayceslesar avatar sewerratmkwii avatar birchish avatar megascatterbomb avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.