Save your data easy and convenient
Project description
TechTribe
Final project for Python Programming: Foundations and Best Practices 2.0
Description
A terminal application that allows users to create, read, update, and delete contacts. Users can also view all contacts, view contact by name, and search for contacts by keyword. Also implemented opportunity to save notes separate from contacts. User can save, edit, delete and search note by title. Also added opportunity to add tags to any note, delete tag and find note by tag.
Installation
- Clone the repository
- Create a virtual environment in the project directory: python -m venv .venv
- Activate the virtual environment: source .venv/bin/activate
- Install the required packages: pip install -r requirements.txt
- Run the application: python main.py
Usage
Write a command in the terminal to interact with the application User can use the next commands:
add <name> <phone>to add a new contactadd_birthday <name> <date>to add a birthday to a contactadd_address <name> <street> <city> <postal_code> <country>to add an address to a contactedit_address <name> <street> <city> <postal_code> <country>to edit an address for a contactadd_email <name> <email>to add an email to a contactedit_email <name> <oldEmail> <newEmail>to edit an email for a contactremove_email <name> <email>to remove an email from a contactshow_contact <name>to show contactfind_contacts <query1> <queryN>to find contacts by multiple queriesshow_birthday <name>to show birthday for a contactbirthdays <days>to show the upcoming birthdays in the next days, default days is7change <name> <oldPhone> <newPhone>to change the phone number of a contactphone <name>to show the phone numbers of a contactallto show all contactsdeleteto delete contactdelete_allto delete all contactsdelete_address <name>to delete addressdelete_note <title>to delete a noteadd-note <title> <text>to add a notefind-note <title>to find a note by titleedit_note <title> <text>to edit a noteshow_notes- to show all notes that were savedadd_tags- to add many tags to noteremove_tags- to remove tags from notefind_by_tags- to show notes with mentioned tagshelpto show the help messageexitto exit the applicationcloseto close the application
User can use check dialogs to select the action or exit.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file techtribe_addressbook-1.0.3.tar.gz.
File metadata
- Download URL: techtribe_addressbook-1.0.3.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1b138ca09f55e32a602803117bbad945a695ae6684da661f6c6045dba886838
|
|
| MD5 |
300196e047454e77d47de1dce8ad9549
|
|
| BLAKE2b-256 |
f52fce4eb5120f67899071b86c275da19a7b8d3b5443258cc6c16c2dae53217b
|
File details
Details for the file techtribe_addressbook-1.0.3-py3-none-any.whl.
File metadata
- Download URL: techtribe_addressbook-1.0.3-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d6b4ed25a819f699c91e639d1683d751562ef32498bf5b2dc3f92640ae4d128
|
|
| MD5 |
436443a2b08ee79b457c4d2d01f65543
|
|
| BLAKE2b-256 |
1b2d8a1428b57738f8712dabaea9d213c67c484cca1263f64df5dd782f0a6452
|