noti2


Namenoti2 JSON
Version 1.0.5 PyPI version JSON
download
home_page
SummaryNotify you that your code finished running
upload_time2024-03-19 01:37:11
maintainer
docs_urlNone
authorBinh Vu
requires_python>=3.8,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # notifications

Notify you that your code finished running.

# Slack

Steps to setup slack notifications:

1. Create a slack app and get the webhook URL (https://api.slack.com/messaging/webhooks)
2. Obtain the webhook URL such as `https://hooks.slack.com/services/XXXX/XXXXX/XXXXXX`, then run `python -m noti.auth` and paste the URL when prompted.
3. After that, you can either use:

```python
import noti

with noti.slack.watch("do some work..."):
    ...
```

to be notified when the code block finishes, or use:

```python
import noti
noti.slack("done!")
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "noti2",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Binh Vu",
    "author_email": "binh@toan2.com",
    "download_url": "https://files.pythonhosted.org/packages/27/d2/4203e0bbff852825d47271bc45be01bbcc44524b0aca6159cfc0768d65e3/noti2-1.0.5.tar.gz",
    "platform": null,
    "description": "# notifications\n\nNotify you that your code finished running.\n\n# Slack\n\nSteps to setup slack notifications:\n\n1. Create a slack app and get the webhook URL (https://api.slack.com/messaging/webhooks)\n2. Obtain the webhook URL such as `https://hooks.slack.com/services/XXXX/XXXXX/XXXXXX`, then run `python -m noti.auth` and paste the URL when prompted.\n3. After that, you can either use:\n\n```python\nimport noti\n\nwith noti.slack.watch(\"do some work...\"):\n    ...\n```\n\nto be notified when the code block finishes, or use:\n\n```python\nimport noti\nnoti.slack(\"done!\")\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Notify you that your code finished running",
    "version": "1.0.5",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "322f7deddf8506a77034556f1acdc87b4f6e5cb210bf14696f0655392ad85e06",
                "md5": "0b19ed9ce72b7c105d1fae14ce6f61b5",
                "sha256": "e92477cbd0a563fb56345191e923f665f9435c72857ff051b5e4c42339f4968d"
            },
            "downloads": -1,
            "filename": "noti2-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0b19ed9ce72b7c105d1fae14ce6f61b5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 5758,
            "upload_time": "2024-03-19T01:37:09",
            "upload_time_iso_8601": "2024-03-19T01:37:09.570863Z",
            "url": "https://files.pythonhosted.org/packages/32/2f/7deddf8506a77034556f1acdc87b4f6e5cb210bf14696f0655392ad85e06/noti2-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "27d24203e0bbff852825d47271bc45be01bbcc44524b0aca6159cfc0768d65e3",
                "md5": "df15dbe85284c89a62c77efe0b555051",
                "sha256": "0fbce78a9fc5315144af57fe5c57c4a810fb4799d7a7abc14f4b517d8d1ac4d7"
            },
            "downloads": -1,
            "filename": "noti2-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "df15dbe85284c89a62c77efe0b555051",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 4263,
            "upload_time": "2024-03-19T01:37:11",
            "upload_time_iso_8601": "2024-03-19T01:37:11.876678Z",
            "url": "https://files.pythonhosted.org/packages/27/d2/4203e0bbff852825d47271bc45be01bbcc44524b0aca6159cfc0768d65e3/noti2-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-19 01:37:11",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "noti2"
}
        
Elapsed time: 0.41830s