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
.env
in the repository root with the following values:
# Database variables if using the database, which are:
## Database host address
DATABASE_HOST="localhost:5000"
## Database name
DATABASE_NAME="database"
## Database username
DATABASE_USER="user"
## Database password
DATABASE_PASSWORD="user"
# A Discord bot token if using the backtrace:
BOT_TOKEN="xxxxxx.xxxxxx.xxxxxx"
# Source address for Battlefy backend
CLOUD_BACKEND="https://xxxxx.cloudfront.net"
# 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"
# Path to SplatTagConsole for Slapp things
SLAPP_CONSOLE_PATH=".../SplatTagConsole.dll"
# Path to the Slapp App Data folder
SLAPP_DATA_FOLDER=".../SplatTag"
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/*
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.1.1.tar.gz
(48.5 kB
view hashes)
Built Distribution
Close
Hashes for SlappPy_Slate-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63508ab264e7b4ea4a8bec64227bdf28cb6b28aa28389508bbf1f598f75e38ef |
|
MD5 | fbaa2184f2ef2f460d042a3f970f2588 |
|
BLAKE2b-256 | a9c4ddfa1e8313f78a03c5747295cb23f24fa2aecc105962282de1f8b9cbc7f2 |