{ "info": { "author": "Wanja Chresta", "author_email": "wanja.hs@chrummibei.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: End Users/Desktop", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "# NotifYourselfCLI\nNotifYourselfCLI makes sending notifications to your mobile phone easy. Just follow these simple steps:\n\n* Install NotifYourselfCLI on your sending machine\n* Install the NotifYourself android app from Play Store or compile it yourself\n* Find your token in the configuration page of the app\n* Run `notifyourself -T \"Hello yourself!\"` to send yourself a notification\n\n![](app_screenshot.png)\n\n![](notification_screenshot.png)\n\nYou can use this to push yourself a message when your long running simulation, nn-training or calculation is finished:\n```\n$ longRunningCalculation.sh && notifyourself \"Job finished :)\"\n```\n\n# Installation\n\nSimply use pip to install notifyourself:\n\n```\n$ python -m pip install notifyourself\n```\n\n## Using source direclty\nYou can also just use the [python script source](https://github.com/wchresta/NotifYourselfCLI/blob/master/notifyourself/notifyourself.py) directly; make sure you install the `requests` package: `python -m pip install requests`\n\n# Configuration\n\nConfiguration is done using the file `~/.config/notifyourself/config.ini` (or `%USERPROFILE%\\.config\\notifyourself\\config.ini` on Windows).\n\n```ini\n# notifYourself configuration\n#\n# You can define multiple targets with different tokens and use\n# the -t flag to choose one. Default is the DEFAULT target.\n\n[DEFAULT]\n# Use your notifYourself app to find this token\ntoken=\n\n# [ANOTHER_TARGET]\n# token=ANOTHER_TARGETS_TOKEN\n```\n\n# Usage\n\n```\nusage: notifyourself [-h] [-T TOKEN | -t TARGET] [--config CONFIG]\n title [body]\n\nSend a notification to your phone\n\npositional arguments:\n title Notification title\n body Longer message in the body of the notification\n\noptional arguments:\n -h, --help show this help message and exit\n -T TOKEN, --token TOKEN\n Use this token to send the message\n -t TARGET, --target TARGET\n Send message to this target phone specified in the\n config file\n --config CONFIG Configfile to use instead of default\n```\n\n## Examples\n\n* Send a short result with the notification\n\n```\n$ echo \"42\" > ./result\n$ notifyourself \"Job's finished :)\" \"Result: $(cat ./result)\"\n```\n\n* Change the token\n\n```\n$ notifyourself -T \"longlong:token-foobar\" \"It works :)\"\n```\n\n* Have multiple phones preconfigured\n\n```\n$ cat ~/.config/notifyourself/config.ini \n# notifYourself configuration\n#\n# You can define multiple targets with different tokens and use\n# the -t flag to choose one. Default is the DEFAULT target.\n\n[DEFAULT]\n# Use your notifYourself app to find this token\ntoken=foobarbaz1\n\n[ANOTHER_TARGET]\ntoken=target2token\n\n$ notifyourself -t ANOTHER_TARGET \"This shows in the other one\"\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wchresta/NotifYourselfCLI", "keywords": "", "license": "LICENSE", "maintainer": "", "maintainer_email": "", "name": "notifyourself", "package_url": "https://pypi.org/project/notifyourself/", "platform": "", "project_url": "https://pypi.org/project/notifyourself/", "project_urls": { "Homepage": "https://github.com/wchresta/NotifYourselfCLI", "Issues": "https://github.com/wchresta/NotifYourselfCLI/issues", "Source Code": "https://github.com/wchresta/NotifYourselfCLI" }, "release_url": "https://pypi.org/project/notifyourself/0.1.0/", "requires_dist": [ "requests (>=2.0)" ], "requires_python": ">=2", "summary": "Send a notification to your mobile device", "version": "0.1.0" }, "last_serial": 4732655, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f0adfd79df1d9797c3dc446d564ea819", "sha256": "b833ae00b68d9cff89cfe38b7cefbd5c3125cb72e66fd9985bb4fcb5e0bb4f53" }, "downloads": -1, "filename": "notifyourself-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f0adfd79df1d9797c3dc446d564ea819", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2", "size": 17762, "upload_time": "2019-01-23T19:07:22", "url": "https://files.pythonhosted.org/packages/33/b5/54724b5cbaf38a818c6c6b664fffe82e7ae3c80ec83d6e3cd4ef95eba264/notifyourself-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9beec33ababb53ec94b2daf5b0f5adad", "sha256": "9599910fec8ff4bc78a2f0fc8c3a7b998ade4906368fc534b57daf42c9e55371" }, "downloads": -1, "filename": "notifyourself-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9beec33ababb53ec94b2daf5b0f5adad", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2", "size": 4875, "upload_time": "2019-01-23T19:07:24", "url": "https://files.pythonhosted.org/packages/c3/07/9c457c10306a79ae57abf310f30924e1b54a53057a69a083155523e0136d/notifyourself-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0adfd79df1d9797c3dc446d564ea819", "sha256": "b833ae00b68d9cff89cfe38b7cefbd5c3125cb72e66fd9985bb4fcb5e0bb4f53" }, "downloads": -1, "filename": "notifyourself-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f0adfd79df1d9797c3dc446d564ea819", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2", "size": 17762, "upload_time": "2019-01-23T19:07:22", "url": "https://files.pythonhosted.org/packages/33/b5/54724b5cbaf38a818c6c6b664fffe82e7ae3c80ec83d6e3cd4ef95eba264/notifyourself-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9beec33ababb53ec94b2daf5b0f5adad", "sha256": "9599910fec8ff4bc78a2f0fc8c3a7b998ade4906368fc534b57daf42c9e55371" }, "downloads": -1, "filename": "notifyourself-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9beec33ababb53ec94b2daf5b0f5adad", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2", "size": 4875, "upload_time": "2019-01-23T19:07:24", "url": "https://files.pythonhosted.org/packages/c3/07/9c457c10306a79ae57abf310f30924e1b54a53057a69a083155523e0136d/notifyourself-0.1.0.tar.gz" } ] }