A simple Python script that uses the Pybtex package to
filter entries in a bibtex-formatted .bib
by keyword.
Open a terminal window and navigate to where you would like to put the bibfilter
repository. Then, use git
to clone the repository:
git clone https://github.com/joaks1/bibfilter.git
Move into the bibfilter
directory:
cd bibfilter
Call up the bibfilter.py
help menu:
./bibfilter.py -h
If you wish, you can copy bibfilter.py
to a location in your PATH.
The basic usage is
bibfilter.py -k KEYWORD1 KEYWORD2 references.bib
where references.bib
is the bibtex-formatted data file.
This software benefited from funding provided to Jamie Oaks from the National Science Foundation (DEB 1656004).
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
See "LICENSE.txt" for full terms and conditions of usage.