Skip to main content

A wrapper for dblp.org search api

Project description

dblpy

Dblpy is a simple wrapper library for the dblp.org search api.

from dblpy import get_authors, get_venues, get_publications

authors = get_authors(q='Donald Knuth')
for a in authors:
    print(a)

    for n in a.notes:
        print(f'|{n}')

publications = get_publications(q='gps trajectory', max_results=5)
for p in publications:
    print(p)

venues = get_venues(q='Berlin')
for v in venues:
    print(v)

Installing Dblpy

$pip3 install dblpy-lib

Using the Library

The library offers functions to query dblp.org for publications, authors, and venues. They return lists of the respective objects.

For some publications, authors, or venues, not all possible attributes are available. In these cases, they are set to an empty string.

You can limit the number of results with the argument max_results=X. This is set by default to 100.

Authors

authors = get_authors(q='Donald Knuth', max_results=10)
author = authors[0]

author.name # Name of Author
author.notes # List of affiliations and awards linked to author
author.notes[0].type # Type of affiliation
author.notes[0].text # Name of affiliation
author.aliases # List of other names of same author
author.url # Link to dblp page of author

Publications

publications = get_publications(q='gps trajectory', max_results=5)
publ = publications[0]

publ.authors # List of author names 
publ.title # Name of publication
publ.venue # Venue of publication
publ.volume # Volume in which publication was published
publ.number # Number of publication volume
publ.pages # Pages of publication 
publ.publisher # Publisher of publication
publ.year # Year when publication was released
publ.type # Type of publication
publ.access # Type of access
publ.key # Key of publication
publ.doi # Doi of publication 
publ.ee # Link to electronic edition of publication
publ.url # Link to dblp page of publication

Venues

venues = get_venues(q='Berlin', max_results=5)
venue = venues[0]

venue.name # Name of venue
venue.acronym # Acronym of venue
venue.type # Type of venue
venue.url # Link to dblp page of venue

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dblpy-lib-0.1.3.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file dblpy-lib-0.1.3.tar.gz.

File metadata

  • Download URL: dblpy-lib-0.1.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.9

File hashes

Hashes for dblpy-lib-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f40543aba91733d5e53ccfe0f9b8fd5ba6e60ef538d6a151f25d563c749e2a4f
MD5 0de19a171c35322e2488475b9604bde9
BLAKE2b-256 1e746b716c67624e60fa170098c157bece761e92f3a7d48bff452d5f2b584dc6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page