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.name)

    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 funtions 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 avaible. In these cases, they are set to an empty string.

You can limit the number of results you want to get 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 published
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.2.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: dblpy-lib-0.1.2.tar.gz
  • Upload date:
  • Size: 4.2 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.2.tar.gz
Algorithm Hash digest
SHA256 b8d91e8d9119d7e398534743de71ad23b44c119bee794d6ffaf4465418dbcf92
MD5 91676431d4a8ea1c45a6c41db150ac07
BLAKE2b-256 e6dd8263d9e559f7d875e80ebd7e3ea983f074f97f9441ffab52f8c4bfc0c80c

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