No project description provided
Project description
Meerk
Simple bot which notifies your chats that you are in a meeting
How to run
Clone project:
git clone https://github.com/nikialeksey/meerk.git
Install dependencies and
pip install -r requirements.txt
Configure and run:
python main.py
Or you can use it as library for your service or app, see example in
main.py
.
How to configure
In order to configure you need to make a copy of file
local.cfg_template
with name local.cfg
and change content of it.
CalDav calendars
To add calendar supports CalDav
format you need to uncomment
caldav-calendar
section
and fill with your personal data. If you have a multiple calendars supports CalDav
you may create a new section in local.cfg
with the same fields and section name prefix caldav
,
but with other data, for example:
[caldav-another]
url: <another caldav url>
username: <another caldav username>
password: <another caldav password>
Ics calendars
To add calendar using ics
file you need to uncomment
ics-calendar
section and fill with
your public ics
file link. Again, if you have a few
ics
calendars, you may create a few sections in local.cfg
with section
name prefix ics
, for example:
[ics-another]
url: <another ics url>
[ics-yet-another]
url: <yet another ics url>
Slack
It supports only slack, but you can contribute for more chats. To configure slack, you guessed it, you need to
uncomment slack-app
section and fill,
for example:
[slack-app]
token: xoxp-3165681461-*****6099680-*****3333042-*****007685996b538e88cbe92a6098b
busy_text: I am in a meeting
busy_emoji: :shushing_face:
available_text: Android development 09.00 - 17.00
available_emoji: :computer:
How it works
Meerk periodically synchronizes specified in local.cfg
calendars and periodically verifies if there is a
meeting now, then update chat status to Busy, else Available.
Thanks
Thanks to @tobixen and his project caldav. I use it in the Meerk temporary. When #11 appears in release build I get rid of the immediate code of project caldav and will be use as dependency or write my own CalDav implementation.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file meerk-0.1.2.tar.gz
.
File metadata
- Download URL: meerk-0.1.2.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53da7f61e2925b42a8f2b201b38fa3130cffe54dac9dffc75f2bbc23fdb87a19 |
|
MD5 | d81e2faaf811c7e99b41c8a7a9ea1c7f |
|
BLAKE2b-256 | 19675bf5f22bb4ca5bcf0d72707bf9fd948b28277a6e9401ec974df7e18ce50f |
File details
Details for the file meerk-0.1.2-py2-none-any.whl
.
File metadata
- Download URL: meerk-0.1.2-py2-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0104a82b72304d9953ab7412c6720d7f949cd852b75b2705db735ff4f194277d |
|
MD5 | 132141ee6683b13bdd1d8a7c2279fca7 |
|
BLAKE2b-256 | 2d3195df530e1e887b0817dba643fc08df30b2c1549b3fe0aae3532db41dc81b |