The keyring.py file shadows the keyring dependency in some environments. For example, the shadowing happens in the debug environment of PyCharm which starts Python with something like
.../pydevd.py --file .../_jb_pytest_runner.py --path <path to local dandi package source>
which adds the package directory .../dandi-cli/dandi directly to sys.path. Additionally, the setup of importing from the keyring dependency in side a file named keyring.py is quite confusing.
I propose renaming the keyring.py file to keyring_utils.py or some other similar name.
The
keyring.pyfile shadows the keyring dependency in some environments. For example, the shadowing happens in the debug environment of PyCharm which starts Python with something likewhich adds the package directory
.../dandi-cli/dandidirectly to sys.path. Additionally, the setup of importing from thekeyringdependency in side a file namedkeyring.pyis quite confusing.I propose renaming the
keyring.pyfile tokeyring_utils.pyor some other similar name.