The Python keyring lib provides an easy way to access the system keyring service from python. It can be used in any application that needs safe password storage. The keyring library is licensed under both the MIT license and the PSF license. Learn more here.
keyring is available via the PyPI package manager.