code: def load_credentials(self, profile="default"):
          
          f = profile_path(DBPY_PROFILE_ID, profile)
          if f:
              creds = load_from_json(f)
              self.username = creds.get('username')
              self.password = creds.get('password')
              self.hostname = creds.get('hostname')
              self.port = creds.get('port')
              self.filename = creds.get('filename')
              self.dbname = creds.get('dbname')
              self.dbtype = creds.get('dbtype')
              self.schemas = creds.get('schemas')
              self.limit = creds.get('limit')
              self.keys_per_column = creds.get('keys_per_column')
          else:
              raise Exception("Credentials not configured!")
docs: Loads crentials for a given profile. Profiles are stored in
          ~/.db.py_{profile_name} and are a base64 encoded JSON file. This is not
          to say this a secure way to store sensitive data, but it will probably
          stop your little sister from stealing your passwords.
  
          Parameters
          ----------
          profile: str
              (optional) identifier/name for your database (i.e. "dw", "prod")