Metadata-Version: 2.4
Name: hestia_earth_extend_bibliography
Version: 0.6.0
Summary: Hestia library to extend Bibliography Nodes with different APIs
Home-page: https://gitlab.com/hestia-earth/hestia-data-validation
Author: Guillaume Royer
Author-email: guillaumeroyer.mail@gmail.com
License: MIT
Keywords: hestia,mendeley
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: hestia-earth-schema>=35.0.1
Requires-Dist: python-Levenshtein
Requires-Dist: habanero
Requires-Dist: wos
Requires-Dist: xmltodict
Requires-Dist: mendeley
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Hestia Extend Bibliography

## Install

```bash
pip install hestia-earth-extend-bibliography
```

### Usage

```python
from hestia_earth.extend_bibliography import extend

# nodes is a Dict {nodes: []}
result = extend(
  nodes,
  # pass in the desired crendentials for each API
  mendeley_username=MENDELEY_USERNAME, mendeley_password=MENDELEY_PASSWORD, # enable Mendeley SDK
  mendeley_api_url=MENDELEY_API_URL, # enable Mendeley through API URL (default to using the SDK if not provided)
  wos_api_key=WOS_API_KEY, # enable WoS REST API
  enable_unpaywall=False, # enable Unpaywall as fallback
  enable_crossref=False, # enable CrossRef as last fallback (slower)
)
```
