https://github.com/timschneider42/python-bibquery
Python library to create BibTeX entries for scientific articles from links.
https://github.com/timschneider42/python-bibquery
bibtex scientific-publications
Last synced: 6 months ago
JSON representation
Python library to create BibTeX entries for scientific articles from links.
- Host: GitHub
- URL: https://github.com/timschneider42/python-bibquery
- Owner: TimSchneider42
- License: mit
- Created: 2023-01-18T10:15:39.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-20T19:19:51.000Z (9 months ago)
- Last Synced: 2025-03-28T23:02:55.693Z (6 months ago)
- Topics: bibtex, scientific-publications
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BibQuery
A tool for creating BibTeX entries from links using BibItNow (https://github.com/Langenscheiss/bibitnow), Google Scholar and Selenium.## Installation
This library can be installed via pip:
```bash
pip install bibquery
```## Usage
To use _bibquery_ from the command line, type
```bash
bibquery https://arxiv.org/abs/1706.03762
```If you want to use it inside your python application, you can do so as follows:
```python
from bibquery import BibQuery, query, query_batch# Option 1
with BibQuery() as bq:
print(bq.query("https://arxiv.org/abs/1706.03762"))# Option 2
print(query("https://arxiv.org/abs/1706.03762"))
# Do not use query in a for-loop, as it will recreate the Selenium browser on every call. Rather use option 1 or 3 if
# you need to make multiple calls.# Option 3
print(query_batch(["https://arxiv.org/abs/1706.03762", "https://ieeexplore.ieee.org/abstract/document/726791"]))```