bbc-0.1.1
توضیحات
utility to check and format bibtex files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bbc-0.1.1 |
| نام | bbc |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | tdsimao |
| ایمیل نویسنده | tdsimao@users.noreply.github.com |
| آدرس صفحه اصلی | https://github.com/tdsimao/bbc/ |
| آدرس اینترنتی | https://pypi.org/project/bbc/ |
| مجوز | BSD-3 |
# 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
```bash
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:
```bash
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](http://wiki.dbpedia.org/)) or ISBN and other information for books (from [Google Books](books.google.com)).
## How to install
1. Clone this project.
2. Using `pipx` you can install the utility from the main folder:
```bash
pipx install .
```
## Prerequisities
This utility uses the following packages.
- [`bibtexparser`](https://github.com/sciunto-org/python-bibtexparser) to parse and print bibtex
- [`beautifulsoup4`](https://pypi.org/project/beautifulsoup4/) to scrape web pages
- [`libisbn`](https://github.com/xlcnd/isbnlib) to work ISBNs and Google Books
- [`SPARQLWrapper`](https://github.com/RDFLib/sparqlwrapper) to query DBpedia
- [`termcolor`](https://pypi.python.org/pypi/termcolor) to have colored error messages
- [`pycountry`](https://pypi.org/project/pycountry/) to query countries
## License
The software is distributed under the [BSD License](https://opensource.org/licenses/BSD-3-Clause).
## Acknowledgments
This project is based on [prettybib](https://github.com/jlibovicky/prettybib).
نیازمندی
| مقدار | نام |
|---|---|
| >=1.2.0,<2.0.0 | bibtexparser |
| >=3.10.9,<4.0.0 | isbnlib |
| >=1.1.0,<2.0.0 | termcolor |
| >=1.8.5,<2.0.0 | SPARQLWrapper |
| >=4.10.0,<5.0.0 | beautifulsoup4 |
| >=22.1.10,<23.0.0 | pycountry |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl bbc-0.1.1:
pip install bbc-0.1.1.whl
نصب پکیج tar.gz bbc-0.1.1:
pip install bbc-0.1.1.tar.gz