Beispiel #1
0
 def init_keyring(self):
     return Windows.RegistryKeyring()
Beispiel #2
0
import json
from jira import JIRA
import keyring
from keyrings.alt import Windows
keyring.set_keyring(Windows.RegistryKeyring())
import tkinter
from tkinter import Label
from tkinter import Button
from tkinter import Entry
from tkinter import Checkbutton
from tkinter import OptionMenu
from tkinter import StringVar
from tkinter import Listbox
from tkinter import Scrollbar
from tkinter import messagebox
from tkinter import N, S, E, W
from tkinter import VERTICAL
import openpyxl
import webbrowser
from openpyxl import Workbook, load_workbook
from threading import Thread
'''Below module allows us to interact with Windows files.'''
import os
'''below 3 lines allows script to check the directory where it is executed, so it knows where to crete the excel file. I copied the whole block from stack overflow'''
abspath = os.path.abspath(__file__)
current_directory = os.path.dirname(abspath)
os.chdir(current_directory)
'''Below lines set values for fixed variables. They are used in several functions and are set here for more convenient update in future if needed.'''
destination_excel_file_name = "Raw jira data.xlsx"
maximum_results = 1000
'''Below lines are placeholder names. They will be set to needed values by functions further. Class usage allow to get rid of declaring them here, but classes were disregarded for code simplicity.'''
Beispiel #3
0
 def init_keyring(self):
     return Windows.EncryptedKeyring()