def get_auth ( ) : import getpass user = input ( "User Name: " ) # noqa pswd = getpass . getpass ( 'Password: ' ) return Github ( user , pswd )
making a username and password on python
Get authentication .
def get_auth():
    """Get authentication."""
    import getpass
    user = input("User Name: ")  # noqa
    pswd = getpass.getpass('Password: ')
    return Github(user, pswd)