SlapPy
SlapPy is the Python support and generation code for Slapp and Dola. Code on Github.
Requirements
- Python 3.9+
- Create a
.envin the repository root with the following values:
# Required values:
# Source address for Battlefy backend
CLOUD_BACKEND="https://xxxxx.cloudfront.net"
# Path to SplatTagConsole for Slapp things
SLAPP_CONSOLE_PATH=".../SplatTagConsole.dll"
# Path to the Slapp App Data folder
SLAPP_DATA_FOLDER=".../SplatTag"
# Optional values depending on requirements:
# Database variables if using the database, which are:
DATABASE_HOST="localhost:5000"
DATABASE_NAME="database"
DATABASE_USER="user"
DATABASE_PASSWORD="user"
# A Discord bot token if using the backtrace:
BOT_TOKEN="xxxxxx.xxxxxx.xxxxxx"
# Challonge credentials if using Challonge downloaders
CHALLONGE_API_KEY="xxxx"
CHALLONGE_USERNAME="YourUsername"
# Smash GG credentials if using Smash GG downloaders
SMASH_GG_API_KEY="xxxx"
Distribution
The following 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/*
Release files for SlappPy-Slate 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SlappPy-Slate-1.2.1.tar.gz | 48.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SlappPy_Slate-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.0 kB
Release files / SlappPy-Slate-1.2.1.tar.gz
| Download URL | SlappPy-Slate-1.2.1.tar.gz |
|---|---|
| Size | 48.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08fbbc5ecf1e166ca35108b32ccd07e11329284bddd079058cf7c87e0a7f1f58
|
|
BLAKE2b-256 checksum How to use checksums |
97f9f64b85b74fcbbd5d8bcb0af1edb5daf66b059f10ecfe26e95a53ee43b8f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0
|
Release files / SlappPy_Slate-1.2.1-py3-none-any.whl
| Download URL | SlappPy_Slate-1.2.1-py3-none-any.whl |
|---|---|
| Size | 65.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c39971bc8edbed06936e89afef82d5c3715d62bc3a9635cbd4ec4b03f8c397bb
|
|
BLAKE2b-256 checksum How to use checksums |
e3d0c14b3925da0dbd525a80846a44b2921e458a088a1a0c4c801d041ebc03a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0
|