Giter Club home page Giter Club logo

dblp-python's Introduction

dblp-python

A simple Python wrapper around the DBLP API, currently supporting author search and author and publication lookup.

Example

Let's search for Michael Ley, DBLP maintainer. Try

>>> import dblp
>>> #do a simple author search for michael ley
>>> authors = dblp.search('michael ley')
>>> michael = authors[0]
>>> print michael.name
Michael Ley
>>> print len(michael.publications)
31

If you'd like to learn more about Michael's work, you can explore his publications. All publication results are lazy-loaded, so have at it

>>> print michael.publications[0].title
DBLP - Some Lessons Learned.
>>> print michael.publications[0].journal
PVLDB
>>> print michael.publications[0].year
2009

More information about a publication can often be found at its ee URL - in this case, a link to the PDF

>>> print michael.publications[0].ee
http://www.vldb.org/pvldb/2/vldb09-98.pdf

Other publication and author attributes are documented with their respective classes- just use help(). Enjoy!

Contributing

Contributions are very welcome! Feel free to fork the repo and request a pull, or open an issue if you find a bug or would like to request a feature.

dblp-python's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dblp-python's Issues

How to install

Hi! I want to use this tool, but I do not know how to install this package?

can't pickle _ElementUnicodeResult objects

I get the following error when I do:

import dblp
authors = dblp.search('michael ley')
m = authors[0]
print m.name
Michael Ley
print m.publications[0].title
DBLP - Some Lessons Learned.
print m.publications[1].title
Traceback (most recent call last):
File "<pyshell#16>", line 1, in
print m.publications[1].title
File "C:\Python27\lib\idlelib\PyShell.py", line 1325, in write
return self.shell.write(s, self.tags)
File "C:\Python27\lib\idlelib\rpc.py", line 595, in call
value = self.sockio.remotecall(self.oid, self.name, args, kwargs)
File "C:\Python27\lib\idlelib\rpc.py", line 210, in remotecall
seq = self.asynccall(oid, methodname, args, kwargs)
File "C:\Python27\lib\idlelib\rpc.py", line 225, in asynccall
self.putmessage((seq, request))
File "C:\Python27\lib\idlelib\rpc.py", line 324, in putmessage
s = pickle.dumps(message)
File "C:\Python27\lib\copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.name
TypeError: can't pickle _ElementUnicodeResult objects

Can this software be licensed?

Hi,

I find dblp-python to be quite useful. Thank you for writing this!
Can this software be licensed as open-source please? I am thinking of incorporating it into the biopython package. Thanks! We are compatible with most licenses, including BSD, GPL and MIT.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.