slack-notification


Nameslack-notification JSON
Version 0.1.8 PyPI version JSON
download
home_page
SummaryA simple way to send slack notification
upload_time2024-01-02 21:50:25
maintainer
docs_urlNone
author
requires_python>=3.9
license
keywords monitoring notification observability slack telemetry
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Slack-Notification
A simple way to send slack notification

## Install
```
pip install -i slack-notification
```

## Usage
```python
from slack_notification.slack_notification import SlackNotification

CHANNEL = "YOUR_CHANNEL" #example TXXXXXXXXXX/BXXXXXXXX/NXXXXXXXXXX"
slack = SlackNotification(CHANNEL)
message = "YOUR_MESSAGE"
response = slack.notify(message)
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "slack-notification",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "monitoring,notification,observability,slack,telemetry",
    "author": "",
    "author_email": "Francis Obiagwu <cyber.francis@comcast.net>",
    "download_url": "https://files.pythonhosted.org/packages/bc/5a/81f2e285f23e0350557bcb5cce325c0c5349be849d4e96d436c80ce8f4f3/slack_notification-0.1.8.tar.gz",
    "platform": null,
    "description": "# Slack-Notification\nA simple way to send slack notification\n\n## Install\n```\npip install -i slack-notification\n```\n\n## Usage\n```python\nfrom slack_notification.slack_notification import SlackNotification\n\nCHANNEL = \"YOUR_CHANNEL\" #example TXXXXXXXXXX/BXXXXXXXX/NXXXXXXXXXX\"\nslack = SlackNotification(CHANNEL)\nmessage = \"YOUR_MESSAGE\"\nresponse = slack.notify(message)\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A simple way to send slack notification",
    "version": "0.1.8",
    "project_urls": {
        "Homepage": "https://github.com/cyber-francis/slack_notification",
        "Issues": "https://github.com/cyber-francis/slack_notification/issues"
    },
    "split_keywords": [
        "monitoring",
        "notification",
        "observability",
        "slack",
        "telemetry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cd82af3887e7b62ffbf9167ffb499c19585eacb3d08e613c8a1d5e3f041d87a7",
                "md5": "5775a34b513bda3349c0bff8d7a0a10c",
                "sha256": "6bacbd8d9b5f51c926899a4079e2719df95976102da0145b7aaa5e27521dd569"
            },
            "downloads": -1,
            "filename": "slack_notification-0.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5775a34b513bda3349c0bff8d7a0a10c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 3653,
            "upload_time": "2024-01-02T21:50:24",
            "upload_time_iso_8601": "2024-01-02T21:50:24.477495Z",
            "url": "https://files.pythonhosted.org/packages/cd/82/af3887e7b62ffbf9167ffb499c19585eacb3d08e613c8a1d5e3f041d87a7/slack_notification-0.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bc5a81f2e285f23e0350557bcb5cce325c0c5349be849d4e96d436c80ce8f4f3",
                "md5": "6eccc6d40aaf8b1453a8e28484da38e2",
                "sha256": "39eb0f4e47e8c4422051084b45d781c863a756ac2732dc0e9c496bea8228114c"
            },
            "downloads": -1,
            "filename": "slack_notification-0.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "6eccc6d40aaf8b1453a8e28484da38e2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 5907,
            "upload_time": "2024-01-02T21:50:25",
            "upload_time_iso_8601": "2024-01-02T21:50:25.455523Z",
            "url": "https://files.pythonhosted.org/packages/bc/5a/81f2e285f23e0350557bcb5cce325c0c5349be849d4e96d436c80ce8f4f3/slack_notification-0.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-02 21:50:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cyber-francis",
    "github_project": "slack_notification",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "slack-notification"
}
        
Elapsed time: 2.17388s