Skip to main content

Console Bibliography

Project description

CoBib

Quickstart

Welcome to CoBib - the Console Bibliography! I have started this project when I was looking into alternatives to popular reference managers such as Mendeley, which has more features than I use on a regular basis and does not allow me to work from the command line which is where I spent most of the time that I spent on the computer.

Hence, I have decided to make it my own task of implementing a simple, yet fast, reference manager. CoBib is written in Python and uses a YAML file to store its bibliography in a plain text format.

Currently CoBib provides the following functionality:

  • adding new references from a bibtex source or via DOI or arXiv ID
  • querying the database by in- and exclusion filters
  • printing detailed information about a reference ID
  • exporting a list of references to the biblatex format
  • opening associated files using an external program
  • manually editing entries using the $EDITOR
  • and general database inspection/modification via a curses-based TUI

Installation

You can either install CoBib via pip: pip3 install cobib or you can download the source code and install it manually:

git clone https://gitlab.com/mrossinek/cobib
cd cobib
make install

The advantage of the latter is that the crude Zsh completion and man page are installed, too. When installing via pip, you can download these separately from the source code repository and follow the commands of make install_extras to install them under their respective paths.

This will install the cobib package. By default, cobib will store your database at ~/.local/share/cobib/literature.yaml

To see how you can change this, see Config.

Windows

Please note that Windows is not supported! This is due to the fact that Python under Windows does not ship with the curses module.

However, if you are using Windows 10 you should be able to install and use CoBib within the Linux subsystem.

Usage

Start by initializing the database with

cobib init

If you would like CoBib to track your database with git, you should use

cobib init --git

and enable the DATABASE/git option (see also Config). Afterwards you can simply run cobib to start the TUI. If you prefer full control from the command line you can also run all commands directly via the CLI. Available commands are add, list, edit, remove, show, open and export. Type cobib --help for further information or cobib <subcommand> --help for more detailed information on the specific subcommands.

Note: when adding data from a .bib file, make sure that it is in the BibLaTex format!

You can also find more information in the man page.

Config

You can overwrite the default configuration by placing a config.ini file at ~/.config/cobib/. Take a look at the example config to see what possible configuration options exist.

You may also specify a different config file at runtime by using the -c or --config command line argument.

You can also find more information in the man page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cobib-2.6.0.tar.gz (55.3 kB view details)

Uploaded Source

Built Distribution

cobib-2.6.0-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

Details for the file cobib-2.6.0.tar.gz.

File metadata

  • Download URL: cobib-2.6.0.tar.gz
  • Upload date:
  • Size: 55.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for cobib-2.6.0.tar.gz
Algorithm Hash digest
SHA256 8b57a77320388bdf1685a5a5b3ff68d1f246a7113a05f6355d294996da704bdb
MD5 b8a3c0b09c593ad9a262545673ef1d99
BLAKE2b-256 0c88b4d8f92979dea12e6dbe70bf6f423bf9aa08636dfae734d52a0d90a77b8b

See more details on using hashes here.

File details

Details for the file cobib-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: cobib-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 54.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for cobib-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5301acac8c22209cbd709926bf21eec579dfda7268694f9df70634ba3d2d6919
MD5 e226476c7ed8f77b0080cd55e267a2d7
BLAKE2b-256 2fbf7fad689f43a7a1873a6857d507b573a34264c454a651e48c82e78133d0e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page