Skip to main content

Abbreviate journal titles in BibTex files.

Project description

bibbreviate
===========

A python script to abbreviate journal names in a bib file using publicly available journal lists.

Installation
============

pip install bibbreviate

or download the source and

python setup.py install

Usage
=====

```
usage: bibbrev [-h] [-o OUTPUT] [-r] [-a ABBREVIATIONS] [-v] target

positional arguments:
target The bib file to abbreviate.

optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
The output file name. If missing, output will be sent
to stdout.
-r, --reverse Reverse the process and unabbreviate journal names.
-a ABBREVIATIONS, --abbreviations ABBREVIATIONS
Path to a file of abbreviations in the form (one per
line): Journal of Biological Science = J. Sci. Biol.
-v, --verbose
```

WARNING: this package is still in beta. I use it on my own bib files, but errors are still more than possible. Be sure to back up your files before using.

Development
===========

The code for this package is hosted on GitHub (https://github.com/Winawer/bibbreviate), and is licensed under the MIT license. If you have improvements to the package, please submit a pull request and I will be happy to work them in.

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

bibbreviate-0.1.1.tar.gz (70.4 kB view details)

Uploaded Source

File details

Details for the file bibbreviate-0.1.1.tar.gz.

File metadata

  • Download URL: bibbreviate-0.1.1.tar.gz
  • Upload date:
  • Size: 70.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bibbreviate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1f849149f9e4f31be1b8dc56fa55d7cca04f00c44f21afee99a6d2a6e16aec28
MD5 fc9b714e6493bf65b9cbcde1a3f60acf
BLAKE2b-256 76e7a7de0f9e47844f2561c71310a649f51a5e4a84deefa87c9ad669d8f14275

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