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/*
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SlappPy-Slate-1.2.1.tar.gz
(48.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SlappPy-Slate-1.2.1.tar.gz.
File metadata
- Download URL: SlappPy-Slate-1.2.1.tar.gz
- Upload date:
- Size: 48.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08fbbc5ecf1e166ca35108b32ccd07e11329284bddd079058cf7c87e0a7f1f58
|
|
| MD5 |
fff40b912f47a4114788e80a3dfe789a
|
|
| BLAKE2b-256 |
97f9f64b85b74fcbbd5d8bcb0af1edb5daf66b059f10ecfe26e95a53ee43b8f3
|
File details
Details for the file SlappPy_Slate-1.2.1-py3-none-any.whl.
File metadata
- Download URL: SlappPy_Slate-1.2.1-py3-none-any.whl
- Upload date:
- Size: 65.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c39971bc8edbed06936e89afef82d5c3715d62bc3a9635cbd4ec4b03f8c397bb
|
|
| MD5 |
3bf6ff13a4339cb95d94528aa58fa22d
|
|
| BLAKE2b-256 |
e3d0c14b3925da0dbd525a80846a44b2921e458a088a1a0c4c801d041ebc03a0
|