notification-center-ma


Namenotification-center-ma JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryA package for sending notifications internally for MobileArts
upload_time2023-06-12 10:52:17
maintainer
docs_urlNone
authorFatima Medlij
requires_python>=3.9
licenseMIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords notification messaging communication
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # notification-center-ma
## Functions

- send_email()
- send_telegram()
- send_sms()
- send_telegram_photo()
- send_telegram_document()

## Installation
Install the dependencies.
```sh
pip install notification-center-ma
pip install -r requirements.txt
```

## Usage
After installation add requirement to your code
```sh
import notification_center
```


For Email (up to 2GB messages)
```sh
notification_center.send_email(to_emails,cc_emails,bcc_emails,subject,text_body,text_html)
```


For Telegram
```sh
notification_center.send_telegram(chat_ids,text)
```


For Telegram Photos
```sh
notification_center.send_telegram_photo(chat_ids, imageurl, caption)
```


For Telegram Documents
```sh
notification_center.send_telegram_document(chat_ids, documenturl, caption)
```


For SMS
```sh
notification_center.send_sms(source, phonenumbers, text)
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "notification-center-ma",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "notification,messaging,communication",
    "author": "Fatima Medlij",
    "author_email": "Fatima Medlij <medlijfatima@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d7/25/26a02193270ecc42f51d111d4e75f8a067e275901e48b24c6cfe79cb4815/notification-center-ma-0.0.1.tar.gz",
    "platform": null,
    "description": "# notification-center-ma\r\n## Functions\r\n\r\n- send_email()\r\n- send_telegram()\r\n- send_sms()\r\n- send_telegram_photo()\r\n- send_telegram_document()\r\n\r\n## Installation\r\nInstall the dependencies.\r\n```sh\r\npip install notification-center-ma\r\npip install -r requirements.txt\r\n```\r\n\r\n## Usage\r\nAfter installation add requirement to your code\r\n```sh\r\nimport notification_center\r\n```\r\n\r\n\r\nFor Email (up to 2GB messages)\r\n```sh\r\nnotification_center.send_email(to_emails,cc_emails,bcc_emails,subject,text_body,text_html)\r\n```\r\n\r\n\r\nFor Telegram\r\n```sh\r\nnotification_center.send_telegram(chat_ids,text)\r\n```\r\n\r\n\r\nFor Telegram Photos\r\n```sh\r\nnotification_center.send_telegram_photo(chat_ids, imageurl, caption)\r\n```\r\n\r\n\r\nFor Telegram Documents\r\n```sh\r\nnotification_center.send_telegram_document(chat_ids, documenturl, caption)\r\n```\r\n\r\n\r\nFor SMS\r\n```sh\r\nnotification_center.send_sms(source, phonenumbers, text)\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "A package for sending notifications internally for MobileArts",
    "version": "0.0.1",
    "project_urls": null,
    "split_keywords": [
        "notification",
        "messaging",
        "communication"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "16becc93991dd68f0efce3723e3cde4494d2c3d9702cc1e5fd61aa10448dda82",
                "md5": "59846b7c757800bcbaee43852bd8e40f",
                "sha256": "33d4b0865aec22234fb07124289181d42c1ece56246f8b39a5680233c1cc36aa"
            },
            "downloads": -1,
            "filename": "notification_center_ma-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "59846b7c757800bcbaee43852bd8e40f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 5879,
            "upload_time": "2023-06-12T10:52:15",
            "upload_time_iso_8601": "2023-06-12T10:52:15.158848Z",
            "url": "https://files.pythonhosted.org/packages/16/be/cc93991dd68f0efce3723e3cde4494d2c3d9702cc1e5fd61aa10448dda82/notification_center_ma-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d72526a02193270ecc42f51d111d4e75f8a067e275901e48b24c6cfe79cb4815",
                "md5": "5bcc79b3d204074dcad394b2be3c6e9c",
                "sha256": "6be3779fe406bc0d19fa1c082ffbe859291e7a48e6dd9a49ef2a2d8c2b52462d"
            },
            "downloads": -1,
            "filename": "notification-center-ma-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5bcc79b3d204074dcad394b2be3c6e9c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4426,
            "upload_time": "2023-06-12T10:52:17",
            "upload_time_iso_8601": "2023-06-12T10:52:17.095508Z",
            "url": "https://files.pythonhosted.org/packages/d7/25/26a02193270ecc42f51d111d4e75f8a067e275901e48b24c6cfe79cb4815/notification-center-ma-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-12 10:52:17",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "notification-center-ma"
}
        
Elapsed time: 0.08676s