This is a project I made for school.
The interface is made with customTkinter.
There is still a lot of bugs or unusable features, but I will improve the project if it's needed.
To save the phonebook, I created file format .annuaire ( annuaire = phonebook in french ). In fact, it's just .zip archive renamed, wich contain :
- A list_contact.csv file, which contain all the informations of the contacts
- Pictures of the contacts
I'm sure thinking this is not an optimal solution, so feel free to make suggestions !
I don't tkink this project is the kind of project to be PyPi, but you can still clone the repo โ
There is the code to install the requierments :
cd path/of/the/repos
pip install requirements.txt
To start the program, run gui.py
The gui.py script contain parameters you can easily change to modifie the behaviour of the application :
-
OPEN_NEW_ANNUAIRE_AT_LAUNCH = True
As you might, it define if the program ask you to select an annaire file to open at launch.
If set onFalse
, the program will automatically load the empty.annuaire file locate in thedefault_templates
folder. -
TMP_DIR = "tmp"
To handle the .annuaire files, the program need a folder to store temporary files.
This parameter define the path of this folder. -
DEFAULT_TEMPLATE_PATH = "default_templates/empty.annuaire"
This define the path of the file opened by default if you don't open a .annuaire file at launch -
ICONS_DIR = "Icons"
This define the path of the "copy" icon.
You change it to change this icon ๐คทโโ๏ธ ( or the directorie where the icon is store ) -
SAVE_AS_AT_EXIT = False
Set if the program automaticaly ask you to save as your .annuaire file on closing the application