bbc
Synopsis
bbc is a tiny utility that checks some basic properties of you bibtex files, orders the entries in an alphabetical order and style them in a uniform way.
Usage
bbc <bib_file> --output=<out_file>
The formated bibtex is printed in the <out_file> file, while error messages on the standard error output.
Add the flag --add-todo to assign a TODO value to missing fields which are required for the particular types of entries:
bbc <bib_file> --output=<out_file> --add-todo
If you toggle option --try-fix, it will try to find missing ISSN and other informations about journals (from DBpedia) or ISBN and other information for books (from Google Books).
How to install
- Clone this project.
- Using
pipxyou can install the utility from the main folder:
pipx install .
Prerequisities
This utility uses the following packages.
bibtexparserto parse and print bibtexbeautifulsoup4to scrape web pageslibisbnto work ISBNs and Google BooksSPARQLWrapperto query DBpediatermcolorto have colored error messagespycountryto query countries
License
The software is distributed under the BSD License.
Acknowledgments
This project is based on prettybib.
Metadata
Release files for bbc 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bbc-0.1.1.tar.gz | 12.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bbc-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.6 kB
Release files / bbc-0.1.1.tar.gz
| Download URL | bbc-0.1.1.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a47559083a87eb84c1b22c23a350366ed6a8b3c3a564794d2e44d6aac09e11a9
|
|
BLAKE2b-256 checksum How to use checksums |
f6fefa2305dc50971c3394592994ddad80a688a1ceb027528e783d9a08169ae8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.9.7 Linux/5.13.0-22-generic
|
Release files / bbc-0.1.1-py3-none-any.whl
| Download URL | bbc-0.1.1-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e7e6920a26886e84df4537e8bc56d3e9d16474fc26470a40582f7136adb8a2a
|
|
BLAKE2b-256 checksum How to use checksums |
90aa932c1a99cb487d621f1665f4b3a59dca78631b6e212c3037ca1bdda8d13d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.9.7 Linux/5.13.0-22-generic
|