{"id":22295904,"url":"https://github.com/mkalioby/python_notifications","last_synced_at":"2025-03-25T22:34:17.351Z","repository":{"id":62578321,"uuid":"43822484","full_name":"mkalioby/Python_Notifications","owner":"mkalioby","description":"A Python library to notify user(s) when something happens","archived":false,"fork":false,"pushed_at":"2015-11-06T15:22:00.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T17:09:03.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkalioby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-07T14:43:49.000Z","updated_at":"2015-10-10T12:41:16.000Z","dependencies_parsed_at":"2022-11-03T21:01:31.999Z","dependency_job_id":null,"html_url":"https://github.com/mkalioby/Python_Notifications","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkalioby%2FPython_Notifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkalioby%2FPython_Notifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkalioby%2FPython_Notifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkalioby%2FPython_Notifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkalioby","download_url":"https://codeload.github.com/mkalioby/Python_Notifications/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245556408,"owners_count":20634881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T17:43:33.033Z","updated_at":"2025-03-25T22:34:17.294Z","avatar_url":"https://github.com/mkalioby.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a simple python library that can send notification to Android Phone using Google Cloud Messaging (GCM).\n\nIt supports both Python 2.5+ and Python 3.4+\n\n### Get Sender ID and API Key \n\nFollow the wizard [here](https://developers.google.com/mobile/add?platform=android\u0026cntapi=gcm\u0026cntapp=Default%20Demo%20App\u0026cntpkg=gcm.play.android.samples.com.gcmquickstart\u0026cnturl=https:%2F%2Fdevelopers.google.com%2Fcloud-messaging%2Fandroid%2Fstart%3Fconfigured%3Dtrue\u0026cntlbl=Continue%20Try%20Cloud%20Messaging)\n\n1. Click 'Choose and Configure Services'.\n2. Click to enable 'Cloud Messaging'\n3. Add Server Key to ~/.pushNotificatio or /etc/pushNotifications after installing the library.\n4. Put Sender ID in the Android applicatuion\n\n### Usage:\n\n1. Download and install pushNotification library \n    ```\n      sudo python setup.py install\n      ```\n      OR\n      \n      ```  sudo pip install future simplejson pushNotification ```\n      \n2. Download and install the [Android APK](https://github.com/mkalioby/Python_Notifications/blob/master/Applications/Android/Notifier.apk?raw=true) to your phone.\n3. Open Application and enter topics to listen on (seprated by ,) e.g warning,mkalioby.\n\t![Android Image](https://github.com/mkalioby/Python_Notifications/blob/master/Applications/Android/img.png)\n4. in your python code, write \n```python\n        import pushNotification\n        pushNotification.push(MESSAGE,TOPIC,CUSTOM_API_KEY=\"\")\n```\nThe return is a JSON String.\n\nFinally, check your phone.\n\n###  Next Features:\n3. iOS support. \n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkalioby%2Fpython_notifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkalioby%2Fpython_notifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkalioby%2Fpython_notifications/lists"}