Skip to main content

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+
  • A root tokens module, which should contain:
    • Database variables if using the database, which are:
      • HOST = Database host address e.g. localhost:5000
      • DATABASE = Database name
      • USER = Database username
      • PASSWORD = Database user password
    • A Discord bot token if using the backtrace:
      • BOT_TOKEN = 'xxxxxx.xxxxxx.xxxxxx'
    • Source address for Battlefy backend
    • Challonge credentials if using Challonge downloaders
      • CHALLONGE_API_KEY = 'xxxx'
      • CHALLONGE_USERNAME = Your username
    • Smash GG credentials if using SmashGG downloaders
      • SMASH_GG_API_KEY = 'xxxx'
    • Slapp data folder for default loading from a path
      • SLAPP_APP_DATA = 'xxxx\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


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.0.0.tar.gz (49.0 kB view hashes)

Uploaded Source

Built Distribution

SlappPy_Slate-1.0.0-py3-none-any.whl (65.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page