{"id":17861747,"url":"https://github.com/mtimkovich/maxpr","last_synced_at":"2025-04-02T20:49:04.101Z","repository":{"id":143718225,"uuid":"71427550","full_name":"mtimkovich/maxpr","owner":"mtimkovich","description":"MaxPR for Smash.gg","archived":false,"fork":false,"pushed_at":"2018-12-27T18:04:40.000Z","size":49,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-01T13:48:54.030Z","etag":null,"topics":["elo","melee","smashgg","ssbm","tournament","trueskill"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtimkovich.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-20T05:14:00.000Z","updated_at":"2018-12-27T18:04:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"563b755f-7b37-41a5-95a5-8298ed983b0f","html_url":"https://github.com/mtimkovich/maxpr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtimkovich%2Fmaxpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtimkovich%2Fmaxpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtimkovich%2Fmaxpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtimkovich%2Fmaxpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtimkovich","download_url":"https://codeload.github.com/mtimkovich/maxpr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246892803,"owners_count":20850846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elo","melee","smashgg","ssbm","tournament","trueskill"],"created_at":"2024-10-28T08:47:37.577Z","updated_at":"2025-04-02T20:49:03.894Z","avatar_url":"https://github.com/mtimkovich.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MaxPR for [Smash.gg][1]\n\nMaxPR is a program to generate Elo ratings for given [smash.gg][1] brackets.\n\nIt can output the results as either an HTML page or as a table.\n\nThe Elo is calculated using using the [TrueSkill][2] library.\n\n## Dependencies\n\n- [TrueSkill][2]\n- [pysmash][4]\n- [Mako][3]\n\n## Setup\n\n```\ncd src\nvirtualenv --clear env\nsource env/bin/activate\npip install -r requirements.txt\n```\n\n## Usage\n\n`maxpr.py` takes one argument, which is a file with all tournaments to scrape from, with each tournament on a separate line.\nBe sure to use the entire smash.gg bracket URL e.g. https://smash.gg/tournament/get-smashed-at-the-foundry-101/events/melee-singles/brackets/79121. Look at the `sample_input_file.txt` for an example of how it should look.\nThe tournaments *must* be in chronological order, otherwise the generated\nratings will be incorrect. Lines starting with a '#' will be ignored.\n\nThe `--html` flag can be given to generate the html page.\n\n`--title` can be used to set the name of your tournament series on the generated html page.\n\nYou can use `--min` to define a minimum amount of matches that has to be played before a player is eligible to be in the list.\n\nThe `--tag-map` can be given to a JSON file (see `remap.json` for an example) containing mappings from one tag to another. You can use this for players with multiple tags, particularly players without [smash.gg][1] accounts.\n\n\n## Issues\n\nPlease let me know if you run into any issues by [filing a bug][issue].\n\n[1]: http://smash.gg\n[2]: http://trueskill.org\n[3]: http://www.makotemplates.org\n[4]: https://github.com/PeterCat12/pysmash\n[issue]: https://github.com/mtimkovich/smash_maxpr/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtimkovich%2Fmaxpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtimkovich%2Fmaxpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtimkovich%2Fmaxpr/lists"}