ntfy-send


Namentfy-send JSON
Version 0.4.1 PyPI version JSON
download
home_pagehttps://git.goral.net.pl/mgoral/ntfy-send
SummaryClient application for ntfy.sh
upload_time2023-09-03 20:34:02
maintainer
docs_urlNone
authorMichal Goral
requires_python>=3.8,<4.0
licenseGPLv3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ntfy-send

ntfy-send is a client application for notification service
[ntfy.sh](https://ntfy.sh).

## Configuration

ntfy-send can be configured via a configuration file. It is recommended
method of storing your credential informations, which simplifies obtaining
and sending them to ntfy server.

All configuration options can be enclosed in backticks (`). When this is the
case, the option is treated as a command whose output substitutes the
configurration option.

Configuration files are stored in _$XDG_CONFIG_HOME/ntfy-send/config.toml_.
If you don't have _$XDG_CONFIG_HOME_ environment variale set, then it is
stored in _~/.config/ntfy-send/config.toml_. Below are documented all
options:

```toml
# config.toml

# URL to the server
server = "https://ntfy.sh"

# Username and password can be automatically obtained each time they're
# required. This is done by passing commands which should echo credentials.
# For complex commands it's recommended to pot them in a separate script, due
# to problems with several levels of quote escaping

# Username and password can be passed in plain text. This isn't recommended.
username = "user"
password = "pass"

# Alternatively, ntfy-send can automatically run a command for username and
# password when they're enclosed in backticks (`):
username = """`gpg2 --decrypt pass.gpg | awk -F ":" '/user:/ { printf $2 }'`"""
password = """`gpg2 --decrypt pass.gpg | awk -F ":" '/password:/ { printf $2 }'`"""
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://git.goral.net.pl/mgoral/ntfy-send",
    "name": "ntfy-send",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Michal Goral",
    "author_email": "dev@goral.net.pl",
    "download_url": "https://files.pythonhosted.org/packages/68/2c/86645130b1654f1248de0ea209fd559a752925f63f5bb2baf8f95483e94d/ntfy_send-0.4.1.tar.gz",
    "platform": null,
    "description": "# ntfy-send\n\nntfy-send is a client application for notification service\n[ntfy.sh](https://ntfy.sh).\n\n## Configuration\n\nntfy-send can be configured via a configuration file. It is recommended\nmethod of storing your credential informations, which simplifies obtaining\nand sending them to ntfy server.\n\nAll configuration options can be enclosed in backticks (`). When this is the\ncase, the option is treated as a command whose output substitutes the\nconfigurration option.\n\nConfiguration files are stored in _$XDG_CONFIG_HOME/ntfy-send/config.toml_.\nIf you don't have _$XDG_CONFIG_HOME_ environment variale set, then it is\nstored in _~/.config/ntfy-send/config.toml_. Below are documented all\noptions:\n\n```toml\n# config.toml\n\n# URL to the server\nserver = \"https://ntfy.sh\"\n\n# Username and password can be automatically obtained each time they're\n# required. This is done by passing commands which should echo credentials.\n# For complex commands it's recommended to pot them in a separate script, due\n# to problems with several levels of quote escaping\n\n# Username and password can be passed in plain text. This isn't recommended.\nusername = \"user\"\npassword = \"pass\"\n\n# Alternatively, ntfy-send can automatically run a command for username and\n# password when they're enclosed in backticks (`):\nusername = \"\"\"`gpg2 --decrypt pass.gpg | awk -F \":\" '/user:/ { printf $2 }'`\"\"\"\npassword = \"\"\"`gpg2 --decrypt pass.gpg | awk -F \":\" '/password:/ { printf $2 }'`\"\"\"\n```\n\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "Client application for ntfy.sh",
    "version": "0.4.1",
    "project_urls": {
        "Homepage": "https://git.goral.net.pl/mgoral/ntfy-send",
        "Repository": "https://git.goral.net.pl/mgoral/ntfy-send"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "265ae67c3bcf1e531ab1fd22a5b3af69728ba3516872097c075024bd23cd689d",
                "md5": "087f6deb89f06f7a681c55d3a456eb10",
                "sha256": "a287c3072efaf43bb614e7530192c182a632b5a9df481d525080ebf747e80450"
            },
            "downloads": -1,
            "filename": "ntfy_send-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "087f6deb89f06f7a681c55d3a456eb10",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 16870,
            "upload_time": "2023-09-03T20:34:00",
            "upload_time_iso_8601": "2023-09-03T20:34:00.041572Z",
            "url": "https://files.pythonhosted.org/packages/26/5a/e67c3bcf1e531ab1fd22a5b3af69728ba3516872097c075024bd23cd689d/ntfy_send-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "682c86645130b1654f1248de0ea209fd559a752925f63f5bb2baf8f95483e94d",
                "md5": "b7e4345e6459e50e76847691357a4e5e",
                "sha256": "793912c03987445339f6ea3db2d8df7f8da0fb60624dbd838b18b078080fbe5c"
            },
            "downloads": -1,
            "filename": "ntfy_send-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b7e4345e6459e50e76847691357a4e5e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 15447,
            "upload_time": "2023-09-03T20:34:02",
            "upload_time_iso_8601": "2023-09-03T20:34:02.219462Z",
            "url": "https://files.pythonhosted.org/packages/68/2c/86645130b1654f1248de0ea209fd559a752925f63f5bb2baf8f95483e94d/ntfy_send-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-03 20:34:02",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ntfy-send"
}
        
Elapsed time: 0.12231s