diff --git a/_sources/usage.txt b/_sources/usage.txt index facd962..0c662ba 100644 --- a/_sources/usage.txt +++ b/_sources/usage.txt @@ -35,7 +35,7 @@ here, but if you intend to do some serious work, do read SQLAlchemy's docs. XXX: write the rest of this -..:: +.. commented out old stuff Pokédex tables -------------- diff --git a/objects.inv b/objects.inv index e1476e4..585b1c1 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/searchindex.js b/searchindex.js index 8effc59..054ced9 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({objects:{"pokedex.db.tables":{NaturePokeathlonStat:[2,1,1],SuperContestEffect:[2,1,1],PokemonHabitat:[2,1,1],PokemonDexNumber:[2,1,1],ItemCategory:[2,1,1],PokemonEggGroup:[2,1,1],ContestCombo:[2,1,1],PokeathlonStat:[2,1,1],PokemonSpeciesFlavorText:[2,1,1],metadata:[2,2,1],Machine:[2,1,1],PokemonSpecies:[2,1,1],Version:[2,1,1],EggGroup:[2,1,1],ItemFlingEffect:[2,1,1],mapped_classes:[2,2,1],PokemonAbility:[2,1,1],NatureBattleStylePreference:[2,1,1],PokemonMove:[2,1,1],Type:[2,1,1],GrowthRate:[2,1,1],MoveVersion:[2,1,1],MoveBattleStyle:[2,1,1],BerryFirmness:[2,1,1],LocationGameIndex:[2,1,1],Stat:[2,1,1],MoveMeta:[2,1,1],PokemonType:[2,1,1],PokemonFormPokeathlonStat:[2,1,1],ContestEffect:[2,1,1],Nature:[2,1,1],EncounterConditionValue:[2,1,1],EvolutionTrigger:[2,1,1],MoveEffect:[2,1,1],MoveMetaAilment:[2,1,1],MoveFlavorText:[2,1,1],LocationArea:[2,1,1],ItemFlag:[2,1,1],PokemonItem:[2,1,1],EncounterSlot:[2,1,1],EncounterCondition:[2,1,1],MoveEffectChangelog:[2,1,1],AbilityFlavorText:[2,1,1],VersionGroupRegion:[2,1,1],MoveFlag:[2,1,1],Encounter:[2,1,1],MoveDamageClass:[2,1,1],ItemGameIndex:[2,1,1],Language:[2,1,1],BerryFlavor:[2,1,1],MoveMetaCategory:[2,1,1],Region:[2,1,1],PokemonGameIndex:[2,1,1],StatHint:[2,1,1],Experience:[2,1,1],PokemonColor:[2,1,1],AbilityChangelog:[2,1,1],Berry:[2,1,1],SuperContestCombo:[2,1,1],PokemonMoveMethod:[2,1,1],MoveTarget:[2,1,1],Ability:[2,1,1],PokemonForm:[2,1,1],ItemPocket:[2,1,1],PokemonEvolution:[2,1,1],Item:[2,1,1],Generation:[2,1,1],VersionGroup:[2,1,1],TypeEfficacy:[2,1,1],Move:[2,1,1],ItemFlagMap:[2,1,1],Pokedex:[2,1,1],EncounterMethod:[2,1,1],MoveMetaStatChange:[2,1,1],ItemFlavorText:[2,1,1],ContestType:[2,1,1],MoveFlagMap:[2,1,1],LocationAreaEncounterRate:[2,1,1],EvolutionChain:[2,1,1],PokemonStat:[2,1,1],EncounterConditionValueMap:[2,1,1],Pokemon:[2,1,1],PokemonShape:[2,1,1],Location:[2,1,1]},"pokedex.db":{tables:[2,0,0]}},terms:{all:[0,1,2,3],code:[2,3],chain:2,type_id:2,queri:0,consum:2,pokemon_move_method_pros:2,yellow:2,four:2,moveflagtyp:[],abil:[2,4],eeve:[0,3],follow:[0,3],hate:2,row:2,whose:2,system:[1,3],aria:0,shaymin:2,"pok\u00e9":2,program:3,location_game_indic:2,skip:3,locaion:2,introduc:2,awesome_nam:2,deactiv:3,sourc:3,everi:[0,2],string:[0,2],tame:2,itemcategori:[2,4],util:[0,2],minimum_level:2,fall:2,veri:2,affect:2,pokemonflavortext:[],min_hit:2,cool:2,itempocket:[2,4],level:2,gender:2,effect_ch:2,max_harvest:2,list:[0,2,3],defens:2,item:[0,2,4],minimum_happi:2,sane:0,form:[0,2],print_item:0,quick:[0,1,3],movetarget:[2,4],pleas:0,height:2,work:[0,2,3],move_flag_pros:2,speci:[0,2],natur:[2,3,4],attribut:[0,2],jump:[1,2],rate:2,cost:[0,2],decigram:2,habitat_id:2,download:3,short_effect:2,even:[2,3],index:[1,2,3,4],what:[0,2,3],appear:2,mainlin:[],section:0,lizard:2,find:3,current:3,version:[0,2,3,4],directori:3,appeal:2,method:[0,2],metadata:2,move_effect:2,evolved_pokemon_id:[],pressur:2,join:0,gener:[2,3,4],never:[],here:[0,2,3],bodi:2,mapped_class:2,abomasnow:0,let:3,contest_effect_id:2,ubuntu:[1,3],path:3,sinc:0,interpret:3,pokemon_species_pros:2,search:[1,2],version_group:2,versiongroup:[2,4],genu:[0,2],reason:3,print_pokemon:0,pokedex:[0,1,2,3,4],dri:2,prior:[],amount:2,base:[0,2],defeat:2,action:2,chang:[0,2,3],gene:2,chanc:2,encounter_slot:2,semant:2,via:[2,3],regardless:2,extra:[],move_flag_type_id:[],appli:2,prefer:2,apt:3,item_flag_map:2,put:3,itemflavortext:[2,4],api:0,encounter_condition_value_map:2,famili:2,sgn:2,instal:[1,3],gimmick:2,item_pocket:2,select:0,uniu:2,is_pokemon:[],from:[0,2,3],would:0,ext:2,two:[2,3],next:3,few:0,jam:2,call:[0,2],calm:2,supercontestcombo:[2,4],criteria:[],taken:2,type:[0,2,3,4],minor:2,more:[0,2,3],sort:[0,2],frenzi:0,babi:2,relat:[0,2],line:3,about:[0,3],pokemonspeciesflavortext:[2,4],warn:[],sore:[],flag:2,form_base_pokemon_id:[],rip:2,particular:[0,2],pokemon_form:2,egg_group_id:2,hold:2,effort:2,descrption:2,must:2,dex:2,none:2,gametext:2,word:2,hour:2,base_experi:2,setup:3,pokedex_db_engin:3,battl:2,uniqu:2,moveeffect:[2,4],histori:2,other:[0,2,3],unique_pokemon_id:[],can:[0,2,3],learn:[0,2],under:2,male:2,firmness_id:2,def:[0,2],versiongroupregion:[2,4],heart:2,sqlite:3,omit:[],prompt:3,climat:3,give:[0,3],nature_nam:2,sudo:3,share:2,indic:1,locationgameindex:[2,4],critic:2,minimum:2,want:[0,3],explos:0,color_id:2,occur:2,paleozo:0,alwai:[0,3],differenti:2,cours:3,end:3,nature_pokeathlon_stat:2,thing:[0,3],anoth:[0,3],contest_type_id:2,write:[0,3],how:[0,2,3],env:3,verifi:3,bit:3,move_meta_ail:2,simpl:0,distro:3,splendifer:2,map:[2,4],plant:0,locationareaencounterr:[2,4],evolution_trigg:2,trigger_item_id:2,mess:2,max:2,clone:3,earlier:3,variant:2,pokemon_habitat_nam:2,befor:[2,3],okai:2,beauti:2,language_nam:2,mai:2,multipl:2,pokemon_evolut:2,stat_hint:2,data:[0,2,3],eighth:2,physic:2,naturepokeathlonstat:[2,4],time_of_dai:2,"short":2,is_babi:2,read:0,seriou:0,counter:2,favorit:3,correspond:[2,3],element:2,caus:2,inform:0,"switch":[2,3],environ:3,enter:2,tall:2,fallback:[],egg:2,order:[0,2],move_battle_style_pros:2,help:3,offici:2,move:[0,2,4],gender_r:2,becaus:3,meter:2,trade:2,trade_pokemon_id:[],"_python":0,through:2,venusaur:0,abilityflavortext:[2,4],still:[],form_:[],testcod:0,multilang:2,oppon:2,style:2,group:2,primarili:2,pokemon_form_id:2,encounter_id:2,is_battle_onli:2,feel:3,jigglypuff:2,crit_rat:2,encountercondit:[2,4],main:2,might:[0,3],them:[0,2,3],good:[],"return":0,hates_flavor_id:2,thei:[0,2],fling:2,python:[0,3],movemetaail:[2,4],pokeathlonstat:[2,4],dai:2,initi:2,nation:2,solarbeam:0,half:2,item_nam:2,now:3,ability_flavor_text:2,term:[],growth_rat:2,name:[0,2],anyth:3,move_flag_id:2,bonu:2,separ:2,iff:2,form_descript:2,trap:2,move_flag_map:2,each:2,found:[],went:3,is_dream:2,mean:[0,2,3],beween:2,ailment:2,weight:2,individu:2,hard:2,idea:[],contest_type_nam:2,locationarea:[2,4],firer:2,"static":2,connect:[0,1],inflict:2,encounter_slot_id:2,leafgreen:2,our:3,meth:0,beyond:2,tenth:2,special:2,out:[0,2,3],variabl:3,"pok\u00e9dex":[0,1,2,4],type_nam:2,virtualenv:3,goe:3,miss:[],defend:2,berryflavor:[2,4],whoosh:3,categori:2,bonus:2,palac:2,extra_languag:[],print:0,formula:2,item_flag:2,item_pocket_nam:2,correct:2,red:2,atuomat:3,pokemonevolut:[2,4],advanc:3,given:2,free:3,standard:2,wormadam:[],evolution_chain:2,orm:0,ability_changelog:2,item_id:2,org:0,teach:2,flare:0,could:2,traceback:0,atk:2,struggl:[],filter:0,turn:2,region_nam:2,place:2,isn:2,pokemonstat:[2,4],summari:2,confus:3,think:3,first:[0,2],oper:[0,3],minimum_beauti:2,rang:2,move_effect_changelog_pros:2,genesect:0,directli:3,spoken:2,engine_prefix:[],pokemon_item:2,number:2,trade_species_id:2,yourself:[],instruct:3,relative_physical_stat:2,done:[1,2,3],construct:3,party_pokemon_id:[],item_fling_effect:2,known_move_id:2,primari:2,size:2,prioriti:2,move_battle_style_id:2,script:[0,3],associ:[2,4],caught:2,breed:2,sometim:[0,2],messag:2,grow:2,kanto:2,swarm:2,attack:2,soil_dry:2,order_bi:0,evolves_from_pokemon_id:[],storm:0,pokemonmovemethod:[2,4],conveni:0,"final":[0,2],schema:[1,2,4],shell:3,option:3,move_target:2,movebattlestyl:[2,4],tool:3,copi:3,ability_pros:2,specifi:[2,3],main_region_id:2,part:2,egggroup:[2,4],consult:0,move_battle_styl:2,exactli:[0,2],than:0,pokemon_move_method_id:2,wide:3,nature_battle_style_prefer:2,pokemon_shap:2,evolution_chain_id:2,whenev:3,tree:2,second:2,growthrat:[2,4],move_meta:2,matter:2,meta_category_id:2,paralysi:2,flame:2,bind:[],pokeathlon_stat:2,danc:0,decimet:2,seri:2,exhibit:2,lowest:2,comput:3,region_id:2,plaintext:2,encounter_method_pros:2,ani:[0,2],decreased_stat_id:2,generation_id:2,generation_nam:2,packag:3,item_flag_id:2,seed:[0,2],have:[0,2,3],tabl:[0,1,2,4],need:[0,2,3],location_area_encounter_r:2,ambigu:[],location_id:2,moveflagmap:[2,4],sell:2,engin:3,techniqu:2,zero:[],movevers:[2,4],item_fling_effect_pros:2,maximum:2,accuraci:2,note:[0,2],also:[2,3],without:[0,2],super_contest_combo:2,take:2,which:2,hatch:2,pokemontyp:[2,4],min_turn:2,singl:2,contesttyp:[2,4],surf:2,blue:2,sure:3,unless:[0,2],distribut:3,normal:[0,2],multipli:2,price:2,berry_flavor:2,ability_nam:2,canonical_pokedex_id:2,most:[0,2,3],pokemon_typ:2,pokemon_mov:2,diglett:0,letter:2,millimet:2,pair:2,stat_hint_nam:2,pokemon_species_nam:2,sub:2,pokemon_nam:2,don:[0,3],pokemon_shape_id:[],dream:2,lose:2,cover:0,uri:0,doe:[2,3],increased_stat_id:2,declar:2,exp:2,movemeta:[2,4],link:2,effect:2,usual:[0,2],moveflag:[2,4],fact:2,translat:[0,2,3],deoxi:2,charmeleon:0,super_contest_effect_id:2,show:0,text:[0,2,4],melodi:0,meloetta:0,type_efficaci:2,area:2,session:[0,3],moveeffectchangelog:[2,4],pokemonshap:[2,4],anywai:3,slot:2,pokemon_form_nam:2,onli:[0,2,3],explicitli:0,locat:[2,4],pretti:3,pokemonspeci:[0,2,4],much:3,explain:0,configur:3,activ:3,cloak:[],should:[0,2,3],wood:0,order_by_nam:0,combo:2,footnot:3,flinch:2,over:2,pokemonitem:[2,4],count:2,hit:2,machine_numb:2,pokemonformgroup:[],get:[0,1,2,3],location_nam:2,form_identifi:2,express:0,target_id:2,stathint:[2,4],bear:2,secondari:[],pocket:2,session_arg:[],cannot:2,foremost:0,ability_changelog_pros:2,increas:2,gen:2,requir:2,target:2,berry_id:2,item_pros:2,evolution_trigger_id:2,fling_pow:2,organ:0,encounter_condition_value_pros:2,maxmum:2,encounter_method_id:2,twice:2,stuff:[2,4],common:[0,2],encounterconditionvalu:[2,4],contain:[2,3],abilitychangelog:[2,4],pokemon_speci:2,bought:2,where:2,natural_gift_type_id:2,encounterconditionvaluemap:[2,4],pokemon_color:2,set:[2,3],modulo:2,pick:2,knowledg:3,startup:[1,3],pokemonmov:[2,4],see:[0,2,3],full:[0,2],fling_effect_id:2,version_group_id:2,sport:2,hammer:0,onc:[],target_type_id:2,statu:[2,3],brave:2,kei:2,expert:3,pokemon_id:2,sorta:2,databas:[0,1,2,3,4],someth:0,yet:3,enough:[2,3],won:[0,3],game_index:2,move_changelog:[],between:2,"import":0,experi:[0,2,4],across:2,contest_combo:2,tent:2,altern:[0,2],naturebattlestyleprefer:[2,4],johto:2,parent:2,numer:2,attempt:[],condit:2,pokemoncolor:[2,4],extens:2,pokedex_index_dir:3,succeed:3,pocket_id:2,pokemon_form_group_pros:[],meta_ailment_id:2,water:0,last:[0,2],berri:[2,4],region:[2,4],"pok\u00e9block":2,equal:2,foreign:2,etc:2,tutori:0,pokemon_species_flavor_summari:2,itemflingeffect:[2,4],pokemon:[0,2,4],nullabl:[],mani:[2,3],dimorph:2,rariti:2,com:3,load:[0,1,3],among:2,pokeathlon_stat_nam:2,markdown:[2,3],pokemon_game_indic:2,point:2,color:2,sky:2,contest_effect_pros:2,item_game_indic:2,written:3,differ:[0,2],linux:3,cancel:2,assum:3,duplic:0,quit:0,baby_trigger_item_id:2,itemflagmap:[2,4],movechangelog:[],encounter_condition_pros:2,three:3,been:2,tutor:2,keldeo:0,trigger:2,contestcombo:[2,4],interest:3,certain:2,pokemon_flavor_summari:[],evolut:[0,2],movemetastatchang:[2,4],quickli:2,firm:2,hoenn:2,ivysaur:0,sprite:2,move_nam:2,xxx:0,great:0,argument:0,item_flag_pros:2,togeth:2,func:0,els:2,berry_firm:2,high_hp_prefer:2,present:2,movedamageclass:[2,4],"case":[2,3],party_species_id:2,max_level:2,look:0,move_meta_ailment_nam:2,pokemon_habitat:2,straight:2,properti:2,encountermethod:[2,4],pokemon_move_method:2,defin:[0,2],"while":2,smart:2,behavior:2,pokemon_shape_pros:2,wild:2,exist:[0,2,3],iso3166:2,loos:2,pokemon_form_group:[],move_flavor_summari:2,move_flag_typ:[],encounter_condition_valu:2,translation_class:2,almost:2,soil:2,max_hit:2,non:2,worri:0,player:2,itself:2,meaning:2,descript:2,pokemon_dex_numb:2,filter_bi:0,result:0,move_effect_changelog:2,pokemonhabitat:[2,4],"null":2,develop:3,berry_firmness_nam:2,author:3,perform:2,parti:2,make:[0,2,3],belong:2,same:[0,2,3],check:3,handl:[],html:0,postgresql:3,document:[0,1,3],higher:2,species_id:2,ball:[0,2],raichu:0,pokedex_pros:2,ability_id:2,pikachu:0,stat_nam:2,engine_arg:[],second_move_id:2,move_vers:2,move_flavor_text:2,rais:[],user:[2,3],has_gender_differ:2,countri:2,changed_in_version_group_id:2,move_meta_stat_chang:2,berryfirm:[2,4],move_id:2,recent:0,appropri:[0,2],super_contest_effect:2,contesteffect:[2,4],natural_gift_pow:2,"pok\u00e9mon":[0,2,3,4],whole:2,thu:2,well:[2,3],except:[0,2],effect_id:2,flinch_chanc:2,moveflavortext:[2,4],location_area_id:2,exampl:[0,2],command:3,item_categori:2,thi:[0,2,3],english:0,forms_switch:2,gift:2,category_id:2,mic:[2,4],unchang:[],identifi:[0,2],munber:2,"true":2,entri:2,move_flag_type_pros:[],rest:[0,3],shape:2,move_effect_pros:2,pokemondexnumb:[2,4],flavor:[2,4],speed:2,contest_typ:2,languag:[0,2,3,4],characterist:2,testoutput:0,percent:2,had:2,encounter_condition_value_id:2,add:2,held_item_id:2,move_damage_class:2,itemflag:[2,4],"pok\u00e9athlon":2,pokemon_flavor_text:[],match:[],build:[],bin:3,applic:2,bicycl:2,pokemon_:2,format:0,preserv:[],big:3,version_nam:2,supercontesteffect:[2,4],veekun:3,form_nam:2,is_default:2,movemetacategori:[2,4],game:2,minimum_stat:2,world:2,shadow:0,walk:2,you:[0,2,3],mod:0,move_target_pros:2,likes_flavor_id:2,like:[0,1,2,3],specif:[0,2],changelog:[2,4],integ:2,collect:2,either:[0,2,3],night:2,evolutionchain:[2,4],anti:3,maximum_stat:2,soft:2,page:1,encount:[2,4],www:0,right:1,old:2,often:2,habitat:2,snatchabl:2,whatev:2,some:[0,2,3],back:2,percentag:2,global:2,damage_type_id:2,intern:2,growth:2,smoothli:3,location_area:2,small:0,guess:0,ailment_ch:2,librari:[0,1,3],gene_mod_5:2,autofunct:0,base_happi:2,charmand:0,both:2,pokemonegggroup:[2,4],"_sqlalchemi":0,language_id:2,per:2,move_flag:2,when:2,evolv:2,leav:3,contact:2,encounterslot:[2,4],damage_class_id:2,egg_group:2,damag:2,machin:[2,4],core:2,object:0,run:[0,3],power:[0,2],contest_effect:2,post:2,"enum":[2,4],version_id:2,evolutiontrigg:[2,4],argumenterror:0,step:2,relationship:0,prerequisit:[1,3],evolves_from_species_id:2,major:[0,2],"super":2,unicod:2,stage:2,chapter:3,min_level:2,actual:[0,2],column:2,holdabl:2,http:0,zweilou:0,unfortun:3,stat_chanc:2,encounter_condit:2,move_damage_class_pros:2,produc:2,encounter_method:2,own:[2,3],pokemon_species_flavor_text:2,item_flavor_text:2,burmi:[],within:2,ditto:2,empti:[2,3],shape_id:2,bool:2,your:[0,3],base_stat:2,move_meta_category_pros:2,unown:2,git:3,fill:0,pokemonformpokeathlonstat:[2,4],wai:[0,2],pokemon_color_nam:2,aren:[],captur:2,lone:2,growth_rate_pros:2,happi:[2,3],stamina:2,start:0,reli:0,version_group_region:2,franchis:2,includ:[0,2,3],pokemon_egg_group:2,max_turn:2,fish:2,treat:2,"function":[0,2],evolution_trigger_pros:2,evolved_species_id:2,necessarili:2,item_flavor_summari:2,latex:2,forc:2,stat_id:2,heal:2,basic:0,femal:2,low_hp_prefer:2,content:1,state:2,recoil:2,gain:2,offens:2,nature_id:2,highest:2,categor:2,flavor_text:2,info:0,iso639:2,max_chang:2,itemgameindex:[2,4],attr:0,possibl:[2,3],whether:2,access:2,smooth:2,displai:2,pokedex_numb:2,growth_rate_id:2,record:2,below:[0,2],taught:2,doc:0,anotherenv:3,otherwis:2,problem:3,grass:[0,2],similar:0,expect:0,pokedex_id:2,egg_group_pros:2,pokeathlon_stat_id:2,creat:[0,3],"int":2,request:[],"abstract":2,futur:0,doesn:[2,3],repres:2,pokemongameindex:[2,4],incomplet:[],decreas:2,file:3,valu:2,pip:3,genderless:2,flavor_summari:2,mole:0,probabl:0,rainbow:0,know:[0,2,3],contest:[2,4],unalias:[],sexual:2,growth_tim:2,detail:[2,3],"default":[0,2,3],bulbasaur:0,bracket:2,lookup:3,whip:0,pokemon_form_pokeathlon_stat:2,typeefficaci:[2,4],first_move_id:2,capture_r:2,petal:0,pichu:0,stat:[2,4],potion:0,intend:0,determin:2,"class":[0,2],time:[2,3],sqlalchemi:[0,2,3],encounter_condition_id:2,affix:2,poffin:2,introduced_in_version_group_id:2,hatch_count:2,kinda:2,sql:0,leaf:0,debian:[1,3],location_area_pros:2,outdat:3,pokemonform:[2,4],longer:2,move_meta_categori:2,super_contest_effect_pros:2,pokemon_stat:2,damage_factor:2,kilogram:2,tricki:0,pirouett:0,potenti:2,item_category_pros:2,fresh:0},objtypes:{"0":"py:module","1":"py:dex-table","2":"py:data"},titles:["Using pokedex","The pokedex documentation","The pok\u00e9dex tables","Installing the pokedex library","The database schema"],objnames:{"0":"Python module","1":"dex-table","2":"Python data"},filenames:["usage","index","main-tables","installing","schema"]}) \ No newline at end of file +Search.setIndex({objects:{"pokedex.db.tables":{NaturePokeathlonStat:[2,1,1],SuperContestEffect:[2,1,1],PokemonHabitat:[2,1,1],PokemonDexNumber:[2,1,1],MoveFlavorText:[2,1,1],ContestCombo:[2,1,1],PokeathlonStat:[2,1,1],PokemonSpeciesFlavorText:[2,1,1],Machine:[2,1,1],PokemonSpecies:[2,1,1],Version:[2,1,1],EggGroup:[2,1,1],ItemFlingEffect:[2,1,1],mapped_classes:[2,2,1],PokemonAbility:[2,1,1],NatureBattleStylePreference:[2,1,1],PokemonMove:[2,1,1],Type:[2,1,1],GrowthRate:[2,1,1],MoveVersion:[2,1,1],MoveBattleStyle:[2,1,1],BerryFirmness:[2,1,1],MoveMetaStatChange:[2,1,1],Stat:[2,1,1],PokemonType:[2,1,1],PokemonFormPokeathlonStat:[2,1,1],ContestEffect:[2,1,1],Nature:[2,1,1],MoveTarget:[2,1,1],EncounterConditionValue:[2,1,1],EvolutionTrigger:[2,1,1],MoveEffect:[2,1,1],MoveMetaAilment:[2,1,1],PokemonEggGroup:[2,1,1],LocationArea:[2,1,1],ItemFlag:[2,1,1],PokemonItem:[2,1,1],EncounterSlot:[2,1,1],EncounterCondition:[2,1,1],MoveEffectChangelog:[2,1,1],AbilityFlavorText:[2,1,1],VersionGroupRegion:[2,1,1],MoveFlag:[2,1,1],Encounter:[2,1,1],EncounterConditionValueMap:[2,1,1],MoveDamageClass:[2,1,1],ItemGameIndex:[2,1,1],Language:[2,1,1],BerryFlavor:[2,1,1],MoveMetaCategory:[2,1,1],Region:[2,1,1],PokemonGameIndex:[2,1,1],StatHint:[2,1,1],Experience:[2,1,1],PokemonColor:[2,1,1],MoveMeta:[2,1,1],Berry:[2,1,1],SuperContestCombo:[2,1,1],PokemonMoveMethod:[2,1,1],ItemCategory:[2,1,1],Ability:[2,1,1],PokemonForm:[2,1,1],ItemPocket:[2,1,1],PokemonEvolution:[2,1,1],Item:[2,1,1],Generation:[2,1,1],VersionGroup:[2,1,1],TypeEfficacy:[2,1,1],Move:[2,1,1],ItemFlagMap:[2,1,1],AbilityChangelog:[2,1,1],EncounterMethod:[2,1,1],LocationGameIndex:[2,1,1],ItemFlavorText:[2,1,1],ContestType:[2,1,1],MoveFlagMap:[2,1,1],LocationAreaEncounterRate:[2,1,1],Pokedex:[2,1,1],EvolutionChain:[2,1,1],PokemonStat:[2,1,1],metadata:[2,2,1],Pokemon:[2,1,1],PokemonShape:[2,1,1],Location:[2,1,1]},"pokedex.db":{tables:[2,0,0]}},terms:{all:[1,2,3],code:[2,3],chain:2,type_id:2,queri:[],consum:2,pokemon_move_method_pros:2,yellow:2,language_id:2,four:2,tent:2,moveflagtyp:[],abil:[2,4],berry_firm:2,follow:3,lookup:3,hate:2,row:2,nature_id:2,whose:2,aria:[],palac:2,"pok\u00e9":2,program:3,certain:2,skip:3,locaion:2,introduc:2,awesome_nam:2,deactiv:3,sourc:3,everi:2,string:2,itemcategori:[2,4],util:[0,2],minimum_level:2,fall:2,veri:2,affect:2,pokemonflavortext:[],min_hit:2,cool:2,itempocket:[2,4],level:2,gender:2,effect_ch:2,max_harvest:2,list:[2,3],correct:2,item:[2,4],minimum_happi:2,sane:[],declar:2,print_item:[],quick:[1,3],movetarget:[2,4],pleas:[],height:2,work:[0,2,3],move_flag_pros:2,speci:2,natur:[2,3,4],request:[],jump:[1,2],rate:2,cost:2,decigram:2,habitat_id:2,download:3,even:[2,3],index:[1,2,3,4],what:[2,3],appear:2,mainlin:[],preserv:[],version_group_region:2,section:[],"while":2,anywai:3,current:3,version:[2,3,4],appeal:2,method:2,metadata:2,move_effect:2,evolved_pokemon_id:[],paralysi:2,displai:2,join:[],gener:[2,3,4],never:[],here:[0,2,3],bodi:2,abomasnow:[],let:3,contest_effect_id:2,ubuntu:[1,3],path:3,sinc:[],interpret:3,pokemon_species_pros:2,search:[1,2],versiongroup:[2,4],location_game_indic:2,evolution_chain:2,print_pokemon:[],loos:2,dri:2,prior:[],amount:2,orm:0,defeat:2,action:2,chang:[2,3],gene:2,chanc:2,encounter_slot:2,semant:2,via:[2,3],regardless:2,extra:[],move_flag_type_id:[],appli:2,prefer:2,apt:3,item_flag_map:2,item_id:2,itemflavortext:[2,4],api:[],encounter_condition_value_map:2,famili:2,sgn:2,instal:[1,3],gimmick:2,item_pocket:2,select:0,uniu:2,is_pokemon:[],from:[0,2,3],would:[],two:[2,3],next:3,few:[],wood:[],call:2,calm:2,supercontestcombo:[2,4],criteria:[],taken:2,type:[2,3,4],minor:2,more:[2,3],sort:2,frenzi:[],babi:2,relat:2,min_level:2,pokemonspeciesflavortext:[2,4],warn:[],sore:[],flag:2,form_base_pokemon_id:[],worri:[],particular:2,pokemon_form:2,egg_group_id:2,hold:2,effort:2,descrption:2,must:2,dex:2,none:2,word:2,sometim:2,hour:2,base_experi:2,setup:3,pokedex_db_engin:3,battl:2,uniqu:2,moveeffect:[2,4],histori:2,unique_pokemon_id:[],can:[2,3],learn:[0,2],under:2,male:2,firmness_id:2,def:2,versiongroupregion:[2,4],heart:2,sqlite:3,traceback:[],prompt:3,climat:3,give:[0,3],nature_nam:2,sudo:3,share:2,indic:1,locationgameindex:[2,4],critic:2,minimum:2,want:3,explos:[],struggl:[],occur:2,paleozo:[],alwai:3,differenti:2,cours:3,end:3,nature_pokeathlon_stat:2,turn:2,anoth:[0,3],contest_type_id:2,write:[0,3],how:[2,3],actual:[0,2],env:3,verifi:3,bit:3,growth_rat:2,simpl:0,distro:3,splendifer:2,map:[2,4],plant:[],locationareaencounterr:[2,4],evolution_trigg:2,trigger_item_id:2,mess:2,max:2,clone:3,earlier:3,variant:2,pokemon_habitat_nam:2,befor:[2,3],okai:2,beauti:2,language_nam:2,mai:2,multipl:2,stat_hint:2,data:[0,2,3],eighth:2,physic:2,naturepokeathlonstat:[2,4],time_of_dai:2,"short":2,is_babi:2,happi:[2,3],seriou:0,counter:2,favorit:3,correspond:[2,3],element:2,caus:2,inform:0,"switch":[2,3],environ:3,enter:2,tall:2,fallback:[],egg:2,order:2,includ:[2,3],move_battle_style_pros:2,minimum_stat:2,help:3,"_sqlalchemi":[],offici:2,move:[2,4],gender_r:2,becaus:3,meter:2,trade:2,increas:2,"_python":[],through:2,venusaur:[],abilityflavortext:[2,4],still:[],form_:[],testcod:[],multilang:2,style:2,group:2,item_flavor_text:2,pokemon_form_id:2,encounter_id:2,is_battle_onli:2,spoken:2,jigglypuff:2,crit_rat:2,encountercondit:[2,4],main:2,might:3,them:[2,3],good:[],"return":[],hates_flavor_id:2,thei:2,fling:2,python:[0,3],movemetaail:[2,4],pokeathlonstat:[2,4],move_flag_typ:[],dai:2,initi:2,nation:2,solarbeam:[],half:2,fling_pow:2,now:3,ability_flavor_text:2,pikachu:[],term:[],move_meta_ail:2,name:[0,2],anyth:3,move_flag_id:2,bonu:2,separ:2,iff:2,form_descript:2,trap:2,move_flag_map:2,each:2,found:[],went:3,is_dream:2,mean:[2,3],beween:2,"int":2,ailment:2,weight:2,individu:2,hard:2,idea:[],contest_type_nam:2,firer:2,"static":2,connect:[0,1],inflict:2,encounter_slot_id:2,leafgreen:2,our:3,meth:[],beyond:2,tenth:2,special:2,out:[0,2,3],variabl:3,"pok\u00e9dex":[0,1,2,4],ability_id:2,type_nam:2,virtualenv:3,goe:3,known_move_id:2,defend:2,berryflavor:[2,4],whoosh:3,categori:2,bonus:2,shaymin:2,extra_languag:[],print:0,formula:2,item_pocket_nam:2,defens:2,red:2,atuomat:3,pokemonevolut:[2,4],stat_nam:2,advanc:3,evolution_trigger_pros:2,move_battle_style_id:2,free:3,standard:2,wormadam:[],reason:3,base:2,ability_changelog:2,put:3,org:[],teach:2,pokemonformpokeathlonstat:[2,4],genesect:[],flare:[],could:2,omit:[],atk:2,color_id:2,filter:[],thing:3,footnot:3,region_nam:2,place:2,isn:2,pokemonstat:[2,4],encounterconditionvaluemap:[2,4],confus:3,think:3,first:[0,2],oper:3,minimum_beauti:2,rang:2,move_effect_changelog_pros:2,oppon:2,directli:3,feel:3,engine_prefix:[],number:2,yourself:[],anotherenv:3,instruct:3,relative_physical_stat:2,done:[1,2,3],messag:2,party_pokemon_id:[],item_fling_effect:2,miss:[],primari:2,size:2,prioriti:2,given:2,script:3,associ:[2,4],caught:2,breed:2,system:[1,3],construct:3,grow:2,kanto:2,swarm:2,attack:2,soil_dry:2,order_bi:[],move_id:2,storm:[],pokemonmovemethod:[2,4],conveni:[],"final":2,schema:[1,2,4],growth_tim:2,shell:3,option:3,move_target:2,movebattlestyl:[2,4],tool:3,copi:3,ability_pros:2,specifi:[2,3],main_region_id:2,pokemon_color_nam:2,part:2,egggroup:[2,4],whip:[],consult:[],move_battle_styl:2,exactli:2,than:[],wide:3,nature_battle_style_prefer:2,pokemon_shap:2,evolution_chain_id:2,whenev:3,tree:2,second:2,growthrat:[2,4],move_meta:2,matter:2,meta_category_id:2,pressur:2,flame:2,bind:[],pokeathlon_stat:2,danc:[],decimet:2,seri:2,exhibit:2,"function":2,comput:3,region_id:2,plaintext:2,encounter_method_pros:2,ani:[0,2],decreased_stat_id:2,generation_id:2,packag:3,item_flag_id:2,seed:[0,2],have:[2,3],tabl:[0,1,2,4],need:[0,2,3],ambigu:[],location_id:2,moveflagmap:[2,4],sell:2,engin:3,techniqu:2,zero:[],movevers:[2,4],item_fling_effect_pros:2,accuraci:2,note:2,also:[2,3],exampl:[0,2],super_contest_combo:2,take:2,which:2,hatch:2,pokemontyp:[2,4],min_turn:2,singl:2,item_categori:2,surf:2,blue:2,sure:3,unless:2,distribut:3,normal:2,multipli:2,price:2,berry_flavor:2,ability_nam:2,canonical_pokedex_id:2,most:[0,2,3],pokemon_typ:2,pokemon_mov:2,diglett:[],letter:2,millimet:2,pair:2,introduced_in_version_group_id:2,stat_hint_nam:2,pokemon_species_nam:2,sub:2,pokemon_nam:2,don:[0,3],flavor_text:2,pokemon_shape_id:[],dream:2,cover:0,uri:0,doe:[2,3],increased_stat_id:2,bracket:2,exp:2,movemeta:[2,4],recoil:2,unchang:[],moveflag:[2,4],fact:2,gain:2,deoxi:2,charmeleon:[],item_flavor_summari:2,show:[],text:[2,4],melodi:[],meloetta:[],type_efficaci:2,night:2,session:[0,3],moveeffectchangelog:[2,4],pokemonshap:[2,4],find:3,slot:2,pokemon_form_nam:2,onli:[2,3],explicitli:[],locat:[2,4],pretti:3,pokemonspeci:[0,2,4],categor:2,explain:[],configur:3,activ:3,cloak:[],should:[2,3],jam:2,order_by_nam:[],combo:2,gametext:2,flinch:2,over:2,game_index:2,info:0,hit:2,machine_numb:2,pokemonformgroup:[],get:[0,1,2,3],location_nam:2,form_identifi:2,express:[],target_id:2,stathint:[2,4],bear:2,secondari:[],pocket:2,session_arg:[],cannot:2,foremost:0,ability_changelog_pros:2,trade_pokemon_id:[],gen:2,requir:2,target:2,berry_id:2,item_pros:2,evolution_trigger_id:2,item_nam:2,organ:[],encounter_condition_value_pros:2,probabl:[],maxmum:2,encounter_method_id:2,twice:2,stuff:[2,4],common:2,encounterconditionvalu:[2,4],contain:[2,3],abilitychangelog:[2,4],pokemon_speci:2,engine_arg:[],bought:2,where:2,natural_gift_type_id:2,summari:2,pokemon_color:2,set:[2,3],modulo:2,knowledg:3,startup:[1,3],pokemonmov:[2,4],see:[2,3],full:[0,2],fling_effect_id:2,version_group_id:2,sport:2,hammer:[],onc:[],target_type_id:2,statu:[2,3],brave:2,parent:2,expert:3,pokemon_id:2,sorta:2,databas:[0,1,2,3,4],someth:[],encounter_condition_value_id:2,contest_typ:2,enough:[2,3],won:3,pokemonitem:[2,4],move_changelog:[],between:2,"import":0,experi:[2,4],across:2,contest_combo:2,attribut:2,altern:2,naturebattlestyleprefer:[2,4],johto:2,kei:2,numer:2,attempt:[],condit:2,pokemoncolor:[2,4],extens:2,pokedex_index_dir:3,succeed:3,pocket_id:2,pokemon_form_group_pros:[],meta_ailment_id:2,water:[],last:2,berri:[2,4],region:[2,4],"pok\u00e9block":2,equal:2,foreign:2,base_stat:2,etc:2,tutori:[],pokemon_species_flavor_summari:2,itemflingeffect:[2,4],pokemon:[0,2,4],testoutput:[],mani:[2,3],rariti:2,com:3,load:[0,1,3],among:2,pokeathlon_stat_nam:2,markdown:[2,3],pokemon_game_indic:2,point:2,color:2,had:2,contest_effect_pros:2,item_game_indic:2,written:3,differ:2,linux:3,cancel:2,assum:3,duplic:[],quit:[],baby_trigger_item_id:2,itemflagmap:[2,4],pokedex_numb:2,movechangelog:[],major:2,encounter_condition_pros:2,three:3,been:2,tutor:2,keldeo:[],trigger:2,contestcombo:[2,4],interest:3,basic:0,pokemon_flavor_summari:[],movemetastatchang:[2,4],quickli:2,firm:2,hoenn:2,ivysaur:[],sprite:2,pip:3,move_nam:2,xxx:0,great:[],argument:0,item_flag_pros:2,togeth:2,func:[],"pok\u00e9athlon":2,eeve:3,high_hp_prefer:2,countri:2,present:2,movedamageclass:[2,4],"case":[2,3],party_species_id:2,look:[],move_meta_ailment_nam:2,pokemon_habitat:2,straight:2,properti:2,empti:[2,3],encountermethod:[2,4],pokemon_move_method:2,defin:2,lizard:2,match:[],behavior:2,pokemon_shape_pros:2,wild:2,decreas:2,iso3166:2,pokedex:[0,1,2,3,4],pokemon_form_group:[],move_flavor_summari:2,genu:[0,2],translation_class:2,almost:2,soil:2,max_hit:2,non:2,rip:2,player:2,itself:2,pokemon_dex_numb:2,genderless:2,filter_bi:[],result:[],move_effect_changelog:2,pokemonhabitat:[2,4],"null":2,develop:3,berry_firmness_nam:2,author:3,perform:2,parti:2,make:[2,3],belong:2,expect:[],same:[2,3],mole:[],handl:[],html:[],global:2,document:[1,3],higher:2,species_id:2,ball:2,raichu:[],pokedex_pros:2,max_level:2,short_effect:2,pick:2,effect:2,second_move_id:2,move_vers:2,move_flavor_text:2,rais:[],user:[2,3],has_gender_differ:2,pokemon_item:2,changed_in_version_group_id:2,move_meta_stat_chang:2,berryfirm:[2,4],evolves_from_pokemon_id:[],recent:[],appropri:2,super_contest_effect:2,damage_factor:2,contesteffect:[2,4],natural_gift_pow:2,"pok\u00e9mon":[2,3,4],whole:2,thu:2,well:[2,3],game:2,effect_id:2,flinch_chanc:2,unalias:[],without:2,command:3,contesttyp:[2,4],thi:[0,2,3],english:[],forms_switch:2,gift:2,category_id:2,mic:[2,4],usual:2,identifi:2,munber:2,entri:2,rest:[0,3],detail:[2,3],shape:2,move_effect_pros:2,pokemondexnumb:[2,4],flavor:[2,4],speed:2,yet:3,languag:[2,3,4],characterist:2,nullabl:[],sky:2,except:2,add:2,held_item_id:2,move_damage_class:2,itemflag:[2,4],els:2,mod:[],smart:2,build:[],bin:3,applic:2,bicycl:2,pokemon_:2,format:0,read:0,big:3,version_nam:2,likes_flavor_id:2,veekun:3,form_nam:2,is_default:2,movemetacategori:[2,4],pokemon_move_method_id:2,dimorph:2,world:2,shadow:[],walk:2,typeefficaci:[2,4],pokemon_flavor_text:[],move_target_pros:2,supercontesteffect:[2,4],like:[1,2,3],specif:2,changelog:[2,4],pokemon_stat:2,integ:2,collect:2,either:[2,3],lose:2,evolutionchain:[2,4],anti:3,maximum_stat:2,soft:2,page:1,encount:[2,4],www:[],right:1,old:2,often:2,habitat:2,snatchabl:2,some:[0,2,3],back:2,percentag:2,whatev:2,damage_type_id:2,intern:2,growth:2,smoothli:3,small:0,guess:[],ailment_ch:2,librari:[0,1,3],gene_mod_5:2,autofunct:[],base_happi:2,charmand:[],both:2,pokemonegggroup:[2,4],item_category_pros:2,locationarea:[2,4],per:2,move_flag:2,when:2,evolv:2,leav:3,contact:2,encounterslot:[2,4],damage_class_id:2,egg_group:2,damag:2,machin:[2,4],core:2,object:0,run:[0,3],power:[0,2],contest_effect:2,"enum":[2,4],version_id:2,encounter_condition_id:2,argumenterror:[],step:2,relationship:[],prerequisit:[1,3],evolves_from_species_id:2,post:2,"super":2,unicod:2,stage:2,chapter:3,about:3,postgresql:3,column:2,holdabl:2,http:[],zweilou:[],unfortun:3,stat_chanc:2,encounter_condit:2,move_damage_class_pros:2,produc:2,encounter_method:2,own:[2,3],primarili:2,burmi:[],within:2,ditto:2,evolutiontrigg:[2,4],shape_id:2,your:3,item_flag:2,move_meta_category_pros:2,unown:2,git:3,fill:0,location_area:2,wai:2,area:2,aren:[],captur:2,lone:2,growth_rate_pros:2,tame:2,stamina:2,start:[],reli:[],much:3,franchis:2,move_meta_categori:2,pokemon_egg_group:2,max_turn:2,fish:2,treat:2,lowest:2,location_area_encounter_r:2,evolved_species_id:2,form:2,latex:2,forc:2,stat_id:2,heal:2,pokemonform:[2,4],low_hp_prefer:2,content:1,state:2,link:2,translat:[2,3],offens:2,line:3,highest:2,"true":2,version_group:2,count:2,iso639:2,max_chang:2,itemgameindex:[2,4],evolut:2,possibl:[2,3],whether:2,access:2,smooth:2,maximum:2,trade_species_id:2,growth_rate_id:2,record:2,below:2,taught:2,doc:0,mapped_class:2,otherwis:2,problem:3,grass:2,similar:[],super_contest_effect_id:2,pokedex_id:2,egg_group_pros:2,pokeathlon_stat_id:2,creat:[0,3],pokemon_species_flavor_text:2,generation_nam:2,"abstract":2,futur:[],doesn:[2,3],repres:2,pokemongameindex:[2,4],incomplet:[],exist:[2,3],file:3,valu:2,necessarili:2,attr:[],flavor_summari:2,check:3,pokemon_evolut:2,rainbow:[],know:[2,3],contest:[2,4],moveflavortext:[2,4],sexual:2,percent:2,ext:2,"default":[0,2,3],bulbasaur:0,other:[2,3],bool:2,encounter_condition_valu:2,pokemon_form_pokeathlon_stat:2,you:[0,2,3],first_move_id:2,capture_r:2,petal:[],pichu:[],stat:[2,4],potion:[],intend:0,determin:2,"class":2,sqlalchemi:[0,2,3],location_area_id:2,affix:2,poffin:2,meaning:2,hatch_count:2,kinda:2,sql:[],leaf:[],debian:[1,3],location_area_pros:2,outdat:3,femal:2,longer:2,directori:3,super_contest_effect_pros:2,descript:2,move_flag_type_pros:[],kilogram:2,tricki:[],pirouett:[],potenti:2,time:[2,3],fresh:[]},objtypes:{"0":"py:module","1":"py:dex-table","2":"py:data"},titles:["Using pokedex","The pokedex documentation","The pok\u00e9dex tables","Installing the pokedex library","The database schema"],objnames:{"0":"Python module","1":"dex-table","2":"Python data"},filenames:["usage","index","main-tables","installing","schema"]}) \ No newline at end of file diff --git a/usage.html b/usage.html index 888557e..71209a1 100644 --- a/usage.html +++ b/usage.html @@ -78,244 +78,6 @@ need to select another database, give its URI as the first argument.

full power of SQLAlchemy for working with the data. We’ll cover some basics here, but if you intend to do some serious work, do read SQLAlchemy’s docs.

XXX: write the rest of this

-

..:

-
Pokédex tables
---------------
-
-Data in the pokédex is organized in tables, defined in
-:mod:`pokedex.db.tables`.
-There is quite a few or them. To get you started, here are a few common ones:
-
-* :class:`~pokedex.db.tables.Pokemon` (includes some alternate forms)
-* :class:`~pokedex.db.tables.Move`
-* :class:`~pokedex.db.tables.Item`
-* :class:`~pokedex.db.tables.Type`
-
-Getting things
---------------
-
-If you know what you want from the pokédex, you can use the
-:func:`pokedex.db.util.get` function. It looks up a thing in a table, based on
-its identifier, name, or ID, and returns it.
-
-.. testcode::
-
-    def print_pokemon(pokemon):
-        print u'{0.name}, the {0.genus} Pokemon'.format(pokemon)
-
-    print_pokemon(util.get(session, tables.PokemonSpecies, identifier='eevee'))
-    print_pokemon(util.get(session, tables.PokemonSpecies, name=u'Ho-Oh'))
-    print_pokemon(util.get(session, tables.PokemonSpecies, id=50))
-
-    def print_item(item):
-        print u'{0.name}: ${0.cost}'.format(item)
-
-    print_item(util.get(session, tables.Item, identifier='great-ball'))
-    print_item(util.get(session, tables.Item, name='Potion'))
-    print_item(util.get(session, tables.Item, id=30))
-
-.. testoutput::
-
-    Eevee, the Evolution Pokemon
-    Ho-Oh, the Rainbow Pokemon
-    Diglett, the Mole Pokemon
-    Great Ball: $600
-    Potion: $300
-    Fresh Water: $200
-
-.. :
-    Simple lists
-    ------------
-
-    .. note::
-
-        These functions are only included for convenience in experiments and simple
-        scripts.
-        If you want to do something specific, please query the pokédex as explained
-        in the following sections.
-
-    If you want to get a simple list of pokémon without needing to worry about
-    things like the different forms and sorting the list, you can use the
-    :func:`pokedex.util.simple.pokemon` function.
-
-    .. testcode::
-
-        from pokedex.util import simple
-        for pokemon in simple.pokemon(session):
-            print u'{0.name}, the {0.species} Pokemon'.format(pokemon)
-
-    .. testoutput::
-
-        Bulbasaur, the Seed Pokemon
-        Ivysaur, the Seed Pokemon
-        ...
-        Meloetta, the Melody Pokemon
-        Genesect, the Paleozoic Pokemon
-
-    Similar functions exist for :func:`~pokedex.util.simple.moves`,
-    :func:`~pokedex.util.simple.items` and :func:`~pokedex.util.simple.types`.
-
-    All of these give you quick simple lists, basically something a pokédex would
-    show you. They filter out things you probably won't need (such as Shadow moves
-    or duplicate Pokémon moves), and sort the results in some sane way, but they
-    can't guess your needs exactly, and their guesses might change in future
-    versions.
-    If you want to do some serious work with the pokédex, read on.
-
-    Querying
-    --------
-
-    So, how do you get data from the session? You use the session's
-    :meth:`~sqlalchemy.orm.session.Session.query` method, and give it a pokédex
-    Table as an argument. This will give you a :class:`SQLAlchemy query
-    <sqlalchemy.orm.query.Query>`.
-
-    To get you started, we'll cover some common query operations below. If you
-    need to do more, consult the `SQLAlchemy documentation`_.
-
-    Ordering
-    ^^^^^^^^
-
-    As always with SQL, you should not rely on query results being in some
-    particular order – unless you have ordered the query first. This means that
-    you'll likely want to sort every query you will make.
-
-    For example, you can get a list of all pokémon, sorted by their
-    :attr:`~pokedex.db.tables.Pokemon.order`, like so:
-
-    .. testcode::
-
-        for pokemon in session.query(tables.Pokemon).order_by(tables.Pokemon.order):
-            print pokemon.name
-
-    .. testoutput::
-
-        Bulbasaur
-        Ivysaur
-        Venusaur
-        Charmander
-        Charmeleon
-        ...
-        Pichu
-        Pikachu
-        Raichu
-        ...
-        Keldeo
-        Aria Meloetta
-        Pirouette Meloetta
-        Genesect
-
-    Ordering by name
-    ****************
-
-    Since the pokédex can be used in other languages than English, working with
-    texts such as names is sometimes tricky.
-
-    The “name” attribute is actually a relation that uses the connection's
-    default language to select an appropriate translation. It usually works the
-    same way as a normal attribute, but ordering is an exception to this:
-
-    .. testcode::
-
-        for pokemon in session.query(tables.Pokemon).order_by(tables.Pokemon.name):
-            print pokemon.name
-
-    .. testoutput::
-
-        Traceback (most recent call last):
-            ...
-        ArgumentError: SQL expression object or string expected.
-
-    This means that to order by name, you either have to explicitly join the
-    translation table and sort by that, or use
-    :func:`pokedex.db.util.order_by_name`:
-
-
-    .. testcode::
-
-        from pokedex.db import util
-        for pokemon in util.order_by_name(session.query(tables.Pokemon), tables.Pokemon):
-            print pokemon.name
-
-    .. testoutput::
-
-        Abomasnow
-        ...
-        Zweilous
-
-    Filtering
-    ^^^^^^^^^
-
-    Another major operation on queries is filtering, using the query's
-    :meth:`~sqlalchemy.orm.query.Query.filter` or
-    :meth:`~sqlalchemy.orm.query.Query.filter_by` methods:
-
-    .. testcode::
-
-        for move in session.query(tables.Move).filter(tables.Move.power > 200):
-            print move.name
-
-    .. testoutput::
-
-        Explosion
-
-    Joining
-    ^^^^^^^
-
-    The final operation we'll cover here is joining other tables to the query,
-    using the query's :meth:`~sqlalchemy.orm.query.Query.join`.
-    You will usually want to join on a relationship, such as in the following
-    example:
-
-    .. testcode::
-
-        query = session.query(tables.Move)
-        query = query.join(tables.Move.type)
-        query = query.filter(tables.Type.identifier == 'grass')
-        query = query.filter(tables.Move.power >= 100)
-        query = query.order_by(tables.Move.power)
-        query = util.order_by_name(query, tables.Move)
-
-        print 'The most powerful Grass moves:'
-        for move in query:
-            print u'{0.name} ({0.power})'.format(move)
-
-    .. testoutput::
-
-        The most powerful Grass moves:
-        Petal Dance (120)
-        Power Whip (120)
-        Seed Flare (120)
-        SolarBeam (120)
-        Wood Hammer (120)
-        Leaf Storm (140)
-        Frenzy Plant (150)
-
-
-    API documentation
-    -----------------
-
-    .. autofunction:: pokedex.db.connect
-
-        See :class:`sqlalchemy.orm.session.Session` for more documentation on the
-        returned object.
-
-    .. autofunction:: pokedex.db.util.get
-    .. autofunction:: pokedex.db.util.order_by_name
-
-    Simple lists
-    ^^^^^^^^^^^^
-
-    .. autofunction:: pokedex.util.simple.pokemon
-    .. autofunction:: pokedex.util.simple.moves
-    .. autofunction:: pokedex.util.simple.items
-    .. autofunction:: pokedex.util.simple.types
-
-
-    .. _Python: http://www.python.org
-    .. _SQLAlchemy: http://www.sqlalchemy.org
-    .. _`SQLAlchemy documentation`: http://www.sqlalchemy.org/docs/orm/tutorial.html
-