{"repo":"ZEDGR/pychallonge","free":true,"listed":false,"github":"https://github.com/ZEDGR/pychallonge","clone":"git clone https://github.com/ZEDGR/pychallonge.git","description":"Python Module for the CHALLONGE API","language":"Python","stars":49,"topics":["challonge","api-wrapper","tournaments","python"],"license":"BSD-2-Clause","category":"api-integrations-sdks","readme_excerpt":"pychallonge Lightweight Python wrapper for the Challonge API. The pychallonge module was created by Russ Amos and maintained by George Lemanis Python version support - 3.10 or later Installation The pychallonge package is available on PyPI and you can install it through your favorite package manager: pip install pychallonge Usage Context manager Async Timezone By default datetime fields are normalised to your machine's local timezone. Pass a timezone string to override: See challonge.com for full API documentation. API Issues The Challonge API has some issues with the attachments endpoints. When uploading an attachment with a file (asset), the API returns a 500 internal server error. This issue has been reported to Challonge. The check-in undo endpoint has unexpected behaviour: the checked in field in the API response remains True even after a successful undo. The participant is correctly marked as not checked in on the website. Running the tests Tests make real API calls and require a Challonge account. Set CHALLONGE USER and CHALLONGE KEY in your environment before running. $ git clone https://github.com/ZEDGR/pychallonge $ cd pychallonge $ CHALLONGE USER=my user CHALLONGE KEY=my api key uv run pytest tests.py -v Note that several tournaments are created and destroyed over the course of the tests. If any test fails mid-run, orphaned tournaments can be cleaned up as follows:","default_branch":null,"files":null,"tree":[],"storefront":"/r/ZEDGR","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ZEDGR/pychallonge/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}