diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index 206972b..8f132bf 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/modules/crossref.doctree b/docs/_build/doctrees/modules/crossref.doctree index c6b59a8..b0fde37 100644 Binary files a/docs/_build/doctrees/modules/crossref.doctree and b/docs/_build/doctrees/modules/crossref.doctree differ diff --git a/docs/_build/doctrees/modules/filters.doctree b/docs/_build/doctrees/modules/filters.doctree index 8511c4b..e22d6af 100644 Binary files a/docs/_build/doctrees/modules/filters.doctree and b/docs/_build/doctrees/modules/filters.doctree differ diff --git a/docs/_build/html/_modules/habanero/crossref/crossref.html b/docs/_build/html/_modules/habanero/crossref/crossref.html index e0b6b45..56b9c8e 100644 --- a/docs/_build/html/_modules/habanero/crossref/crossref.html +++ b/docs/_build/html/_modules/habanero/crossref/crossref.html @@ -185,7 +185,7 @@

Source code for habanero.crossref.crossref

 from ..habanero_utils import sub_str,check_kwargs
 from .filters import filter_details
 
-
[docs]class Crossref(object): +class Crossref(object): ''' Crossref: Class for Crossref search API methods @@ -265,6 +265,14 @@

Source code for habanero.crossref.crossref

         requests_log = logging.getLogger("requests.packages.urllib3")
         requests_log.setLevel(logging.DEBUG)
         requests_log.propagate = True
+
+        import requests
+        import logging
+        logging.getLogger().setLevel(logging.DEBUG)
+        requests_log = logging.getLogger("requests.packages.urllib3")
+        requests_log.setLevel(logging.DEBUG)
+        requests_log.propagate = True
+
         from habanero import Crossref
         cr = Crossref()
         cr.works(query = "ecology")
@@ -921,7 +929,7 @@ 

Source code for habanero.crossref.crossref

             x = cr.filter_details()
             [ z['description'] for z in x.values() ]
         '''
-        return filter_details
+ return filter_details
diff --git a/docs/_build/html/searchindex.js b/docs/_build/html/searchindex.js index d11b24e..01c8523 100644 --- a/docs/_build/html/searchindex.js +++ b/docs/_build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["changelog_link","conduct","contributing","contributors","docs/faq","docs/usecases","exceptions","index","intro/install","license","modules/cn","modules/counts","modules/crossref","modules/filters","modules/intro"],envversion:51,filenames:["changelog_link.rst","conduct.rst","contributing.rst","contributors.rst","docs/faq.rst","docs/usecases.rst","exceptions.rst","index.rst","intro/install.rst","license.rst","modules/cn.rst","modules/counts.rst","modules/crossref.rst","modules/filters.rst","modules/intro.rst"],objects:{"":{habanero:[13,0,0,"-"]},"habanero.Crossref":{filter_details:[13,1,1,""],filter_names:[13,1,1,""],funders:[12,2,1,""],journals:[12,2,1,""],licenses:[12,2,1,""],members:[12,2,1,""],prefixes:[12,2,1,""],random_dois:[12,2,1,""],registration_agency:[12,2,1,""],types:[12,2,1,""],works:[12,2,1,""]},"habanero.cn":{content_negotiation:[10,2,1,""]},"habanero.counts":{citation_count:[11,2,1,""]},habanero:{RequestError:[6,3,1,""]}},objnames:{"0":["py","module","Python module"],"1":["py","staticmethod","Python static method"],"2":["py","method","Python method"],"3":["py","class","Python class"]},objtypes:{"0":"py:module","1":"py:staticmethod","2":"py:method","3":"py:class"},terms:{"18th":[],"275k":12,"abstract":0,"boolean":[0,12],"case":0,"class":6,"default":[10,11,12],"function":[0,2,11],"import":[0,5,10,11,12,13,14],"new":[0,2],"public":1,"return":[0,10,12,13],"static":13,"true":12,"try":7,"while":[0,12],AND:9,Added:0,BUT:9,But:10,Doing:[],FOR:9,For:12,IDs:[0,12],NOT:9,Not:12,One:10,THE:9,That:5,The:[2,7,9],USE:9,Use:10,Using:10,WITH:9,abid:7,about:[0,12],abov:9,abus:1,accept:12,across:[],action:9,activ:1,actual:0,adapt:1,added:0,addiiton:[],addit:[0,10,12],address:[],affili:[],age:1,agenc:[0,12],agent:0,agre:7,aka:[],align:1,all:[0,1,9,12],allow:12,along:12,alongsid:[],also:[],amount:0,ani:[9,10,12],anoth:[],answer:7,apa:10,api:[0,6,7,14],api_kei:[],appear:1,appropri:0,archiv:[],argument:[10,12],aris:9,arrai:12,articl:12,asc:12,ask:7,assert:[],associ:9,attack:1,author:[9,12],avail:[0,1],award_fund:12,award_numb:12,back:[6,12],bar:[],base:[0,10],base_url:[],basicconfig:[],becaus:12,been:0,behavior:[1,2,7],below:[],better:[],bibentri:10,bibliograph:[],bibtex:10,big:0,bit:0,blob:[0,12],block:[],bodi:1,boettig:12,book:[],brief:2,bug:[0,7],call:12,can:[0,10,12,14],cannot:12,carl:12,categori:[],cbet:12,cboettig:11,certain:12,chair:[],chamberlain:[3,9],chang:[0,2,7],changelog:7,chapter:[],charact:12,charg:9,check:2,chunk:12,citat:[0,7,10,11,14],citation_count:[0,11],citeproc:10,claim:9,clear:12,client:7,close:2,code:[0,6,7],colin:3,com:[0,5,8,12],combin:12,comma:12,comment:1,commit:1,common:7,commun:7,compat:0,condit:9,conduct:7,connect:9,contact:1,contain:[],content:[0,7,10,14],content_negot:0,content_negoti:[0,10],continu:12,contract:9,contribut:[1,7],contributor:7,control:[],cooper:12,copi:9,copyright:9,core:[7,14],correct:0,could:12,count:[0,5,7,14],cours:12,coven:1,creativ:12,crosscit:0,crossmark:[],crossreef:[],crossref:[0,5,6,7,10,11,14],csl:[0,10],csl_style:[0,10],curl:0,current:0,cursor:[0,12],cursor_max:12,custom:[],damag:9,daniel:3,data:12,datacit:10,date:12,deal:9,debug:[],debuglevel:[],deep:[0,12],depend:10,deposit:[],derogatori:1,desc:12,describ:[0,2],descript:[12,13],detail:[2,7,13],determin:12,develop:8,dict:[12,13],did:2,differ:[0,10],digit:[11,12],direct:[],disabl:1,disclaim:0,discuss:[],distribut:9,doc:[0,2,12],document:[0,1,2,9],doesn:10,doi:[0,10,11,12],dom:0,don:[0,10,12],doubl:2,due:0,duplic:0,each:[10,12,13,14],earliest:[],ecolog:12,ecosci:10,edit:1,editor:12,eds:12,effici:12,egg:8,electron:[],element:12,elsevi:[5,10],email:[],engin:12,entir:14,error:[0,6,10],especi:12,etc:14,ethnic:1,even:[],event:9,everi:[0,12],everyon:1,exampl:[0,1,2,10,11,12,13],except:7,exist:2,expect:7,experi:1,express:[1,9],extravag:12,facet:[0,12],facets_:12,fail:0,fals:12,famili:12,faq:7,fbr:11,featur:1,few:12,field:[0,12],fieldqueri:[],fieldqueries_:12,figshar:10,file:[0,9],filter:[0,7,12],filter_detail:[0,12,13],filter_nam:[0,12,13],find:5,first:[0,5],fish:12,fit:9,fix:[0,2],fixm:11,fixnum:12,follow:[1,9],foo:[],form:2,format:[0,10],found:[11,12],free:[1,9],frequent:7,from:[0,1,5,8,9,10,11,12,13],from_pub_d:12,full:[0,12],funder:[0,12],furnish:9,gain:0,gender:[1,12],gener:2,get:[0,10,11,12,13],getlogg:[],git:8,github:[0,7,8,12],give:6,given:[],good:[],got:7,grammar:2,grant:9,group:[],gt1000:5,guid:7,habanero:[0,2,5,6,10,11,12,13],handl:0,happen:[],harass:1,harvard3:10,harvard:10,has:[0,2,7],has_full_text:12,has_fund:12,hash:12,have:[1,7],header:0,help:2,here:[2,12],herebi:9,hered:10,higher:0,himmelstein:3,holder:9,hopefulli:0,how:[0,7],html:2,http:[0,1,2,5,6,10,11,12],http_client:[],httpconnect:[],httplib:[],ident:1,identifi:[11,12],ids:[10,12],ignor:[0,12],imageri:1,impli:9,improv:0,includ:[0,1,2,9,12],index:[2,7],individu:14,info:11,infomr:[],inform:7,input:0,instal:0,instanc:1,instanti:[],instead:[],insult:1,intern:10,interv:[],intro:[],introduc:2,introduct:7,ioverka:3,ish:10,issn:12,issu:[1,2,7],item:[5,12],its:7,javascript:4,jmaupetit:0,journal:[11,12,14],json:10,julien:3,just:[2,12,13],kei:[5,11],keyc:11,kind:9,know:7,known:[],kwarg:[0,10,11,12],kyle:3,lab:11,lambda:[5,12],languag:[1,10],larg:12,latest:2,lead:12,learn:7,left:11,len:[5,12],less:12,let:12,level:[0,1],liabil:9,liabl:9,librari:[0,5,14],licens:[7,12],like:[0,2,5],limit:[0,9,12],link:12,list:[10,12],liter:[],load:5,local:10,locale_alia:10,locat:[],log:[],look:7,lost:0,lot:5,machin:[],made:0,mai:[1,12],mailto:0,main:0,maintain:1,make:[0,1,2,12],makefil:2,mani:[10,12],map:12,master:[0,12],match:[],maupetit:3,max:[0,5,12],maximum:[0,12],meaning:0,member:[12,14],mention:2,merchant:9,merg:9,messag:[0,5,6,12],metadata:12,method:[0,2,12],mint:12,mock:0,modifi:[9,13],modul:[0,13],more:[0,1,11,12],most:[2,5,10],much:12,name:[0,10,12,13],need:[0,14],negot:[0,7,14],negoti:[0,10],niemey:3,non:0,none:[10,12],noninfring:9,nosetest:2,note:[0,12],notic:9,now:0,nsf:12,number:12,object:[11,12],obtain:9,occurr:6,octopu:12,offset:[0,12],oiko:10,one:[1,12],onli:[0,5,10,12],onlin:[],open:1,openurl:11,option:[0,10,12],orcid:[],order:12,org:[0,1,10,11],orient:1,other:[1,9,10,12],otherwis:[1,9],our:[2,7],out:9,output:12,own:0,packag:[],page:[0,7,12],param:[0,12],paramet:[0,10,11,12],pars:[0,10,12],particip:[1,7],particular:9,pass:[0,10,12],patch:1,peak:3,peerj:12,peopl:1,per:12,perform:[],permiss:9,permit:9,person:[1,9],piec:12,pip:8,pleas:2,pledg:1,polit:0,pone:[11,12],pool:0,pop:2,portion:9,possibl:[2,12,13],post:1,prefix:12,print:12,privat:1,problem:0,project:[1,7],propag:[],proper:0,provid:[2,9],publish:9,pull:1,purpos:9,put:2,pypi:[0,8],python2:0,python3:0,python:[0,2,7],queri:[0,12],query_affili:[],query_author:12,query_bibliograph:[],query_chair:[],query_container_titl:12,query_contributor:[],query_editor:12,query_titl:12,query_transl:[],question:7,quit:12,race:1,rais:[0,6],random:[0,12],random_doi:[0,12],rate:0,rcrossref:4,rdf:10,read:2,readm:0,readthedoc:[0,2],recent:[2,7],record:12,redund:0,refer:[],referenc:[],regardless:1,registr:12,registration_ag:[0,12],registri:[],reject:1,relat:[0,2],relav:12,releas:0,relev:12,religion:1,rememb:2,remov:[0,1],repeat:12,report:[1,7],reproduc:2,request:[0,1,6,10,12],requesterror:6,requests_log:[],res:[5,12],reserv:[],reset:[],respect:1,respons:[0,1],rest:[0,12],rest_api:[0,12],restrict:9,result:[0,6,12],retriev:12,right:[1,9],ris:10,ropensci:11,rout:[0,12],row:12,rubi:4,same:[],sampl:[0,12],schema:12,scienc:10,sckott:[7,8],score:12,scott:[3,9],search:[0,7,10,12,14],second:[],see:[0,2,7,10,11,12],seem:0,select:[0,12],sell:9,send:[],sent:6,separ:[0,12],septemb:[],serrano:4,server:10,servic:11,set:[0,12],setlevel:[],setup:[],sexual:1,shall:9,should:[11,12],show:[0,12],signific:[],similar:2,simpl:0,simplifi:0,singl:10,size:1,small:0,softwar:9,some:[0,7,10],sometim:12,sort:12,sorting_:12,sourc:[6,7,12,13],special:[],specif:[7,12],specifi:[0,12],split:14,stabl:8,start:[7,12],statu:[6,12],steve:3,str:10,string:[0,10,11,12],structur:0,style:[0,10],subject:9,sublicens:9,sublist:12,submit:[1,2],subset:12,substanti:9,subtitl:[],sudo:8,sum:12,summari:2,support:[0,10],sure:2,synonym:[],system:0,talbert:3,talbertc:0,task:2,tdm:[5,10],team:1,templat:2,term:7,test3:2,test:0,text:[0,10,12],than:[0,12],thank:0,thei:0,them:0,thi:[1,2,6,7,9,11,12],those:12,through:1,time:12,titl:[2,12],tort:9,total:12,tracker:[2,7],translat:[],troll:1,troubl:7,turtl:10,type:[10,12],unaccept:1,under:2,unicod:0,uniqu:5,unit:0,univers:0,unless:[0,2],unprofession:1,until:12,updat:[0,1,12],uri:[],url:[0,10,11,12],urllib3:[],usag:[10,11,12,13],use:[0,1,7,9,12],usecas:7,used:[0,12,13],useful:12,user:0,userlicens:5,usg:0,using:[0,2,12],uzh:10,valu:[0,5,12,13],variou:[10,12],vcrpy:0,verbos:0,veri:12,verif:0,version:[1,2,7,8,12],via:12,want:[7,12],warranti:9,wasn:0,well:12,were:0,weren:0,what:[0,7,10],wheel:0,when:[0,2,6,12],where:0,whether:9,which:[10,12],who:1,whom:9,widget:12,wiki:1,within:0,without:[0,9,12],won:12,work:[0,10,12],would:[],write:[],www:[5,11],xml:[0,10],year:[],yet:12,you:[0,2,7,10,12,14],your:[0,2,11,12]},titles:["Changelog","Contributor Code of Conduct","Contributing","Contributors","Frequently Asked Questions","Usecases","Exceptions","habanero 0.6.0 documentation","Installation guide","LICENSE","cn module","counts module","crossref module","Crossref Search Filters","habanero modules"],titleterms:{"case":5,Use:5,all:7,api:[10,11,12,13],ask:4,bug:2,changelog:0,citat:[],client:4,code:1,conduct:1,content:[],contribut:2,contributor:[1,3],count:11,crossref:[4,12,13],doc:7,document:7,except:6,facet:5,featur:2,filter:13,frequent:4,get:[5,7],guid:8,habanero:[7,8,14],help:7,indic:7,instal:[7,8],licens:[5,9],modul:[7,10,11,12,14],negoti:[],number:5,other:4,out:4,per:5,pull:2,question:4,report:2,request:2,rest:7,search:[5,13],tabl:7,test:2,type:5,usecas:5,what:4,work:5,write:2}}) \ No newline at end of file +Search.setIndex({docnames:["index","modules/crossref","modules/filters"],envversion:51,filenames:["index.rst","modules/crossref.rst","modules/filters.rst"],objects:{"":{habanero:[2,0,0,"-"]},"habanero.Crossref":{filter_details:[2,1,1,""],filter_names:[2,1,1,""],funders:[1,2,1,""],journals:[1,2,1,""],licenses:[1,2,1,""],members:[1,2,1,""],prefixes:[1,2,1,""],random_dois:[1,2,1,""],registration_agency:[1,2,1,""],types:[1,2,1,""],works:[1,2,1,""]}},objnames:{"0":["py","module","Python module"],"1":["py","staticmethod","Python static method"],"2":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:staticmethod","2":"py:method"},terms:{"18th":[],"275k":1,"abstract":[],"boolean":1,"case":[],"class":[],"default":1,"function":[],"import":[1,2],"new":[],"public":[],"return":[1,2],"static":2,"true":1,"try":0,"while":1,AND:[],Added:[],BUT:[],But:[],Doing:[],FOR:[],For:1,IDs:1,NOT:[],Not:1,One:[],THE:[],That:[],The:0,USE:[],Use:[],Using:[],WITH:[],abid:0,about:1,abov:[],abus:[],accept:1,across:[],action:[],activ:[],actual:[],adapt:[],added:[],addiiton:[],addit:1,address:[],affili:[],age:[],agenc:1,agent:[],agre:0,aka:[],align:[],all:1,allow:1,along:1,alongsid:[],also:[],amount:[],ani:1,anoth:[],answer:0,apa:[],api:0,api_kei:[],appear:[],appropri:[],archiv:[],argument:1,aris:[],arrai:1,articl:1,asc:1,ask:0,assert:[],associ:[],attack:[],author:1,avail:[],award_fund:1,award_numb:1,back:1,bar:[],base:[],base_url:[],basicconfig:[],becaus:1,been:[],behavior:0,below:[],better:[],bibentri:[],bibliograph:[],bibtex:[],big:[],bit:[],blob:1,block:[],bodi:[],boettig:1,book:[],brief:[],bug:0,call:1,can:1,cannot:1,carl:1,categori:[],cbet:1,cboettig:[],certain:1,chair:[],chamberlain:[],chang:0,changelog:0,chapter:[],charact:1,charg:[],check:[],chunk:1,citat:0,citation_count:[],citeproc:[],claim:[],clear:1,client:0,close:[],code:0,colin:[],com:1,combin:1,comma:1,comment:[],commit:[],common:0,commun:0,compat:[],condit:[],conduct:0,connect:[],contact:[],contain:[],content:0,content_negot:[],content_negoti:[],continu:1,contract:[],contribut:0,contributor:0,control:[],cooper:1,copi:[],copyright:[],core:0,correct:[],could:1,count:0,cours:1,coven:[],creativ:1,crosscit:[],crossmark:[],crossreef:[],crossref:0,csl:[],csl_style:[],curl:[],current:[],cursor:1,cursor_max:1,custom:[],damag:[],daniel:[],data:1,datacit:[],date:1,deal:[],debug:[],debuglevel:[],deep:1,depend:[],deposit:[],derogatori:[],desc:1,describ:[],descript:[1,2],detail:[0,2],determin:1,develop:[],dict:[1,2],did:[],differ:[],digit:1,direct:[],disabl:[],disclaim:[],discuss:[],distribut:[],doc:1,document:[],doesn:[],doi:1,dom:[],don:1,doubl:[],due:[],duplic:[],each:[1,2],earliest:[],ecolog:1,ecosci:[],edit:[],editor:1,eds:1,effici:1,egg:[],electron:[],element:1,elsevi:[],email:[],engin:1,entir:[],error:[],especi:1,etc:[],ethnic:[],even:[],event:[],everi:1,everyon:[],exampl:[1,2],except:0,exist:[],expect:0,experi:[],express:[],extravag:1,facet:1,facets_:1,fail:[],fals:1,famili:1,faq:0,fbr:[],featur:[],few:1,field:1,fieldqueri:[],fieldqueries_:1,figshar:[],file:[],filter:[0,1],filter_detail:[1,2],filter_nam:[1,2],find:[],first:[],fish:1,fit:[],fix:[],fixm:[],fixnum:1,follow:[],foo:[],form:[],format:[],found:1,free:[],frequent:0,from:[1,2],from_pub_d:1,full:1,funder:1,furnish:[],gain:[],gender:1,gener:[],get:[1,2],getlogg:[],git:[],github:[0,1],give:[],given:[],good:[],got:0,grammar:[],grant:[],group:[],gt1000:[],guid:0,habanero:[1,2],handl:[],happen:[],harass:[],harvard3:[],harvard:[],has:0,has_full_text:1,has_fund:1,hash:1,have:0,header:[],help:[],here:1,herebi:[],hered:[],higher:[],himmelstein:[],holder:[],hopefulli:[],how:0,html:[],http:1,http_client:[],httpconnect:[],httplib:[],ident:[],identifi:1,ids:1,ignor:1,imageri:[],impli:[],improv:[],includ:1,index:0,individu:[],info:[],infomr:[],inform:0,input:[],instal:[],instanc:[],instanti:[],instead:[],insult:[],intern:[],interv:[],intro:[],introduc:[],introduct:0,ioverka:[],ish:[],issn:1,issu:0,item:1,its:0,javascript:[],jmaupetit:[],journal:1,json:[],julien:[],just:[1,2],kei:[],keyc:[],kind:[],know:0,known:[],kwarg:1,kyle:[],lab:[],lambda:1,languag:[],larg:1,latest:[],lead:1,learn:0,left:[],len:1,less:1,let:1,level:[],liabil:[],liabl:[],librari:[],licens:[0,1],like:[],limit:1,link:1,list:1,liter:[],load:[],local:[],locale_alia:[],locat:[],log:[],look:0,lost:[],lot:[],machin:[],made:[],mai:1,mailto:[],main:[],maintain:[],make:1,makefil:[],mani:1,map:1,master:1,match:[],maupetit:[],max:1,maximum:1,meaning:[],member:1,mention:[],merchant:[],merg:[],messag:1,metadata:1,method:1,mint:1,mock:[],modifi:2,modul:2,more:1,most:[],much:1,name:[1,2],need:[],negot:0,negoti:[],niemey:[],non:[],none:1,noninfring:[],nosetest:[],note:1,notic:[],now:[],nsf:1,number:1,object:1,obtain:[],occurr:[],octopu:1,offset:1,oiko:[],one:1,onli:1,onlin:[],open:[],openurl:[],option:1,orcid:[],order:1,org:[],orient:[],other:1,otherwis:[],our:0,out:[],output:1,own:[],packag:[],page:[0,1],param:1,paramet:1,pars:1,particip:0,particular:[],pass:1,patch:[],peak:[],peerj:1,peopl:[],per:1,perform:[],permiss:[],permit:[],person:[],piec:1,pip:[],pleas:[],pledg:[],polit:[],pone:1,pool:[],pop:[],portion:[],possibl:[1,2],post:[],prefix:1,print:1,privat:[],problem:[],project:0,propag:[],proper:[],provid:[],publish:[],pull:[],purpos:[],put:[],pypi:[],python2:[],python3:[],python:0,queri:1,query_affili:[],query_author:1,query_bibliograph:[],query_chair:[],query_container_titl:1,query_contributor:[],query_editor:1,query_titl:1,query_transl:[],question:0,quit:1,race:[],rais:[],random:1,random_doi:1,rate:[],rcrossref:[],rdf:[],read:[],readm:[],readthedoc:[],recent:0,record:1,redund:[],refer:[],referenc:[],regardless:[],registr:1,registration_ag:1,registri:[],reject:[],relat:[],relav:1,releas:[],relev:1,religion:[],rememb:[],remov:[],repeat:1,report:0,reproduc:[],request:1,requesterror:[],requests_log:[],res:1,reserv:[],reset:[],respect:[],respons:[],rest:1,rest_api:1,restrict:[],result:1,retriev:1,right:[],ris:[],ropensci:[],rout:1,row:1,rubi:[],same:[],sampl:1,schema:1,scienc:[],sckott:0,score:1,scott:[],search:[0,1],second:[],see:[0,1],seem:[],select:1,sell:[],send:[],sent:[],separ:1,septemb:[],serrano:[],server:[],servic:[],set:1,setlevel:[],setup:[],sexual:[],shall:[],should:1,show:1,signific:[],similar:[],simpl:[],simplifi:[],singl:[],size:[],small:[],softwar:[],some:0,sometim:1,sort:1,sorting_:1,sourc:[0,1,2],special:[],specif:[0,1],specifi:1,split:[],stabl:[],start:[0,1],statu:1,steve:[],str:[],string:1,structur:[],style:[],subject:[],sublicens:[],sublist:1,submit:[],subset:1,substanti:[],subtitl:[],sudo:[],sum:1,summari:[],support:[],sure:[],synonym:[],system:[],talbert:[],talbertc:[],task:[],tdm:[],team:[],templat:[],term:0,test3:[],test:[],text:1,than:1,thank:[],thei:[],them:[],thi:[0,1],those:1,through:[],time:1,titl:1,tort:[],total:1,tracker:0,translat:[],troll:[],troubl:0,turtl:[],type:1,unaccept:[],under:[],unicod:[],uniqu:[],unit:[],univers:[],unless:[],unprofession:[],until:1,updat:1,uri:[],url:1,urllib3:[],usag:[1,2],use:[0,1],usecas:0,used:[1,2],useful:1,user:[],userlicens:[],usg:[],using:1,uzh:[],valu:[1,2],variou:1,vcrpy:[],verbos:[],veri:1,verif:[],version:[0,1],via:1,want:[0,1],warranti:[],wasn:[],well:1,were:[],weren:[],what:0,wheel:[],when:1,where:[],whether:[],which:1,who:[],whom:[],widget:1,wiki:[],within:[],without:1,won:1,work:1,would:[],write:[],www:[],xml:[],year:[],yet:1,you:[0,1],your:1},titles:["habanero 0.6.0 documentation","crossref module","Crossref Search Filters"],titleterms:{"case":[],Use:[],all:0,api:[1,2],ask:[],bug:[],changelog:[],citat:[],client:[],code:[],conduct:[],content:[],contribut:[],contributor:[],count:[],crossref:[1,2],doc:0,document:0,except:[],facet:[],featur:[],filter:2,frequent:[],get:0,guid:[],habanero:0,help:0,indic:0,instal:0,licens:[],modul:[0,1],negoti:[],number:[],other:[],out:[],per:[],pull:[],question:[],report:[],request:[],rest:0,search:2,tabl:0,test:[],type:[],usecas:[],what:[],work:[],write:[]}}) \ No newline at end of file diff --git a/habanero/crossref/crossref.py b/habanero/crossref/crossref.py index 31e2edd..27a6fbf 100644 --- a/habanero/crossref/crossref.py +++ b/habanero/crossref/crossref.py @@ -85,6 +85,14 @@ class Crossref(object): requests_log = logging.getLogger("requests.packages.urllib3") requests_log.setLevel(logging.DEBUG) requests_log.propagate = True + + import requests + import logging + logging.getLogger().setLevel(logging.DEBUG) + requests_log = logging.getLogger("requests.packages.urllib3") + requests_log.setLevel(logging.DEBUG) + requests_log.propagate = True + from habanero import Crossref cr = Crossref() cr.works(query = "ecology")