digital-science / dimcli

Python client and CLI for scientometrics and research analytics using the Dimensions API.

Home Page:https://digital-science.github.io/dimcli/getting-started.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhance credentials file loading logic

lambdamusic opened this issue · comments

Logic
a) if dsl.ini credentials file in WD that overrides everything
b) try user level credentials ("~/.dimensions/")
c) try navigating up directory tree for dsl.ini

This way we xan support better the following scenarios
=> a) and c) are useful for jupyter notebooks without system wide installation
=> b) is the usual case for CLI