thiagoandf / friday

This project is aimed on creating personal assistants for my daily life and answering messages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Friday - Personal Assistant

Optimized for python 3.6

This project is aimed on creating personal assistants for replying messages about specifics issues.


Project's Structure

.
└── friday
    ├── data
    │   └── data.db
    ├── docs
    │   └── CREDITS
    ├── src
    │   ├── __init__.py
    │   ├── settings.json
    │   └── telegram_replier.py
    ├── tests
    │   └── unittests
    │   └── __init__.py
    ├── .gitignore
    ├── LICENSE
    ├── README.md
    └── requirements.txt

Directory description

  • data: The data dir. Group of non-script support files.
  • docs: The documentation dir.
  • src: The scripts & source code dir.
  • tests: The unittests dir.

Usage Notes

Section aimed on clarifying some running issues.

Running

For running it, at the ~/src directory just run:

python telegram_replier.py

or, if importing it as a module, just run:

from telegram_replier import echo_message

if __name__ == '__main__':
    echo_message('args', 'kwargs')

JSON structure

{
  "API_TOKEN": "A12JASBN12JASIJDW12321KN"
}

obs: in order to run this application you must have a json file at ~/src/settings.json. This json must follow the structure above.


About

This project is aimed on creating personal assistants for my daily life and answering messages.


Languages

Language:Python 99.0%Language:Batchfile 1.0%