Giter VIP home page Giter VIP logo

orcid-to-bibtex's Introduction

ORCID to BibTeX

Command-line program which generates a BibTeX file from an individual's ORCID record.

Features

  • Concurrent downloading of works from ORCID using AIOHTTP
  • Intelligent renaming of BibTeX keys (to avoid duplicates) using keyword extraction (YAKE) on work titles

Usage

Clone this repository to your local machine using git:

git clone https://github.com/MrPike/orcid-to-bibtex.git

Navigate into directory containing the code:

cd orcid-to-bibtex

Now install the application's dependencies. It's recommended that you use Poetry to do this.

poetry install

Now activate a poetry shell and run the application:

poetry shell
python3 orcid-to-bibtex.py 0000-0000-0000-1234

Replace 0000-0000-0000-1234, with the ORCID id of the individual whose works you would like to retrieve.

The application supports the following arguments:

-o          The output path for the generated BibTeX file. A value must be specified.
--dl        The maximum number of concurrent connections to ORCID's API. The default is 50.
--orderby   How BibTeX entries should be sorted. Multiple fields can be specified. e.g. year title. The default is 'id'.
--indent    The number of spaces each field in a given entry should be indented by. The default is 4 spaces.
--ssl       Indicates whether SSL certificates should be validated or not. Default is true (meaning - certificates are validated).

Example usages:

  1. Get all works for the ORCID user with the ID '0000-0002-1543-0148' and save the file to 'my_pubs.bib':
python3 orcid-to-bibtex.py 0000-0002-1543-0148 -o my_pubs.bib
  1. As with #1 (above), but entry details should be indented by 8 spaces (instead of the default - 4) and entries sorted by publication year, then title:
python3 orcid-to-bibtex.py 0000-0002-1543-0148 -o my_pubs.bib --indent 8 --orderby year title

orcid-to-bibtex's People

Contributors

filvuk avatar grazingscientist avatar mrpike avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

orcid-to-bibtex's Issues

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.