Coder Social home page Coder Social logo

title2doi's Introduction

Title2DOI

A small FLASK web service, taking a filename from the POST request, loads the corresponding file from the LIBINTEL_:UPLOAD_DIR directory containing an unformatted list of references.

each reference (= each line) is queried at the CrossRef-API to retrieve the corresponding DOI. If a DOI is found, the MyCoRe repository is queried, whether it contains the entry. In addition, Scopus is queried to retrieve the Scopus ID and actual citation counts. Results are written to the results.txt as spread sheet ascii (delimited by ;).

Configuration

You could store the basic configuration data (CrossRef URL, Scopus URL, Scopus API key and MyCoRe repository API URL in the file: ~/.libintel/config/title2dois.cfg, by filling it with the following content (add your own Scopus API key):

LIBINTEL_UPLOAD_DIR = "<home directory>\\.libintel\\uploads"
CROSSREF_URL = "https://api.crossref.org/works?mailto=<E-Mail-Address>&rows=1&query="
MYCORE_URL = "address of MyCoRe repository"
SCOPUS_URL = "https://api.elsevier.com/content/"
SCOPUS_API_KEY = "<Scopus API Key>"

Setup

Create a virtual environment, install the packages from the requirements.txt and run the flask application (in Windows: python -m flask run)

Or using conda:

conda env create --file environment.yml
conda activate title2doi
export LIBINTEL_SETTINGS=~/.libintel/config/title2dois.cfg

then you can run the code with:

python start.py

title2doi's People

Contributors

etspielberg avatar a-t-0 avatar

Stargazers

marcos avatar

Watchers

James Cloos avatar  avatar

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.