Skip to main content

easy to use python wrapper for notify-send program.

Project description

pynoti
------
easy to use python wrapper for notify-send program.

How to install
---------------

```shell
pip install pynoti
```

Usage
-----

```python
from pynoti import noti

noti.Noti("test title", "test message").run()
noti.Noti("test title", "test message", iconpath='path/to/your/icon/path.png').run()
noti.Noti("test title", "test message", ulevel=noti.CRITICAL).run()
noti.Noti("test title", "test message", extime=2).run()
noti.Noti("test title", "test message", appname='test app name').run()
```

Example
--------
![example1](./img/example.png)

Contributors
------------
* Leonardo Javier Esparis Meza <leoxnidas.c.14@gmail.com>


License
-------

Copyright (c) 2017 Leonardo Javier Esparis Meza and individual contributors. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of Django nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynoti-1.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file pynoti-1.3.tar.gz.

File metadata

  • Download URL: pynoti-1.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pynoti-1.3.tar.gz
Algorithm Hash digest
SHA256 778329823853e7ce6bdc9e072503ab23b3532c63df3a079f6d6905937817b77f
MD5 ad0c6c7e0570bada95de5384b71445ac
BLAKE2b-256 76457720f9cc5f9aa7581c9f431ac35cd29eeaf2551b9d0a63c1c4cabbeb2ba4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page