All Projects → mjpost → Bibsearch

mjpost / Bibsearch

Licence: other
Download, manage, and search a BibTeX database.

Projects that are alternatives of or similar to Bibsearch

academic-cv-publications
Generate a customised list of publications for your LaTeX CV using BibTeX entries.
Stars: ✭ 60 (+15.38%)
Mutual labels:  latex, bibtex
nom-bibtex
A feature complete bibtex parser using nom
Stars: ✭ 13 (-75%)
Mutual labels:  latex, bibtex
rfc-bibtex
A command line tool that creates bibtex entries for IETF RFCs and Internet Drafts.
Stars: ✭ 43 (-17.31%)
Mutual labels:  latex, bibtex
Zotero Better Bibtex
Make Zotero effective for us LaTeX holdouts
Stars: ✭ 2,336 (+4392.31%)
Mutual labels:  bibtex, latex
Ck
Collective Knowledge framework (CK) helps to organize black-box research software as a database of reusable components and micro-services with common APIs, automation actions and extensible meta descriptions. See real-world use cases from Arm, General Motors, ACM, Raspberry Pi foundation and others:
Stars: ✭ 395 (+659.62%)
Mutual labels:  automation, database
Jabref
Graphical Java application for managing BibTeX and biblatex (.bib) databases
Stars: ✭ 2,385 (+4486.54%)
Mutual labels:  bibtex, latex
snipmate-snippets-bib
Snipmate.vim support for BibTeX files
Stars: ✭ 13 (-75%)
Mutual labels:  latex, bibtex
ads2bibdesk
ads2bibdesk helps you add astrophysics articles listed on NASA/ADS to your BibDesk database using the new ADS Developer API
Stars: ✭ 32 (-38.46%)
Mutual labels:  latex, bibtex
Betterbib
Update BibTeX files with info from online resources.
Stars: ✭ 380 (+630.77%)
Mutual labels:  bibtex, latex
Arara
arara is a TeX automation tool based on rules and directives. It gives you a way to enhance your TeX experience. This is a mirror repository.
Stars: ✭ 305 (+486.54%)
Mutual labels:  automation, latex
Scihub2pdf
Downloads pdfs via a DOI number, article title or a bibtex file, using the database of libgen(sci-hub) , arxiv
Stars: ✭ 120 (+130.77%)
Mutual labels:  bibtex, latex
Rebiber
A simple tool to update bib entries with their official information (e.g., DBLP or the ACL anthology).
Stars: ✭ 1,005 (+1832.69%)
Mutual labels:  bibtex, latex
Docker Texlive
A docker container containing an installation of texlive as well as several useful scripts.
Stars: ✭ 52 (+0%)
Mutual labels:  bibtex, latex
Crud
CRUD is Really Urgly coDed -- 万能快速原型系统
Stars: ✭ 162 (+211.54%)
Mutual labels:  automation, database
bibtex-js
Library for parsing .bib files, used in Bibliography.js 📚
Stars: ✭ 55 (+5.77%)
Mutual labels:  latex, bibtex
Fiduswriter
Fidus Writer is an online collaborative editor for academics.
Stars: ✭ 405 (+678.85%)
Mutual labels:  bibtex, latex
Awesome Ebooks
收录开源的经典技术书籍 PDF 文件及相关网站,持续更新中...
Stars: ✭ 51 (-1.92%)
Mutual labels:  latex, database
Crawling Projects
Web scraping and automation using python
Stars: ✭ 49 (-5.77%)
Mutual labels:  automation
Home Assistant Config
🏠 My Home Assistant configuration, a bit different that others :) Be sure to 🌟 this repository for updates!
Stars: ✭ 1,050 (+1919.23%)
Mutual labels:  automation
Amazon Fresh Whole Foods Delivery Slot Finder
A Mac tool that finds available delivery slots for Amazon's Whole Foods delivery and Amazon Fresh services
Stars: ✭ 1,048 (+1915.38%)
Mutual labels:  automation

bibsearch

Bibsearch is a tool for downloading, searching, and managing BibTeX entries. It attempts to make use of the official BibTeX entries for various collections of proceedings, all without you ever needing to open a web browser and fumble around on Google Scholar or other tools. Its key features are:

  • Automatic downloading of official citations from predefined collections (bibsearch add bib://) or arbitrary URI's (bibsearch add)
  • Keyword-based search against a private collection of entries (bibsearch search)
  • Searching and downloading from the arXiv (bibsearch arxiv)
  • Automatic generation of a BibTeX file from LaTeX source (bibsearch tex)
  • Keyword-based downloading and opening of PDF files (bibsearch open)

Installation

The official source can be found on GitHub. The easiest way to install it is via the Python package manager:

pip3 install bibsearch

FTS5

bibsearch works best with SQLite with full-text search support. This causes no performance degradation to SQLite, but is unfortunately not part of the default installation. Depending on your setup, you might want to check one of the installation methods below:

  • If you are on a Mac and have brew installed, you can get this with

    brew reinstall sqlite3 --with-fts5
    
  • If you are on Arch Linux, the default installation already include FTS5 support.

  • If you are on Ubuntu, you might want to use this PPA (not related to this project) https://launchpad.net/~jonathonf/+archive/ubuntu/backports.

  • If you use a conda installation you can rebuild the sqlite package, eg. by using the recipe in https://github.com/conda-forge/sqlite-feedstock (unrelated to this project):

    conda install conda-build
    git clone https://github.com/conda-forge/sqlite-feedstock.git
    cd sqlite-feedstock
    <Edit build.sh adding --enable-fts5>
    conda build recipe
    conda install <created tar.bz2 package>
    

Usage

Create your database by importing BibTeX files. There are lots of shortcuts defined in the form of collections. For example, there is a collection for the entire ACL Anthology. To add papers from NAACL 2017, you can type:

bibsearch add bib://acl/naacl/2017

or to add all of NAACL:

bibsearch add bib://acl/naacl

Or even the entire anthology:

bibsearch add bib://acl

Other collections available include ICML and NIPS. Type bibsearch add bib://list for a complete list.

You can also add your own files, either locally or via URL.

# Import from a URL
bibsearch add http://aclweb.org/anthology/P/P17/P17-2.bib

# Add a bibtex file from a local database
bibsearch add main.bib

Multiple arguments are permitted at once. Duplicate keys are successfully ignored.

Now, search across all fields to find your entries:

bibsearch search brown 1993 statistical

(find also works) Get the outputs in BibTeX format:

bibsearch search brown 1993 statistical -b

If there is only one match, you can also open the corresponding PDF:

bibsearch open brown 1993 statistical

open will work implicitly on the results of the last search, so you could also have typed:

bibsearch open

If there are multiple matches, open will open the top result:

bibsearch open embedding

Generate the BibTeX file based on citations found in a LaTeX source (requires that LATEX_FILE.aux exists):

bibsearch tex LATEX_FILE

and write it to the bibliography file specified in the LaTeX:

bibsearch tex LATEX_FILE -B

Print a summary of your database:

bibsearch print --summary

Search the arXiv:

bibsearch arxiv vaswani attention is all you need

Add the results of an arXiv search to your database:

bibsearch arxiv vaswani attention is all you need -a

Get the key to use with \cite:

$ bibsearch search vaswani attention
[vaswani:2017:attention] Vaswani, Ashish and Shazeer, Noam and Parmar,
  Niki and Uszkoreit, Jakob and Jones, Llion and Gomez, Aidan N. and
  Kaiser, Lukasz and Polosukhin, Illia "Attention Is All You Need",
  ARXIV 2017

Incorporate in a LaTeX workflow

Bibsearch is easy to incorporate in your paper writing: it will automatically generate a BibTeX file from your LaTeX paper. To use this feature, first use bibsearch to find the papers you want to cite and add them to your private database. Then, use the keys in the database with \cite commands in your paper. Run pdflatex once to generate a .aux file, and then use bibsearch to generate the bibliography file. You can use the following in your Makefile, for example:

pdflatex PAPER
bibsearch tex PAPER -B
bibtex PAPER
pdflatex PAPER
pdflatex PAPER

This generates whatever bib file is referenced in PAPER.tex.

Incorporate in a latexmk workflow

If you are using latexmk, add the following to your project's .latexmkrc.

add_cus_dep('aux', 'bbl', 1, 'aux2bbl');
sub aux2bbl {
    system( "bibsearch tex \"$_[0]\" -B; bibtex \"$_[0]\"" );
}

As above, this generates a .bib file with whatever entry is referenced in the .tex file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].