-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
81 lines (69 loc) · 2.56 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
from setuptools import find_packages, setup
description = """
Have you ever wanted a simple tool in your terminal which gives you notification when the program is done, like some computer notification or some mail.
This tool helps you ease your life with appropriate notifications you can set in your OS, get mail regarding it and best of all, it is VERY SIMPLE TO USE!
## Features
- Very easy to use and setup.
- Cross platform support for Windows, MacOS and Linux.
- Get local notifications when your command is done.
- Get notifications like gmail, telegram bot, etc. when your command is done.
- Get information about output, errors, time taken, pid and more in the notification.
- Track your process for possible suspensions and get notified after thorough diagnostics.
- Enhanced UI features powered by rich and beaupy.
## Usages
There are mainly two ways to use the tool to get a notification -
### 1. Direct Run
For "direct running", you can follow the below format -
```bash
ntfyme exec -c <command>
```
### 2. Piping the command
For "piping the command", you can follow the below format -
```bash
echo <command> | ntfyme exec
```
For more information, visit the official github repository https://github.com/AnirudhG07/ntfyme
"""
setup(
name="ntfyme",
version="0.0.2",
description="Simple notification tool to notify yourself when a long running process ends with local ping, gmail, telegram, etc.",
long_description=description,
long_description_content_type="text/markdown",
url="https://github.com/AnirudhG07/ntfyme",
author="Anirudh Gupta",
package_data={
"ntfyme": ["config.toml", "utils/*, manager/*, cmd/*"],
},
packages=find_packages(),
install_requires=[
"toml",
"plyer",
"tomlkit",
"cryptography",
"requests",
"rich",
"rich-click",
"beaupy",
],
keywords=["notification", "notify", "cli", "python"],
python_requires=">=3.10",
entry_points={
"console_scripts": [
"ntfyme=ntfyme.main:main",
],
},
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
],
)