Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/p/y/PyCon2013_SNA-HEAD/src/pubmed/pubmed.py   PyCon2013_SNA(Download)
        for chunk in chunks:
            handle = Entrez.efetch(db="pubmed", id=chunk, rettype="medline", retmode="text")
            articles.extend(list(Medline.parse(handle)))
            print '#'
            #pbar.update(p.currval+len(chunk))
    else:
        handle=Entrez.efetch(db="pubmed", id=idlist, rettype="medline", retmode="text")
        articles.extend(list(Medline.parse(handle)))

src/d/e/denigma-HEAD/denigma/apps/datasets/models.py   denigma(Download)
 
            handle = Entrez.efetch(db="pubmed", id=self.pmid, rettype="medline", retmode="text")
            records = Medline.parse(handle)
            for record in records: pass
            self.abstract = record.get('AB', None)

src/a/b/abstrackr-0.3.0dev/abstrackr/lib/pubmedpy.py   abstrackr(Download)
    handle = client.efetch_using_dbids(dbids=dbids, rettype='medline', retmode='text')
    #handle = EUtils.efetch(db="pubmed",id=article_ids,rettype="medline",retmode="text")
    records = Medline.parse(handle)
    print "Done." 
    return records   

src/l/i/LitReview-0.6997dev/src/model_old_schema/pubmed.py   LitReview(Download)
    def __init__(self, pmid):
        Entrez.email = 'sgd-programmers@genome.stanford.edu'
        ## pmids is a list (array of pmid)
        self.handle = Entrez.efetch(db='pubmed', id=pmid, rettype='medline', retmode='text')
        self.records = Medline.parse(self.handle)

src/s/c/sciscrape-HEAD/sciscrape/utils/pubtools.py   sciscrape(Download)
        id=','.join(pmid for pmid in chunk if pmid),
    )
    return Medline.parse(handle)
 
@ensure_email

src/d/e/denigma-HEAD/denigma/library.py   denigma(Download)
        id = int(id)
        handle = Entrez.efetch(db="pubmed",id=id,rettype="medline",retmode="text")
        records = Medline.parse(handle)
        #print type(res)
        for r in records:

src/p/u/pubmedpy-HEAD/pubmedpy.py   pubmedpy(Download)
def fetch_articles(article_ids):
    print "Fetching abstracts..."
    handle = Entrez.efetch(db="pubmed",id=article_ids,rettype="medline",retmode="text")
    records = Medline.parse(handle)
    print "ok"

src/b/i/biopython-HEAD/Tests/test_TogoWS.py   biopython(Download)
    def test_pubmed_16381885_and_19850725(self):
        """Bio.TogoWS.entry("pubmed", "16381885,19850725")"""
        handle = TogoWS.entry("pubmed", "16381885,19850725")
        records = list(Medline.parse(handle))
        handle.close()

src/b/i/biopython-HEAD/Tests/test_Medline.py   biopython(Download)
    def test_parse(self):
        handle = open("Medline/pubmed_result2.txt")
        records = Medline.parse(handle)
        record = next(records)
        self.assertEqual(record["PMID"], "16403221")

src/b/i/biopython-1.63/Tests/test_TogoWS.py   biopython(Download)
    def test_pubmed_16381885_and_19850725(self):
        """Bio.TogoWS.entry("pubmed", "16381885,19850725")"""
        handle = TogoWS.entry("pubmed", "16381885,19850725")
        records = list(Medline.parse(handle))
        handle.close()

  1 | 2  Next