QtPass  1.2.3
Multi-platform GUI for pass, the standard unix password manager.
Functions | Variables
avatars Namespace Reference

Functions

def md5_hex (text)
 
def get_data (api_request)
 

Variables

string projectpath = "/Users/annejan/Projects/qtpass"
 
 gitpath = os.path.join(projectpath, '.git')
 
 output_dir = os.path.join(gitpath, 'avatar')
 
 gitlog
 
 authors = set(gitlog.decode('ascii', errors='ignore').splitlines())
 
 email
 
 name
 
string api_request = "https://api.github.com/search/users?utf8=%E2%9C%93&q=" + \
 
def data = get_data(api_request)
 
def url = data["items"][0]["avatar_url"]
 
 output_file = os.path.join(output_dir, name + '.png')
 
 r = requests.get(url)
 

Function Documentation

◆ get_data()

def avatars.get_data (   api_request)

Definition at line 30 of file avatars.py.

◆ md5_hex()

def avatars.md5_hex (   text)

Definition at line 24 of file avatars.py.

Variable Documentation

◆ api_request

string avatars.api_request = "https://api.github.com/search/users?utf8=%E2%9C%93&q=" + \

Definition at line 85 of file avatars.py.

◆ authors

avatars.authors = set(gitlog.decode('ascii', errors='ignore').splitlines())

Definition at line 69 of file avatars.py.

◆ data

def avatars.data = get_data(api_request)

Definition at line 87 of file avatars.py.

◆ email

avatars.email

Definition at line 77 of file avatars.py.

◆ gitlog

avatars.gitlog
Initial value:
1 = subprocess.check_output(
2  ['git', 'log', '--pretty=format:%ae|%an'], cwd=projectpath)

Definition at line 67 of file avatars.py.

◆ gitpath

avatars.gitpath = os.path.join(projectpath, '.git')

Definition at line 59 of file avatars.py.

◆ name

avatars.name

Definition at line 77 of file avatars.py.

◆ output_dir

avatars.output_dir = os.path.join(gitpath, 'avatar')

Definition at line 60 of file avatars.py.

◆ output_file

avatars.output_file = os.path.join(output_dir, name + '.png')

Definition at line 113 of file avatars.py.

◆ projectpath

string avatars.projectpath = "/Users/annejan/Projects/qtpass"

Definition at line 58 of file avatars.py.

◆ r

avatars.r = requests.get(url)

Definition at line 115 of file avatars.py.

◆ url

string avatars.url = data["items"][0]["avatar_url"]

Definition at line 92 of file avatars.py.