Bibtextools

Latest version: v0.5.0

Safety actively analyzes 682334 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.0

Added
- Add `KEY_EDITOR` and `KEY_BOOKTITLE` keywords to constants
- Add `clean_bib_file.get_duplicate_entries` function that returns duplicate
entries based on their similar titles, authors, and other information
- Add `clean_bib_file.remove_duplicate_entries` function that removes duplicate
entries based on the content (similar titles, authors, ...). Additionally,
this function is applied to all main functions after loading the bib files.
- Add new `--force` option for the CLI commands, which skip the interactive
prompt for removing duplicate citations.

Changed
- Rename the `clean_bib_file.get_duplicates` function to
`clean_bib_file.get_duplicate_ids`.
- Rename the `clean_bib_file.replace_duplicates` function to
`clean_bib_file.replace_duplicate_ids`.
- Move `modernize_bib_file.getnames()` to `util.getnames()`

0.4.0

Added
- Added function to abbreviate journal names based on the ISO4 standard using
the `pyiso4` implementation as part of the `modernize` command.

Changed
- Update packaging structure and metadata from old `setup.py` to
`pyproject.toml`
- Change minimum Python version requirement to 3.8 due to the pyiso4 dependency

0.3.1

Added
- A completely refactored command line interface using the `click` library is
added. This will replace the current CLI in a future version.

Fixed
- Fixed a bug in getting author names when shielded umlauts were already
present.

0.3.0

Added
- It is now possible to change the sorting of the entries when writing to a
file
- Added the `shield_title` argument for modernizing the title field, which
allows adding/removing curly brackets around the title field.
The argument can be used by setting the `--shield_title` flag in the
`modernize` command.

Changed
- The fields `keyword` and `keywords` do not get removed by default
- Surrounding curly brackets in the title field are removed by default. Use the
`--shield_title` argument to avoid this.

0.2.2

Fixed
- Already converted unicode symbols are not touched when cleaning unicode
characters.
- Improve author name cleaning in `modernize` subcommand. Names that are
shielded by `{}` are now split into first and last names respecting the
grouping.

0.2.1

Fixed
- Acronyms that are already shielded by `{}` will not be shielded again when
modernizing a bib file.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.