Giter Club home page Giter Club logo

doc2bib's Introduction

doc2bib

doc2bib is a script that takes bib entries from this Google Doc and updates the tailor-wp5.bib file of the whitemech.github.io repository under the tailor-pubs branch.

Then, the user has to create a new pull request and merge it to the master branch for the modifications to be effective.

Dependencies

The script depends on:

NOTE: to access the Google Doc file you have to be authorized. Moreover, PyDrive expects the client_secrets.json and the credentials.json files. You can find them on the PyDrive's documentation and you can put them under the same folder of the script.

Also, the script assumes you have a local version of the whitemech.github.io repository and you have access to it.

Install

Create a virtualenv and install:

pip install gitpython &&
pip install pydrive &&
pip install bibtexparser

Otherwise, just run:

pip install -r requirements.txt

Use

Simply run:

python main.py

Beaware that the script does add, commit and push on the whitemech.github.io repository everytime you execute it.

doc2bib's People

Contributors

francescofuggitti avatar

Stargazers

 avatar

Watchers

 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.