Code Monkey home page Code Monkey logo

pesonal-helper's Introduction

Welcome to the project 'Personal Helper'! This is console bot made by the 'P5-D4' 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 CONTACTS BOOK mode, user of the 'Personal Helper' 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:
- (0XX)XXX-XX-XX for phone numbers.
- [email protected] for emails.
- DD.MM.YYYY for dates.

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

In the NOTES mode, user of the 'Personal Helper' 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 note' command and then copy
and paste for such commands as 'change note', 'delete note' or 'tag note'.

In the CLEANER mode, user can use the only command 'clean 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 'personal-helper' command in any place in the command line mode.

'Personal Helper' communicates with a user through console commands. You can view them using command 'help' inside the bot or in the 'help.txt' file that is included into the package.

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 Helper' is being distributed in the form of Python package. You can install it using one of the following two commands in the directory with setup.py file:

  • pip install .
  • python setup.py install

pesonal-helper's People

Contributors

yurii-shpak avatar antonsils avatar iiiymik avatar susanna-salata avatar serhiiplys avatar

Stargazers

Roman avatar

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.