{"id":24590686,"url":"https://github.com/giuppep/mendeleybibtexcleaner","last_synced_at":"2025-10-18T17:59:46.469Z","repository":{"id":103622919,"uuid":"121877799","full_name":"giuppep/MendeleyBibTeXCleaner","owner":"giuppep","description":"Small python CLI to \"clean\" the .bib files generated by Mendeley","archived":false,"fork":false,"pushed_at":"2018-02-26T18:08:10.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-10T10:16:11.619Z","etag":null,"topics":["bibtex","bibtexparser","mendeley"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giuppep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-17T17:49:00.000Z","updated_at":"2018-02-20T10:41:50.000Z","dependencies_parsed_at":"2023-05-24T01:00:19.778Z","dependency_job_id":null,"html_url":"https://github.com/giuppep/MendeleyBibTeXCleaner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/giuppep/MendeleyBibTeXCleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuppep%2FMendeleyBibTeXCleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuppep%2FMendeleyBibTeXCleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuppep%2FMendeleyBibTeXCleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuppep%2FMendeleyBibTeXCleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giuppep","download_url":"https://codeload.github.com/giuppep/MendeleyBibTeXCleaner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuppep%2FMendeleyBibTeXCleaner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271923906,"owners_count":24844279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bibtex","bibtexparser","mendeley"],"created_at":"2025-01-24T09:14:13.918Z","updated_at":"2025-10-18T17:59:41.436Z","avatar_url":"https://github.com/giuppep.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MendeleyBibTeXCleaner\n*Small CLI to \"clean\" the .bib files generated by Mendeley*\n\n## Introduction\n\n[Mendeley](https://www.mendeley.com) is a popular software to organise bibliography.\nWhile it provides a basic feature to export the library in [BibTeX](http://www.bibtex.org/) format, \nI often found myself in the need of editing the .bib file to get it to work properly in my\nLaTeX documents. In particular, the exported .bib file contains a lot of unnecessary information\nfor the use in a LaTeX document (e.g. abstract of the paper, filepath...).\nMoreover Mendely does not format correctly the *month* field, e.g. it exports `month = {jun}` rather\nthan `month = jun`.\n\nThis script takes as input the .bib file created by Mendeley and returns a \"cleaned up\" file where only\nthe user-specified fields are mantained. Moreover it gives the possibility of fixing the formatting\nof the *month* field.\n\n### Acknowledgements\n\nThis script makes use of [click](http://click.pocoo.org) and [bibtexparser](https://github.com/sciunto-org/python-bibtexparser).\n\n## Installation\n\nSimply clone the repository and run\n```\n$ pip3 install .\n```\n\n## Usage\n```\n$ mendeleycleaner COMMAND [ARGS] [OPTIONS] \n```\nTo 'clean' a file run\n```\n$ mendeleycleaner clean BIB_FILE.bib [OPTIONS]\n```\nThe script will save the 'cleaned' file as `BIB_FILE_edited.bib`.\nThis behaviour can be changed using appropriate options (see below).\n\nTo edit the configuration file run\n```\n$ mendeleycleaner config\n```\n\nAt the first run, the script will create a default configuration file in `~/.MedeleyBibTeXCleaner`\nThe first few lines of the configuration file will look like\n```\n# Configuration file for MendeleyBibTeXCleaner\n#\n# Comment with \"#\" (or delete) the lines corresponding to the BibTeX fields\n# that you DO NOT want in the processed bib file.\n# If you want to include additional BibTeX fields, simply add them at the\n# end of this file.\nauthor\ntitle\njournal\npages\n...\n```\nThe user should edit the configuration file to their preferences before running the script. \nThe default config file will return a bibliography with minimal information.\n\n\nTo display the help message, simply run\n```\n$ mendeleycleaner --help\n```\n\n\n### Flags and options\n* `--month` will fix the month formatting.\n* `--save-to DESTINATION` allows the user to specify the destination file.\n* `--overwrite` overwrites the original .bib file.\n\n### Uninstall\nTo uninstall the script, simply run\n```\n$ pip3 uninstall MendeleyBibTeXCleaner\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuppep%2Fmendeleybibtexcleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiuppep%2Fmendeleybibtexcleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuppep%2Fmendeleybibtexcleaner/lists"}