Skip to main content

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

  1. Clone the repository
  2. Create a virtual environment in the project directory: python -m venv .venv
  3. Activate the virtual environment: source .venv/bin/activate
  4. Install the required packages: pip install -r requirements.txt
  5. 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 contact
  • add_birthday <name> <date> to add a birthday to a contact
  • add_address <name> <street> <city> <postal_code> <country> to add an address to a contact
  • edit_address <name> <street> <city> <postal_code> <country> to edit an address for a contact
  • add_email <name> <email> to add an email to a contact
  • edit_email <name> <oldEmail> <newEmail> to edit an email for a contact
  • remove_email <name> <email> to remove an email from a contact
  • show_contact <name> to show contact
  • find_contacts <query1> <queryN> to find contacts by multiple queries
  • show_birthday <name> to show birthday for a contact
  • birthdays <days> to show the upcoming birthdays in the next days, default days is 7
  • change <name> <oldPhone> <newPhone> to change the phone number of a contact
  • phone <name> to show the phone numbers of a contact
  • all to show all contacts
  • delete to delete contact
  • delete_all to delete all contacts
  • delete_address <name> to delete address
  • delete_note <title> to delete a note
  • add-note <title> <text> to add a note
  • find-note <title> to find a note by title
  • edit_note <title> <text> to edit a note
  • show_notes - to show all notes that were saved
  • add_tags - to add many tags to note
  • remove_tags - to remove tags from note
  • find_by_tags - to show notes with mentioned tags
  • help to show the help message
  • exit to exit the application
  • close to 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

techtribe_addressbook-1.0.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

techtribe_addressbook-1.0.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file techtribe_addressbook-1.0.0.tar.gz.

File metadata

  • Download URL: techtribe_addressbook-1.0.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for techtribe_addressbook-1.0.0.tar.gz
Algorithm Hash digest
SHA256 26541d9c38726a0b7c2d29e7aaba534e1847eca12f460f11638075281849ee2d
MD5 924f7564e9bf850d07bc2d7a934f7f5d
BLAKE2b-256 19277e87b6c3193fe46aa9ae01f10989690e7530a9a1a7d1d80c87959ea174af

See more details on using hashes here.

File details

Details for the file techtribe_addressbook-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for techtribe_addressbook-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7cf87a17533c6240a4de6a4ab1a3d80337639d87e080b2f73cdb6a753ce8a7b
MD5 28af559b57577951f7b58bd3bd74b429
BLAKE2b-256 c43a3524f2e90578465ab16cf6271fab79259e7f3ca4a88cf842fdfde6d81510

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page