Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
achallonge-compat-fork
Advanced tools
async Challonge for Python 3.5+
Modern library that is more than just a wrapper for the Challonge web API
aiohttp
Optional:
cchardet
faster replacement for chardet, as mentionned on the aiohttp pageaiodns
for speeding up DNS resolving, highly recommended by aiohttp3.5
3.6
3.7
pip install achallonge
If you want to have the optional dependencies for aiohttp, you can:
pip install achallonge[speed]
import challonge
async def foo():
# Log in into Challonge with your CHALLONGE! API credentials (https://challonge.com/settings/developer).
user = await challonge.get_user('your_challonge_username', 'your_api_key')
# Retrieve your tournaments
tournaments = await user.get_tournaments()
# Tournaments, matches, and participants are all represented as Python classes
for t in tournaments:
print(t.id) # 3272
print(t.name) # 'My Awesome Tournament'
print(t.status) # 'open'
# Retrieve the participants for a given tournament.
participants = await tournaments[0].get_participants()
print(len(participants)) # 13
The full documentation can be found on Read the docs
Distributed under MIT license. See LICENSE
for details
Fabien Poupineau (fp12) - 2017-2019
Twitter: @fp12gaming
Join the Discord Server and discuss about this lib!
FAQs
A python library to use the Challonge API
We found that achallonge-compat-fork demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.