Skip to content

icoderp/Py6PersonalAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the project 'Personal Assistant'! This is console bot made by the 'CodeLion' team.

This bot works in three modes:

  1. Contacts book that stores names, addresses, phones, emails and dates of birth and implements some useful search commands.
  2. Notes. Just simple text notes with tags and search-ability.
  3. Folder cleaner that sorts files out by their types.

In the ADDRESSBOOK mode, user of the 'Personal Assistant' can do the following.

  • Add, change and delete such contacts data as name, address, phone numbers, email and date of birth.
  • Search contacts by their data.
  • View contacts whose birthday is within specified period starting from today.
  • View the list of all contacts in the book.

All the phones, emails and dates are being checked if they match strict rules:

  • code +38 or 380 and operators: 06, 09, 05 | Ex. +380XXXXXXXXX for phones.
  • aaa@bbb.cc for emails.
  • DD.MM.YYYY for dates.

The contacts book is being stored in the file AddressBook.bin in the same folder as the script file.

In the NOTEBOOK mode, user of the 'Personal Assistant' can do the following.

  • Add, change and delete text notes that are being stored in the file note.txt in the same folder as the script file.
  • Add tags to the notes.
  • Search notes by keywords, tags and date ranges. Note ID is its 'DATE - TIME' stamp. You can see it using 'find' command and then copy and paste for such commands as 'change', 'del' or 'tag'.

In the CLEANER FOLDER mode, user can use the only command 'parse (folder)'.

There will be automatically created folders for images, audio files, videos, documents and archives into the specified folder. Files of corresponding types will be moved into these folders. Current folders structure will be retained. All Cyrillic symbols in the names of the files and folders will be trnsliterated into Latin ones. Files of unknown types are being retained untouched. To use this bot, you need simply download setup package with all necessary files from github. Package can be installed into system with a console command "python setup.py install". After that, you can run the bot using 'start-assistant' command in any place in the command line mode.

'Personal Assistant' communicates with a user through console commands. You can view them using command 'help' inside the bot.

IMPORTANT! Delimiter symbol inside of all the commands is SPACE.

The bot uses Prompt Toolkit package that propose a list of commands by the first letters typed in the command line.

INSTALLATION:

'Personal Assistant' is being distributed in the form of Python package. You can install it using commands in the directory with setup.py file:

  • pip install .
  • pip install -e .

About

Team project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages