SlappPy is the Python support and generation code for Slapp and Dola.
Project description
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
Up-version by changing setup.py.
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/*
Project details
Release history Release notifications | RSS feed
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.4.1.tar.gz
(51.4 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.4.1.tar.gz.
File metadata
- Download URL: SlappPy-Slate-1.4.1.tar.gz
- Upload date:
- Size: 51.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 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 |
8acffe57b804ed717fa6f3a9911da323ad5a1a1704b269e92fb8696c420b9cdf
|
|
| MD5 |
2d95b7d5a764c6640888af0c83156b04
|
|
| BLAKE2b-256 |
d91e39a72be3e6db2758fdaaa1e10e19e13ab07df9f7a64396d11cf76d761d27
|
File details
Details for the file SlappPy_Slate-1.4.1-py3-none-any.whl.
File metadata
- Download URL: SlappPy_Slate-1.4.1-py3-none-any.whl
- Upload date:
- Size: 68.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 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 |
7c1cf56a33fc073d646cd7ac82920d326475ba7098dc8adaaaa2d8ac3944246c
|
|
| MD5 |
07ee5fd2497853862a7890b6f33bba24
|
|
| BLAKE2b-256 |
8a37b40e7340fccb514f017b1f04f2ff3a8655de2a0d1d5525d344bd0b35ab87
|