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


browse  log 



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


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


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.


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


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


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.