Battlefy-Toolkit
A toolkit to download Battlefy data made by Inkling Research Labs (IPL). Code on Github.
Import prefix is battlefy_toolkit.
Requirements
- Python 3.9+
DiscordIdResolver
- Can translate a Discord Id to information.
- If multiple requests are to be made, a single DiscordIdResolver should be created and resolve_discord_id called multiply.
if __name__ == '__main__':
from battlefy_toolkit.resolvers.DiscordIdResolver import DiscordIdResolver
resolver = DiscordIdResolver(f"your.bot.token")
info1 = resolver.resolve_discord_id(97288493029416960)
info2 = resolver.resolve_discord_id(763492840038465537)
print(info1.qualified_username)
print(info2.qualified_username)
Distribution
- Update the version info in setup.py, then,
- Commands should be entered into the venv console:
Windows:
rmdir /S build
rmdir /S dist
py -m pip install --upgrade build
py -m build
py -m pip install --upgrade twine
py -m twine upload dist/*
Linux:
rm -r build
rm -r dist
python3 -m pip install --upgrade build
python3 -m build
python3 -m pip install --upgrade twine
python3 -m twine upload dist/*
Metadata
Release files for battlefy-toolkit-Slate 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| battlefy_toolkit-Slate-1.3.0.tar.gz | 15.5 kB | Without provenance | Details for battlefy_toolkit-Slate-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| battlefy_toolkit_Slate-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for battlefy_toolkit_Slate-1.3.0-py3-none-any.whl |
Total release size: 35.5 kB
Release files / battlefy_toolkit-Slate-1.3.0.tar.gz
| Download URL | battlefy_toolkit-Slate-1.3.0.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31085573eb1302f2f221d6f3b563d9169546b65e65ef7abc5bf97dc1b96bd016
|
|
BLAKE2b-256 checksum How to use checksums |
3c71a1993e98d3a6d71e3df9667486f9bb8a37f8083e4c53ae53e2647d5136cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / battlefy_toolkit_Slate-1.3.0-py3-none-any.whl
| Download URL | battlefy_toolkit_Slate-1.3.0-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2bc74bf3050c749e167a2d70bffa92e1bc1a8b0c5af23d54d8654ed1e79bef4
|
|
BLAKE2b-256 checksum How to use checksums |
0c808e1447ddcddfd5c1f2d7448242cec68c76b1bda621908b8d5b62ca5e094e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Security for battlefy-toolkit-Slate 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.