From 330e54875b92f1ce5f2c4fbd9c02c97323f83b22 Mon Sep 17 00:00:00 2001 From: Aaron Schlegel Date: Tue, 30 Jun 2020 11:52:51 -0700 Subject: [PATCH] update to remove support for python 3.5, update docs --- .travis.yml | 1 - README.md | 2 +- docs/build/doctrees/environment.pickle | Bin 32607 -> 33083 bytes docs/build/doctrees/index.doctree | Bin 29830 -> 32217 bytes docs/build/html/_sources/index.rst.txt | 8 ++++++++ docs/build/html/index.html | 9 +++++++++ docs/build/html/searchindex.js | 2 +- docs/source/index.rst | 8 ++++++++ petpy/api.py | 4 ++-- 9 files changed, 29 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0511cdf..658ff24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: python python: - - "3.5" - "3.6" - "3.7" install: diff --git a/README.md b/README.md index 09dfaf0..ab7612c 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ The following are longer usage examples and tutorials that have been posted to e ## Requirements -* Python >= 3.4 +* Python >= 3.6 * [requests](http://docs.python-requests.org/en/master/) >= 2.18.4 * Although not strictly required to use `petpy`, the [pandas](https://pandas.pydata.org/) library is needed for returning the results as a DataFrame. diff --git a/docs/build/doctrees/environment.pickle b/docs/build/doctrees/environment.pickle index 352d39c0f1afd133d78582f9d501674be9b2255a..668ec4b34123562d539c288931c751cc810903b7 100644 GIT binary patch literal 33083 zcmdU2iIW^xdAF{;w3klnuwiUrv$8$2lCUJ-cx}nXth81n8FN@^_s;Zg_h_bP+=ryK zV}h#^Y^A!e3lD)nfP{qn15}X;Bqkh1iV8_36lDkm2zCVm6_QF)IVw~o`F-E_`kJ0u zZ8zGjid3~T^N#Pm_x;}cj`zC1_r8rEI`G^z{4dz*woS{vR59!emeaDEhV6BN$p?I^ zQ9GVUdbzXzxz4klsbGWNZg=K_ky@+jIfhZQoKEo8>Bn5dai?`16x^!WFcyu*^f9N^ zo^M^6KIOFPM%8nt+lJR(nnp!;dY40)(Zx_+~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Q zrn~9}qbGTgmHJcvRD$||x*M7*{%l>#J}#a+cpePEh0n5@f*f*X}d7 z(WUg^2t2U6(z?#UMxEqw3o^`-DY$JreM&V6PQ9mqTZH(vkob2H?G%Ma9X|t?2Z!C_ zw1j97F!Bn1%#J@m7rOyKGKo#e4!>TaUo>0mU%)pce2EhH*zYe(!dEDPW=Z|8B;jk6 zz;ESzofD#ojO(4%y_~^zb;2;;o)b*okDCkWNZv)bIp0v@O2KHtI33$=zEFH!#v zhy`QEaHT132&hpFR}RJqcHj*!+_nZUg~{WB01IP27$)~jQ$A;~9gd(}FvC|D`U{o+ E2aq~HaR2}S diff --git a/docs/build/doctrees/index.doctree b/docs/build/doctrees/index.doctree index 74985620d3b27813e3fb51cd8de241b548e344d8..40d4a7a63456a460fc0caab7d1bb98f37735dad5 100644 GIT binary patch delta 4549 zcmb_feQZoW=yu8Ft;tw`N zsez8l(;^i(?uS5Qbc}Aas2cN%25i7Sw84fb+R7$Iw{`oY8>`SpSFM#Obm!b_KRX6W zhx*U)d*{A;e!ug(=iGb!>{aRV4N2Z+eE!1LqjI^$mfxj}Mh1e4UkQXmadkp>T(ykp zPH3@o!%sTrEt|M%b66b?*jruphn-F0ySm!#@vZS1Ro0@?0}mvpW_`FbKJFWxKraiL2u`Pl##p*Ilp_8$@f53g24}BYjx{o)JHrPB9a9#)Mt}(JR=?zy(gZAHxfzufgkf$W{0lzmIzOZrc!+XQW@X2ZqD;P&hcSF+8-{PU2&2`|ROidnBaTn>P;o zl;++MB|NgZx6U3`6?^Z9H{kOo%P53(B;K)-eBQ9v8KnxMx)~bi3wnc_?KQ2gS5q$NSGUvcJURo&Pt_aGj< zZ|0v5@o0)UCtiblL)ASPCkbcN`)8ejYkxsh?VEbl!j(0%r9WUrIHJih%a}>5Tn0kQ zla7#X;i`MAa8jpK!L zHVvGe#nX}`(!G|XMV%JCk=1FsFdd&$m1ZP=hmZ^JtMW;`3leYgYJB{)E+lUHlkc$U z!%tmhU|3(+zKJyEr+}M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NCfSL>(xT=_I9?JN(m`o-f-z;PyDDt@iAP z32MQzOL!=?cytjJjFJoKp=~Q2h&T1hjj|k_uwM@om-h$_zUoH!d-;&CPp|yG!pkh3 z0TBBL!rqDncag^<7vRHBR0<;IRQS}Ysd}MT4B@(V(J2OsII^)v{K!M&hy|wScwpy8;r7Z*Vru)Jf zgYslkJ+oX4V0DJC<}n05O{*F1Tg{VH-`Dfd;*5RyGEwS)4z9<9L-v+s`ldQhHLy6V zqHKA}m|5xF+Nayyjh|}y6q!4CmB@dP$-!$~&LZYRIf7bArq0d&XPoH~LK7IXE`Sf*B<= 3.6 +- `requests `_ >= 2.18.4 +- Although not strictly required to use :code:`petpy`, the `pandas `_ library (>=0.22.0) + is needed for returning the results as a DataFrame. + Contents ======== diff --git a/docs/build/html/index.html b/docs/build/html/index.html index 253b92e..59434e9 100644 --- a/docs/build/html/index.html +++ b/docs/build/html/index.html @@ -181,6 +181,15 @@

Installation +

Requirements

+
    +
  • Python >= 3.6

  • +
  • requests >= 2.18.4

  • +
  • Although not strictly required to use petpy, the pandas library (>=0.22.0) +is needed for returning the results as a DataFrame.

  • +
+

Contents

diff --git a/docs/build/html/searchindex.js b/docs/build/html/searchindex.js index 463a56c..931d942 100644 --- a/docs/build/html/searchindex.js +++ b/docs/build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["api","contributors","exceptions","index","parameters","versions"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.index":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["api.rst","contributors.rst","exceptions.rst","index.rst","parameters.rst","versions.rst"],objects:{"petpy.api":{Petfinder:[0,0,1,""]},"petpy.api.Petfinder":{animal_types:[0,1,1,""],animals:[0,1,1,""],breeds:[0,1,1,""],organizations:[0,1,1,""]},"petpy.exceptions":{PetfinderError:[2,0,1,""],PetfinderInsufficientAccess:[2,0,1,""],PetfinderInvalidCredentials:[2,0,1,""],PetfinderInvalidParameters:[2,0,1,""],PetfinderResourceNotFound:[2,0,1,""],PetfinderUnexpectedError:[2,0,1,""]}},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"]},objtypes:{"0":"py:class","1":"py:method"},terms:{"boolean":[0,5],"break":5,"catch":5,"class":[0,2,3,5],"default":0,"function":[0,1,3,5],"import":[0,3,5],"long":0,"new":[0,3,5],"return":[0,3,5],"short":[0,5],"throw":5,"true":[0,3,5],Added:5,For:[0,3,5],IDs:[0,3,5],One:3,The:[0,3,5],There:5,These:[3,5],abbrevi:0,abov:3,access:[2,3,5],account:[0,3],add:5,added:5,addit:[3,5],adequ:5,adopt:[0,3],adult:0,after:[0,3,5],after_d:[0,5],against:5,age:0,all:[0,3,5],all_bre:[0,3],all_breeds_df:[0,3],all_typ:[0,3],allow:5,almost:5,along:0,also:[0,3],although:5,amount:5,analyz:3,ani:[0,3,5],anim:[1,5],animal_data:[0,3],animal_id:[0,3],animal_typ:[0,3,5],anyon:5,api:[1,5],api_kei:[0,3],api_secret:[0,3],apolog:5,appear:[],append:[0,3],approach:5,appropri:5,aschleg:3,attempt:5,attribut:[0,5],auth:5,authent:[2,5],avail:[3,5],avoid:5,babi:0,back:5,backward:5,barnyard:0,base:[0,2,3],basic:5,been:[3,5],befor:[0,5],before_d:[0,5],begin:5,being:[3,5],below:[0,5],best:[3,5],better:5,binder:3,bird:0,both:5,breed:5,bug:5,build:5,call:[3,5],can:[0,3,5],canada:0,cannot:[0,5],cap:5,cat:[0,3,5],cat_bre:[0,3],cat_breeds_df:[0,3],cat_dog_rabbit:[0,3],cat_dog_rabbit_typ:[0,3],caught:5,caus:5,chang:5,changelog:5,check:[1,5],children:[0,5],choos:3,chosen:5,citi:0,clean:5,cleaner:[0,5],cleanup:5,clone:3,close:5,coat:0,code:[0,5],coerc:[0,3],coincid:5,collect:0,color:0,column:5,com:3,compat:5,complet:5,concaten:5,connect:[2,3],connnect:5,consider:5,consist:5,contact:5,continu:5,contributor:[3,5],conveni:5,convert:5,correct:5,correctli:5,count:[0,5],countri:0,creat:[0,3],credenti:[2,5],criteria:[0,3],curli:0,current:[3,5],custom:5,daili:5,dash:0,data:[3,5],databas:[0,5],datafram:[0,3,5],datetim:0,debug:5,deep:3,defin:5,definit:[2,5],denot:5,deprec:5,describ:3,descript:3,design:[0,5],desir:[0,3,5],detail:5,detect:5,develop:0,dict:0,dictionari:[0,5],discontinu:5,displai:5,distanc:[0,1,5],docstr:5,document:5,doe:5,dog:[0,3,5],dog_bre:[0,3],download:3,duplic:5,each:[0,5],earlier:5,empti:5,end:[3,5],endpoint:[0,1,5],ensur:5,enter:[3,5],entir:0,environ:3,equal:5,error:[1,2,5],essenti:5,exampl:[0,5],exce:[0,5],exceed:[1,5],except:[3,5],exit:5,expir:[2,5],expos:5,express:5,extent:5,extern:3,extract:[0,3,5],extran:[0,5],fals:[0,5],femal:0,few:5,file:5,filter:[0,5],fin:0,find:5,fine:5,first:[0,3,5],fix:[1,5],flatten:5,follow:[3,5],form:0,format:[0,5],found:[0,1,5],from:[0,2,3,5],front:5,full:5,fulli:3,furri:0,further:5,futur:5,gender:0,gener:[2,3,5],get:5,git:3,github:[3,5],give:5,given:[0,5],good:[0,5],good_with_cat:[0,5],good_with_children:[0,5],good_with_dog:[0,5],grant:3,ground:5,growth:5,hairless:0,handl:[2,5],happen:5,has:5,have:[2,3,5],help:5,higher:5,histori:3,hors:0,host:5,hour:3,how:5,howev:5,huge:5,ibm:3,imag:3,immedi:5,implement:[1,5],improv:5,includ:[0,5],inform:[0,5],initi:[3,5],instal:5,insuffici:2,integ:0,intent:5,interact:[3,5],interest:0,intern:5,introduc:[3,5],invalid:[2,5],issu:5,issuag:5,its:[0,3,5],itself:5,januari:5,json:[0,3,5],jsondecodeerror:5,jupyt:3,kei:[0,2,5],larg:0,larger:5,last:3,lat:0,latest:5,latitud:0,launch:3,lead:0,legaci:[3,5],less:5,letter:0,level:[0,5],librari:[3,5],life:5,lightweight:5,limit:[0,1,5],list:[3,5],ljlevin:[1,5],locat:[0,3],logic:5,longer:[3,5],longitud:0,loop:5,ma755:[1,3,5],made:[3,5],mai:5,major:5,make:5,male:0,mani:5,match:[0,5],matur:5,max_pag:5,maximum:0,media:3,medium:[0,3],messag:5,method:[0,2,3,5],mile:0,minor:5,minut:3,more:5,most:[3,5],multipl:[0,3,5],multiprocess:3,must:[0,3],name:[0,5],nan:5,necessari:5,need:[2,5],network:3,neural:3,next:5,none:[0,5],note:[0,3,5],notebook:3,now:[3,5],number:[0,5],numpi:5,object:[0,5],obtain:0,occur:[2,3,5],offici:5,onc:[0,3],one:[0,3,5],onli:5,opportun:5,opt:5,optim:5,option:5,order:0,organ:[1,5],organiz:3,organization_id:[0,5],origin:5,other:[0,5],out:5,output:5,over:5,overridden:[0,5],oversight:5,packag:[3,5],page:[0,3,5],panda:[0,3,5],paramet:[0,1,2,3,5],part:[3,5],partial:0,particular:5,pass:[2,5],pep8:5,per:[0,3,5],perform:[0,3],period:3,pet:[3,5],pet_find:5,pet_get:5,pet_get_random:5,pet_getrandom:5,pet_id:5,petfind:[1,2,5],petfindererror:2,petfinderinsufficientaccess:[2,5],petfinderinvalidcredenti:[2,5],petfinderinvalidparamet:[2,5],petfinderresourcenotfound:[2,5],petfinderunexpectederror:[2,5],petid:5,petpi:[0,2,5],pets_get:5,pip:3,pleas:[3,5],possibl:5,post:3,postal:0,prefer:3,prefix:5,previou:5,previous:5,primari:5,prior:5,privat:5,proper:5,properli:5,provid:[0,3,5],publish:5,published_at:0,pull:5,pure:3,python:5,pythonwrapp:3,queri:0,rabbit:[0,3],rais:[2,5],random:5,rang:0,raw_result:0,reach:5,readm:5,receiv:[0,3],recent:[0,3],record:5,reduc:5,refactor:5,refer:3,reflect:[3,5],regardless:0,rel:5,relat:5,releas:5,relev:[0,3],remov:[0,5],renam:5,repo:5,repres:[0,3],request:[2,5],requir:5,resourc:2,respons:5,result:[0,2,3,5],results_per_pag:[0,3],retir:5,retriev:0,return_df:[0,3,5],revers:0,runtimeerror:5,same:5,scale:0,script:3,search:[0,3,5],second:3,secret:[0,2,5],see:5,select:0,send:2,senior:0,server:2,set:[0,3,5],setup:3,sever:[1,3,5],shelter:5,shelter_find:5,shelter_get:5,shelter_get_pet:5,shelter_getpet:5,shelter_id:5,shelter_list_by_bre:5,shelter_listbybre:5,shelterid:5,shelters_get:5,should:5,side:2,similar:3,simplif:5,simplifi:5,singl:[0,3,5],six:5,size:0,slight:5,small:[0,5],some:[0,3,5],sort:0,specif:[0,3],specifi:[0,3,5],state:[0,3,5],statu:[0,5],still:[3,5],str:0,straightforward:3,string:0,submit:5,summari:5,suppli:[2,3,5],support:5,sure:5,tabl:5,test:5,than:5,thank:5,thei:5,therefor:5,thi:[0,2,5],think:5,those:[0,3,5],through:[3,5],thrown:5,thu:[3,5],time:[0,5],token:5,tone:3,top:5,total:5,train:3,tupl:[0,5],two:[0,5],type:5,typic:[2,5],unchang:5,underscor:5,unexpect:2,unit:0,unknown:[0,2],unneed:5,unoffici:3,until:5,updat:[3,5],upon:5,usag:[3,5],use:[1,5],used:[1,3,5],user:5,using:[0,3,5],valid:5,valu:[0,2,5],valueerror:5,version:3,wa_organ:[0,3],wai:5,warn:5,washington:[0,3],watson:3,websit:3,welfar:5,were:5,when:[0,2,3,5],wherea:5,which:3,who:3,wire:0,within:[0,5],without:[0,3],work:[2,5],would:[0,5],wrap:5,wrapper:5,xlarg:0,york:0,you:[3,5],young:0,your:[3,5],yyyi:0},titles:["API Reference","Contributors","API Exceptions","petpy - Python Wrapper of the Petfinder API","<no title>","Version History"],titleterms:{anim:[0,3],api:[0,2,3],authent:3,avail:0,breed:[0,3],content:3,contributor:1,data:0,databas:3,exampl:3,except:2,find:[0,3],get:[0,3],histori:5,instal:3,introduct:3,kei:3,list:0,organ:[0,3],petfind:[0,3],petpi:3,python:3,refer:0,secret:3,tutori:3,type:[0,3],version:5,welfar:[0,3],wrapper:[0,3]}}) \ No newline at end of file +Search.setIndex({docnames:["api","contributors","exceptions","index","parameters","versions"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.index":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["api.rst","contributors.rst","exceptions.rst","index.rst","parameters.rst","versions.rst"],objects:{"petpy.api":{Petfinder:[0,0,1,""]},"petpy.api.Petfinder":{animal_types:[0,1,1,""],animals:[0,1,1,""],breeds:[0,1,1,""],organizations:[0,1,1,""]},"petpy.exceptions":{PetfinderError:[2,0,1,""],PetfinderInsufficientAccess:[2,0,1,""],PetfinderInvalidCredentials:[2,0,1,""],PetfinderInvalidParameters:[2,0,1,""],PetfinderResourceNotFound:[2,0,1,""],PetfinderUnexpectedError:[2,0,1,""]}},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"]},objtypes:{"0":"py:class","1":"py:method"},terms:{"boolean":[0,5],"break":5,"catch":5,"class":[0,2,3,5],"default":0,"function":[0,1,3,5],"import":[0,3,5],"long":0,"new":[0,3,5],"return":[0,3,5],"short":[0,5],"throw":5,"true":[0,3,5],Added:5,For:[0,3,5],IDs:[0,3,5],One:3,The:[0,3,5],There:5,These:[3,5],abbrevi:0,abov:3,access:[2,3,5],account:[0,3],add:5,added:5,addit:[3,5],adequ:5,adopt:[0,3],adult:0,after:[0,3,5],after_d:[0,5],against:5,age:0,all:[0,3,5],all_bre:[0,3],all_breeds_df:[0,3],all_typ:[0,3],allow:5,almost:5,along:0,also:[0,3],although:[3,5],amount:5,analyz:3,ani:[0,3,5],anim:[1,5],animal_data:[0,3],animal_id:[0,3],animal_typ:[0,3,5],anyon:5,api:[1,5],api_kei:[0,3],api_secret:[0,3],apolog:5,appear:[],append:[0,3],approach:5,appropri:5,aschleg:3,attempt:5,attribut:[0,5],auth:5,authent:[2,5],avail:[3,5],avoid:5,babi:0,back:5,backward:5,barnyard:0,base:[0,2,3],basic:5,been:[3,5],befor:[0,5],before_d:[0,5],begin:5,being:[3,5],below:[0,5],best:[3,5],better:5,binder:3,bird:0,both:5,breed:5,bug:5,build:5,call:[3,5],can:[0,3,5],canada:0,cannot:[0,5],cap:5,cat:[0,3,5],cat_bre:[0,3],cat_breeds_df:[0,3],cat_dog_rabbit:[0,3],cat_dog_rabbit_typ:[0,3],caught:5,caus:5,chang:5,changelog:5,check:[1,5],children:[0,5],choos:3,chosen:5,citi:0,clean:5,cleaner:[0,5],cleanup:5,clone:3,close:5,coat:0,code:[0,5],coerc:[0,3],coincid:5,collect:0,color:0,column:5,com:3,compat:5,complet:5,concaten:5,connect:[2,3],connnect:5,consider:5,consist:5,contact:5,continu:5,contributor:[3,5],conveni:5,convert:5,correct:5,correctli:5,count:[0,5],countri:0,creat:[0,3],credenti:[2,5],criteria:[0,3],curli:0,current:[3,5],custom:5,daili:5,dash:0,data:[3,5],databas:[0,5],datafram:[0,3,5],datetim:0,debug:5,deep:3,defin:5,definit:[2,5],denot:5,deprec:5,describ:3,descript:3,design:[0,5],desir:[0,3,5],detail:5,detect:5,develop:0,dict:0,dictionari:[0,5],discontinu:5,displai:5,distanc:[0,1,5],docstr:5,document:5,doe:5,dog:[0,3,5],dog_bre:[0,3],download:3,duplic:5,each:[0,5],earlier:5,empti:5,end:[3,5],endpoint:[0,1,5],ensur:5,enter:[3,5],entir:0,environ:3,equal:5,error:[1,2,5],essenti:5,exampl:[0,5],exce:[0,5],exceed:[1,5],except:[3,5],exit:5,expir:[2,5],expos:5,express:5,extent:5,extern:3,extract:[0,3,5],extran:[0,5],fals:[0,5],femal:0,few:5,file:5,filter:[0,5],fin:0,find:5,fine:5,first:[0,3,5],fix:[1,5],flatten:5,follow:[3,5],form:0,format:[0,5],found:[0,1,5],from:[0,2,3,5],front:5,full:5,fulli:3,furri:0,further:5,futur:5,gender:0,gener:[2,3,5],get:5,git:3,github:[3,5],give:5,given:[0,5],good:[0,5],good_with_cat:[0,5],good_with_children:[0,5],good_with_dog:[0,5],grant:3,ground:5,growth:5,hairless:0,handl:[2,5],happen:5,has:5,have:[2,3,5],help:5,higher:5,histori:3,hors:0,host:5,hour:3,how:5,howev:5,huge:5,ibm:3,imag:3,immedi:5,implement:[1,5],improv:5,includ:[0,5],inform:[0,5],initi:[3,5],instal:5,insuffici:2,integ:0,intent:5,interact:[3,5],interest:0,intern:5,introduc:[3,5],invalid:[2,5],issu:5,issuag:5,its:[0,3,5],itself:5,januari:5,json:[0,3,5],jsondecodeerror:5,jupyt:3,kei:[0,2,5],larg:0,larger:5,last:3,lat:0,latest:5,latitud:0,launch:3,lead:0,legaci:[3,5],less:5,letter:0,level:[0,5],librari:[3,5],life:5,lightweight:5,limit:[0,1,5],list:[3,5],ljlevin:[1,5],locat:[0,3],logic:5,longer:[3,5],longitud:0,loop:5,ma755:[1,3,5],made:[3,5],mai:5,major:5,make:5,male:0,mani:5,match:[0,5],matur:5,max_pag:5,maximum:0,media:3,medium:[0,3],messag:5,method:[0,2,3,5],mile:0,minor:5,minut:3,more:5,most:[3,5],multipl:[0,3,5],multiprocess:3,must:[0,3],name:[0,5],nan:5,necessari:5,need:[2,3,5],network:3,neural:3,next:5,none:[0,5],note:[0,3,5],notebook:3,now:[3,5],number:[0,5],numpi:5,object:[0,5],obtain:0,occur:[2,3,5],offici:5,onc:[0,3],one:[0,3,5],onli:5,opportun:5,opt:5,optim:5,option:5,order:0,organ:[1,5],organiz:3,organization_id:[0,5],origin:5,other:[0,5],out:5,output:5,over:5,overridden:[0,5],oversight:5,packag:[3,5],page:[0,3,5],panda:[0,3,5],paramet:[0,1,2,3,5],part:[3,5],partial:0,particular:5,pass:[2,5],pep8:5,per:[0,3,5],perform:[0,3],period:3,pet:[3,5],pet_find:5,pet_get:5,pet_get_random:5,pet_getrandom:5,pet_id:5,petfind:[1,2,5],petfindererror:2,petfinderinsufficientaccess:[2,5],petfinderinvalidcredenti:[2,5],petfinderinvalidparamet:[2,5],petfinderresourcenotfound:[2,5],petfinderunexpectederror:[2,5],petid:5,petpi:[0,2,5],pets_get:5,pip:3,pleas:[3,5],possibl:5,post:3,postal:0,prefer:3,prefix:5,previou:5,previous:5,primari:5,prior:5,privat:5,proper:5,properli:5,provid:[0,3,5],publish:5,published_at:0,pull:5,pure:3,python:5,pythonwrapp:3,queri:0,rabbit:[0,3],rais:[2,5],random:5,rang:0,raw_result:0,reach:5,readm:5,receiv:[0,3],recent:[0,3],record:5,reduc:5,refactor:5,refer:3,reflect:[3,5],regardless:0,rel:5,relat:5,releas:5,relev:[0,3],remov:[0,5],renam:5,repo:5,repres:[0,3],request:[2,3,5],requir:5,resourc:2,respons:5,result:[0,2,3,5],results_per_pag:[0,3],retir:5,retriev:0,return_df:[0,3,5],revers:0,runtimeerror:5,same:5,scale:0,script:3,search:[0,3,5],second:3,secret:[0,2,5],see:5,select:0,send:2,senior:0,server:2,set:[0,3,5],setup:3,sever:[1,3,5],shelter:5,shelter_find:5,shelter_get:5,shelter_get_pet:5,shelter_getpet:5,shelter_id:5,shelter_list_by_bre:5,shelter_listbybre:5,shelterid:5,shelters_get:5,should:5,side:2,similar:3,simplif:5,simplifi:5,singl:[0,3,5],six:5,size:0,slight:5,small:[0,5],some:[0,3,5],sort:0,specif:[0,3],specifi:[0,3,5],state:[0,3,5],statu:[0,5],still:[3,5],str:0,straightforward:3,strictli:3,string:0,submit:5,summari:5,suppli:[2,3,5],support:5,sure:5,tabl:5,test:5,than:5,thank:5,thei:5,therefor:5,thi:[0,2,5],think:5,those:[0,3,5],through:[3,5],thrown:5,thu:[3,5],time:[0,5],token:5,tone:3,top:5,total:5,train:3,tupl:[0,5],two:[0,5],type:5,typic:[2,5],unchang:5,underscor:5,unexpect:2,unit:0,unknown:[0,2],unneed:5,unoffici:3,until:5,updat:[3,5],upon:5,usag:[3,5],use:[1,3,5],used:[1,3,5],user:5,using:[0,3,5],valid:5,valu:[0,2,5],valueerror:5,version:3,wa_organ:[0,3],wai:5,warn:5,washington:[0,3],watson:3,websit:3,welfar:5,were:5,when:[0,2,3,5],wherea:5,which:3,who:3,wire:0,within:[0,5],without:[0,3],work:[2,5],would:[0,5],wrap:5,wrapper:5,xlarg:0,york:0,you:[3,5],young:0,your:[3,5],yyyi:0},titles:["API Reference","Contributors","API Exceptions","petpy - Python Wrapper of the Petfinder API","<no title>","Version History"],titleterms:{anim:[0,3],api:[0,2,3],authent:3,avail:0,breed:[0,3],content:3,contributor:1,data:0,databas:3,exampl:3,except:2,find:[0,3],get:[0,3],histori:5,instal:3,introduct:3,kei:3,list:0,organ:[0,3],petfind:[0,3],petpi:3,python:3,refer:0,requir:3,secret:3,tutori:3,type:[0,3],version:5,welfar:[0,3],wrapper:[0,3]}}) \ No newline at end of file diff --git a/docs/source/index.rst b/docs/source/index.rst index a25b07b..e2cada4 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -31,6 +31,14 @@ installed using the :code:`setup.py` script per the following: cd petpy python setup.py install +Requirements +============ + +- Python >= 3.6 +- `requests `_ >= 2.18.4 +- Although not strictly required to use :code:`petpy`, the `pandas `_ library (>=0.22.0) + is needed for returning the results as a DataFrame. + Contents ======== diff --git a/petpy/api.py b/petpy/api.py index 58bba99..4886d97 100644 --- a/petpy/api.py +++ b/petpy/api.py @@ -425,7 +425,7 @@ def animals(self, animal_id=None, animal_type=None, breed=None, size=None, gende before_date = datetime.datetime.strptime(before_date, '%Y-%m-%d %H:%M:%S') except ValueError: before_date = datetime.datetime.strptime(before_date, '%Y-%m-%d') - before_date = before_date.replace(tzinfo=datetime.datetime.now().astimezone().tzinfo).replace(microsecond=0).isoformat() + before_date = before_date.astimezone().replace(microsecond=0).isoformat() if after_date is not None: if isinstance(after_date, str): @@ -433,7 +433,7 @@ def animals(self, animal_id=None, animal_type=None, breed=None, size=None, gende after_date = datetime.datetime.strptime(after_date, '%Y-%m-%d %H:%M:%S') except ValueError: after_date = datetime.datetime.strptime(after_date, '%Y-%m-%d') - after_date = after_date.replace(tzinfo=datetime.datetime.now().astimezone().tzinfo).replace(microsecond=0).isoformat() + after_date = after_date.astimezone().replace(microsecond=0).isoformat() if after_date is not None and before_date is not None: if before_date < after_date: