wanot


Namewanot JSON
Version 0.0.3 PyPI version JSON
download
home_pageNone
SummaryWait and notify conveniently
upload_time2024-08-16 04:24:15
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords copier-template full-development-lifecycle project-template serious-scaffold
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # WAN

Wait and notify conveniently



[![CI](https://github.com/you-n-g/wan/actions/workflows/ci.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/ci.yml)
[![CommitLint](https://github.com/you-n-g/wan/actions/workflows/commitlint.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/commitlint.yml)
[![DevContainer](https://github.com/you-n-g/wan/actions/workflows/devcontainer.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/devcontainer.yml)
[![Release](https://github.com/you-n-g/wan/actions/workflows/release.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/release.yml)
[![Renovate](https://github.com/you-n-g/wan/actions/workflows/renovate.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/renovate.yml)
[![Semantic Release](https://github.com/you-n-g/wan/actions/workflows/semantic-release.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/semantic-release.yml)
[![Coverage](https://img.shields.io/endpoint?url=https://you-n-g.github.io/wan/_static/badges/coverage.json)](https://you-n-g.github.io/wan/reports/coverage)
[![Release](https://img.shields.io/github/v/release/you-n-g/wan)](https://github.com/you-n-g/wan/releases)
[![PyPI](https://img.shields.io/pypi/v/wanot)](https://pypi.org/project/wanot/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wanot)](https://pypi.org/project/wanot/)
[![GitHub](https://img.shields.io/github/license/you-n-g/wan)](https://github.com/you-n-g/wan/blob/main/LICENSE)

[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm-project.org)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
[![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/5697b1e4c4a9790ece607654e6c02a160620c7e1/docs/badge/v2.json)](https://pydantic.dev)
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/copier-org/copier)
[![Serious Scaffold Python](https://img.shields.io/endpoint?url=https://serious-scaffold.github.io/ss-python/_static/badges/logo.json)](https://serious-scaffold.github.io/ss-python)
[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/you-n-g/wan)

> [!IMPORTANT]
> _WAN_ is in the **Beta** phase.
> Changes and potential instability should be anticipated.
> Any feedback, comments, suggestions and contributions are welcome!



# Wait And Notify(WAN)
This package is under development.  We will release it soon in the future.



# Installation

You can install wan with **one** of the following command

<!-- [fzf](https://github.com/junegunn/fzf) is required -->
```shell
# 1)
# pip install wan  # TODO: upload this to pip source
# 2)
pip install git+https://github.com/you-n-g/wan.git@master
# 3)
python setup.py install
# 4)
python setup.py develop  # It is recommended if you want to develop wan
```

## config

Please config your [notifiers](https://github.com/liiight/notifiers).
`wan` will read the setting in ` ~/.dotfiles/.notifers.yaml` as the arguments for notifiers.

Here is a config example of telegram
```yaml
provider: telegram
kwargs:
    chat_id: <Your Chat id from  `@myidbot` by sending `/getid`>
    token: <Your token from `@BotFather` by sending `/newbot`>
```

Other configs:
```yaml
log_level: DEBUG  # the default level is INFO
```


# Usage

## Use in python code

* Call the function in python code directly.
```python
<Your code which takes a lot of time>
from wan import ntf; ntf('Finished')
```

* Call the function in shell directly
```shell
> sleep 10 ; wan ntf sleep finished
```

<<<<<<< HEAD
=======


## 📜 License

MIT License, for more details, see the [LICENSE](https://github.com/you-n-g/wan/blob/main/LICENSE) file.
>>>>>>> 400ad4d (Init from serious-scaffold-python.)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "wanot",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "copier-template, full-development-lifecycle, project-template, serious-scaffold",
    "author": null,
    "author_email": "Xiao Yang <afe.young@gmail.com>, zhupr <zplongr@hotmail.com>, gazh <v-gazh@hotmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/17/79/2c8e3556c1c99d6ffc65fbf97ce5b4bdbbc7950e6f1d28df9bfe573ecd55/wanot-0.0.3.tar.gz",
    "platform": null,
    "description": "# WAN\n\nWait and notify conveniently\n\n\n\n[![CI](https://github.com/you-n-g/wan/actions/workflows/ci.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/ci.yml)\n[![CommitLint](https://github.com/you-n-g/wan/actions/workflows/commitlint.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/commitlint.yml)\n[![DevContainer](https://github.com/you-n-g/wan/actions/workflows/devcontainer.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/devcontainer.yml)\n[![Release](https://github.com/you-n-g/wan/actions/workflows/release.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/release.yml)\n[![Renovate](https://github.com/you-n-g/wan/actions/workflows/renovate.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/renovate.yml)\n[![Semantic Release](https://github.com/you-n-g/wan/actions/workflows/semantic-release.yml/badge.svg)](https://github.com/you-n-g/wan/actions/workflows/semantic-release.yml)\n[![Coverage](https://img.shields.io/endpoint?url=https://you-n-g.github.io/wan/_static/badges/coverage.json)](https://you-n-g.github.io/wan/reports/coverage)\n[![Release](https://img.shields.io/github/v/release/you-n-g/wan)](https://github.com/you-n-g/wan/releases)\n[![PyPI](https://img.shields.io/pypi/v/wanot)](https://pypi.org/project/wanot/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wanot)](https://pypi.org/project/wanot/)\n[![GitHub](https://img.shields.io/github/license/you-n-g/wan)](https://github.com/you-n-g/wan/blob/main/LICENSE)\n\n[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm-project.org)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)\n[![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/5697b1e4c4a9790ece607654e6c02a160620c7e1/docs/badge/v2.json)](https://pydantic.dev)\n[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/copier-org/copier)\n[![Serious Scaffold Python](https://img.shields.io/endpoint?url=https://serious-scaffold.github.io/ss-python/_static/badges/logo.json)](https://serious-scaffold.github.io/ss-python)\n[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/you-n-g/wan)\n\n> [!IMPORTANT]\n> _WAN_ is in the **Beta** phase.\n> Changes and potential instability should be anticipated.\n> Any feedback, comments, suggestions and contributions are welcome!\n\n\n\n# Wait And Notify(WAN)\nThis package is under development.  We will release it soon in the future.\n\n\n\n# Installation\n\nYou can install wan with **one** of the following command\n\n<!-- [fzf](https://github.com/junegunn/fzf) is required -->\n```shell\n# 1)\n# pip install wan  # TODO: upload this to pip source\n# 2)\npip install git+https://github.com/you-n-g/wan.git@master\n# 3)\npython setup.py install\n# 4)\npython setup.py develop  # It is recommended if you want to develop wan\n```\n\n## config\n\nPlease config your [notifiers](https://github.com/liiight/notifiers).\n`wan` will read the setting in ` ~/.dotfiles/.notifers.yaml` as the arguments for notifiers.\n\nHere is a config example of telegram\n```yaml\nprovider: telegram\nkwargs:\n    chat_id: <Your Chat id from  `@myidbot` by sending `/getid`>\n    token: <Your token from `@BotFather` by sending `/newbot`>\n```\n\nOther configs:\n```yaml\nlog_level: DEBUG  # the default level is INFO\n```\n\n\n# Usage\n\n## Use in python code\n\n* Call the function in python code directly.\n```python\n<Your code which takes a lot of time>\nfrom wan import ntf; ntf('Finished')\n```\n\n* Call the function in shell directly\n```shell\n> sleep 10 ; wan ntf sleep finished\n```\n\n<<<<<<< HEAD\n=======\n\n\n## \ud83d\udcdc License\n\nMIT License, for more details, see the [LICENSE](https://github.com/you-n-g/wan/blob/main/LICENSE) file.\n>>>>>>> 400ad4d (Init from serious-scaffold-python.)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Wait and notify conveniently",
    "version": "0.0.3",
    "project_urls": {
        "documentation": "https://you-n-g.github.io/wan",
        "issue": "https://github.com/you-n-g/wan/issues",
        "repository": "https://github.com/you-n-g/wan"
    },
    "split_keywords": [
        "copier-template",
        " full-development-lifecycle",
        " project-template",
        " serious-scaffold"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7cb7385b8356bfc732f63a60af08f58469b369684c01538f19489cc532fd3d76",
                "md5": "d900561b9b4968b9643f5494ec518403",
                "sha256": "b60c5ca7c18a736f46bad3e41ec75dc85a740f9c03e17a20119d0b3def95cf6c"
            },
            "downloads": -1,
            "filename": "wanot-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d900561b9b4968b9643f5494ec518403",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9274,
            "upload_time": "2024-08-16T04:24:12",
            "upload_time_iso_8601": "2024-08-16T04:24:12.587669Z",
            "url": "https://files.pythonhosted.org/packages/7c/b7/385b8356bfc732f63a60af08f58469b369684c01538f19489cc532fd3d76/wanot-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17792c8e3556c1c99d6ffc65fbf97ce5b4bdbbc7950e6f1d28df9bfe573ecd55",
                "md5": "88b77dec91b2ecafa35c5ef16edad978",
                "sha256": "f7e250d08f2076b592cbdc0bd972bdf82abe862b391b2d5c3220f668d0adfec9"
            },
            "downloads": -1,
            "filename": "wanot-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "88b77dec91b2ecafa35c5ef16edad978",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 257979,
            "upload_time": "2024-08-16T04:24:15",
            "upload_time_iso_8601": "2024-08-16T04:24:15.116389Z",
            "url": "https://files.pythonhosted.org/packages/17/79/2c8e3556c1c99d6ffc65fbf97ce5b4bdbbc7950e6f1d28df9bfe573ecd55/wanot-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-16 04:24:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "you-n-g",
    "github_project": "wan",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "wanot"
}
        
Elapsed time: 0.27836s