~blowry/pokegen

Random Pokémon team generator
changes to team generation algorithm to make generating a specific number of points more efficient
handle exception when attempting to share a nonexistent team
fix grabdata not working with BSD sed

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~blowry/pokegen
read/write
git@git.sr.ht:~blowry/pokegen

You can also use your local clone with git send-email.

#pokegen

A random web-based Pokémon team generator using Smogon tiers.

#Installation

Get the dependencies with pip3 install -r requirements.txt. Run ./grabdata.sh to get the required JSON files from the Pokémon Showdown repository. You also need a locally-hosted Redis server with no authentication on the default port (or edit app.py to add login info.) Once you have both of these things, you can run the app using your favorite Python WSGI server, or just flask run to use the Flask development server.

#Todo

Add more generator options and make an actual algorithm to generate teams with specific point totals more efficiently than lazy brute-forcing.

#License

Copyright 2021 Benjamin Lowry

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.