Skip to content

Python script to organise my BibTex entries and automate some problems I had with the Mendeley export function.

License

Notifications You must be signed in to change notification settings

pepijngriffioen/BibtexOrganiser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bib processor

Code style: black

I created this bibtex parser to help me with some problems I had with the Mendeley online export function. The main problem is the missing of citation keys for some entries. First I added them manually, but as I had to recreate the bib file quite often, this was a waste of time. To make this process more easy I wrote this script.

I hope Mendeley fixes this issue in the future, but for now I got you covered! I you feel the need to change some things around feel free to contribute!

Usage

Create a virtual environment using the requirements.txt Then to run the program you will need an input file. That can be given using the run arguments, the program will create an output bib file. The output file must also be specified in the execution command.

python3 bib-sort.py input/input_example.bib output/output.bib

Adding keys

The citiation keys are specified using a separate json file. As an example I have provided the input_example.bib file. To process these files I make use of the author keys in the author_keys_example.json. The keys can be added here as a dictionary like structure.

About

Python script to organise my BibTex entries and automate some problems I had with the Mendeley export function.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published