https://github.com/scopatz/w3g

Access Warcraft 3 replay files from Python 2 or 3

https://github.com/scopatz/w3g

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.5%) to scientific vocabulary

Keywords

hacktoberfest
Last synced: 10 months ago · JSON representation

Repository

Access Warcraft 3 replay files from Python 2 or 3

Basic Info
  • Host: GitHub
  • Owner: scopatz
  • License: cc0-1.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 311 KB
Statistics
  • Stars: 44
  • Watchers: 9
  • Forks: 16
  • Open Issues: 3
  • Releases: 6
Topics
hacktoberfest
Created over 11 years ago · Last pushed over 3 years ago
Metadata Files
Readme Changelog License

readme.rst

W3G: The Warcraft 3 Replay File Format
--------------------------------------
This is a single module package that contains everything that is needed to 
read in the Warcraft 3 replay file format ``*.w3g``.  W3G is a custom 
binary format.  The benefits of this are that the files are small, even for 
very long games.  The downside is that for them to be meaningfully a lot of 
extra data needs to be provided (as is done here for you) for these files
to be meaningfully deciphered.

The replays basically amount to a bunch of metadata (map, players, etc) and a 
big event list.  The file parser here provides you with access to this data 
as well as some post-processed metrics, such as actions-per-minute (APM).  

The API should be easy to use and figure out. Classes and attributes are named in a
sane way. Here is an example of usage::

    import w3g
    f = w3g.File('replay.w3g')

    winner = f.winner()
    print(winner)

    f.print_apm()

You can also use this file in script mode to print out the entire game and 
its stats::

    $ ./w3g.py  replay.w3g

If you have any questions or issues, please email me or leave an issue on the 
issue tracker.

/scopzout

Owner

  • Name: Anthony Scopatz
  • Login: scopatz
  • Kind: user
  • Location: Chicago, IL

GitHub Events

Total
  • Watch event: 2
Last Year
  • Watch event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 96
  • Total Committers: 7
  • Avg Commits per committer: 13.714
  • Development Distribution Score (DDS): 0.156
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Anthony Scopatz s****z@g****m 81
manh4wk g****k@h****m 5
Manuel Zapf m****l@c****s 5
Manuel Zapf me@m****o 2
bhughes339 b****9@g****m 1
Mykola Yakovliev V****Q@g****m 1
sv-github s****r@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 8
  • Total pull requests: 9
  • Average time to close issues: 5 months
  • Average time to close pull requests: 9 days
  • Total issue authors: 7
  • Total pull request authors: 5
  • Average comments per issue: 4.13
  • Average comments per pull request: 2.33
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kungfoolfighting (2)
  • lukas2342 (1)
  • modmoto (1)
  • koin612 (1)
  • olegakbarov (1)
  • hhllcks (1)
  • BarbzYHOOL (1)
Pull Request Authors
  • SantoDE (4)
  • manh4wk (2)
  • sv-v5 (1)
  • Vegasq (1)
  • bhughes339 (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
conda-forge.org: w3g
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 34.0%
Forks count: 36.7%
Stargazers count: 38.3%
Average: 40.1%
Dependent packages count: 51.2%
Last synced: 11 months ago

Dependencies

setup.py pypi