Skip to main content

Convert a yaml file containing (key -> DOI) pairs to bib file with the correct journal abbreviations.

Project description

yaml2bib: Convert a yaml file to bib file with the correct journal abbreviations using only DOIs

license tests codecov docs version PyPI - Python Version

Install

pip install yaml2bib

Usage

Usage: yaml2bib [OPTIONS]

Options:
  --bib_fname TEXT          Output file. (default: 'dissertation.bib')
  --dois_yaml TEXT          The `key: doi` YAML file, may contain wildcards
                            (*). (default: 'bib.yaml' ,example: '*/*.yaml')
  --replacements_yaml TEXT  Replacements to perform, might be None. (default:
                            None, example: 'replacements.yaml')
  --static_bib TEXT         Static bib entries, might be None, may contain
                            wildcards (*). (default: None, example:
                            'chapter_*/not_on_crossref.bib')
  --doi2bib_database TEXT   The doi2bib database folder 📁 to not query doi.org
                            more than needed. (default: 'yaml2bib-doi2bib.db')
  --crossref_database TEXT  The Crossref database folder 📁 to not query
                            crossref.org more than needed. (default:
                            'yaml2bib-doi2bib.db')
  --email TEXT              E-mail 📧 for crossref.org, such that one can make
                            more API calls without getting blocked. (default:
                            'anonymous', example: 'bas@nijho.lt')
  --help                    Show this message and exit.

License

MIT License

Contributions

  • Bas Nijholt

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

yaml2bib-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

yaml2bib-0.1.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yaml2bib-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for yaml2bib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 484282ece42836cbad457152f7fe68825a526721a628aad28a73857a9c40089f
MD5 4e196a7bb63df21bd3798244b822221c
BLAKE2b-256 55369ecb9dcd0637104d2e48714c78b84d29ff378117a8ddeb52554a874eda63

See more details on using hashes here.

File details

Details for the file yaml2bib-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: yaml2bib-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for yaml2bib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 425371a2b97649c79a2fbd1da6ae574f44a444bab7f1c97ac2ce0adaccbeb605
MD5 51bbdba8cc66b3eab56e52999310db5e
BLAKE2b-256 3ed043e9f58a7e445ac94a79c0f6d760f02369d15d268e7cd7eaa97949333560

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