Giter VIP home page Giter VIP logo

python-phonebook's Introduction

Project Annuaire

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.

File format

To save the phonebook, I created file format .annuaire ( annuaire = phonebook in french ). In fact, it's just .zip archive renamed, wich contain :

  1. A list_contact.csv file, which contain all the informations of the contacts
  2. Pictures of the contacts

I'm sure thinking this is not an optimal solution, so feel free to make suggestions !

Installation

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

Usage

To start the program, run gui.py

Settings

The gui.py script contain parameters you can easily change to modifie the behaviour of the application :

  1. 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 on False, the program will automatically load the empty.annuaire file locate in the default_templates folder.

  2. 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.

  3. 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

  4. 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 )

  5. SAVE_AS_AT_EXIT = False
    Set if the program automaticaly ask you to save as your .annuaire file on closing the application

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.