Code Monkey home page Code Monkey logo

citation-generator's Introduction

Pubmed Citation Generator contributions welcome

Writing citations for research papers is time-consuming!

Great news, NCBI’s databases (web API) are accessible using Python. Thus, this program can create MLA citations for the first five articles found.

Demo

Featured

Here's a step-by-step tutorial on how I wrote the program.

How it works

When running the script in terminal, you will be asked to enter search terms to find your articles. Results will display the PubMed ID and citation for each of the five articles.

For example, the search terms "big data ETL" results in (only 1 out of 5 shown):

python3 main.py 
Please enter a search for PubMed articles: big data ETL
------------------------
Beginning article search
------------------------
Retrieving articles 1 of 5
PubMed ID: 31201587
Godinho TM, Lebre R, Almeida JR, Costa C. ETL Framework for Real-Time Business Intelligence over Medical Imaging Repositories. J Digit Imaging 2019;32(5):870-879. doi: 10.1007/s10278-019-00184-5
------------------------

Prerequisites

  • Python3
  • Basic knowledge of data parsing and web API

Requirements

Resources

Getting started

Clone the repository from github and go into the peptide-search folder in terminal.

git clone https://github.com/ying-li-python/citation-generator.git
cd citation-generator

Running the script

Run the script in terminal and enter search terms to find your article.

python3 main.py

Results

You should see the first five articles showing its unique PubMed ID and citation written in MLA format.

Good luck!

Author

Ying Li

citation-generator's People

Contributors

ying-li-python avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.