The python keyring lib contains implementations for several backends. The
library will
automatically choose the keyring that is most suitable for your current
environment. You can also specify the keyring you like to be used in the
config file or by calling the set_keyring() function.

The interface for the backend is defined by keyring.backend.KeyringBackend.
Every backend should derive from that base class and define a priority
attribute and three functions: get_password(), set_password(), and
delete_password().

See the backend module for more detail on the interface of this class.

Pytest and Nose are two popular test runners that will discover tests and run
them. Unittest (unittest2 under Python 2.6) also has a mode
to discover tests.

First, however, these test runners typically need a test environment in which
to run. It is recommended that you install keyring to a virtual environment
to avoid interfering with your system environment. For more information, see
the venv documentation or
the virtualenv homepage.

After you've created (or designated) your environment, install keyring into
the environment by running: