python-ntfy 0.3.7__tar.gz → 0.3.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_ntfy-0.3.7 → python_ntfy-0.3.8}/PKG-INFO +7 -14
- {python_ntfy-0.3.7 → python_ntfy-0.3.8}/README.md +6 -13
- {python_ntfy-0.3.7 → python_ntfy-0.3.8}/pyproject.toml +1 -1
- {python_ntfy-0.3.7 → python_ntfy-0.3.8}/LICENSE +0 -0
- {python_ntfy-0.3.7 → python_ntfy-0.3.8}/python_ntfy/__init__.py +0 -0
- {python_ntfy-0.3.7 → python_ntfy-0.3.8}/python_ntfy/_get_functions.py +0 -0
- {python_ntfy-0.3.7 → python_ntfy-0.3.8}/python_ntfy/_send_functions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-ntfy
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.8
|
|
4
4
|
Summary: An ntfy library aiming for feature completeness
|
|
5
5
|
Home-page: https://github.com/MatthewCane/python-ntfy
|
|
6
6
|
License: MIT
|
|
@@ -20,9 +20,9 @@ Description-Content-Type: text/markdown
|
|
|
20
20
|
|
|
21
21
|
# A Python Library For ntfy
|
|
22
22
|
|
|
23
|
-

|
|
23
|
+

|
|
24
|
+

|
|
25
|
+

|
|
26
26
|
|
|
27
27
|
An easy-to-use python library for the [ntfy notification service](https://ntfy.sh/). Aiming for full feature support and a super easy to use interface.
|
|
28
28
|
|
|
@@ -92,17 +92,10 @@ These tools are also run in the CI pipeline and must pass before merging.
|
|
|
92
92
|
|
|
93
93
|
This project is aiming for 95% code coverage. Any added features must include comprihensive tests.
|
|
94
94
|
|
|
95
|
-
You can run the tests against a local instance of `ntfy` *or* `ntfy.sh`.
|
|
96
|
-
|
|
97
95
|
#### Setup Steps
|
|
98
96
|
|
|
99
|
-
1.
|
|
100
|
-
|
|
101
|
-
ii. Set the following key in the `.env` file: `NTFY_SERVER=http://localhost`
|
|
102
|
-
iii. Add a dummy username and password to `.env` (see example.env)
|
|
103
|
-
2. To test against `https://ntfy.sh`:
|
|
104
|
-
i. Add username and password for ntfy.sh to `.env` (see example.env)
|
|
105
|
-
3. Run the tests with `poetry run pytest --cov`
|
|
97
|
+
1. Start the test docker container with `docker-compose -f tests/assets/test_containers.yml up`
|
|
98
|
+
2. Run the tests with `poetry run pytest --cov`
|
|
106
99
|
|
|
107
|
-
The tests will sent messages to the `python_ntfy_testing` topic so you will need to subcribe to that topic to see the test messages.
|
|
100
|
+
The tests will sent messages to the `python_ntfy_testing` topic so you will need to view the web interface and subcribe to that topic to see the test messages.
|
|
108
101
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# A Python Library For ntfy
|
|
2
2
|
|
|
3
|
-

|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
6
|
|
|
7
7
|
An easy-to-use python library for the [ntfy notification service](https://ntfy.sh/). Aiming for full feature support and a super easy to use interface.
|
|
8
8
|
|
|
@@ -72,16 +72,9 @@ These tools are also run in the CI pipeline and must pass before merging.
|
|
|
72
72
|
|
|
73
73
|
This project is aiming for 95% code coverage. Any added features must include comprihensive tests.
|
|
74
74
|
|
|
75
|
-
You can run the tests against a local instance of `ntfy` *or* `ntfy.sh`.
|
|
76
|
-
|
|
77
75
|
#### Setup Steps
|
|
78
76
|
|
|
79
|
-
1.
|
|
80
|
-
|
|
81
|
-
ii. Set the following key in the `.env` file: `NTFY_SERVER=http://localhost`
|
|
82
|
-
iii. Add a dummy username and password to `.env` (see example.env)
|
|
83
|
-
2. To test against `https://ntfy.sh`:
|
|
84
|
-
i. Add username and password for ntfy.sh to `.env` (see example.env)
|
|
85
|
-
3. Run the tests with `poetry run pytest --cov`
|
|
77
|
+
1. Start the test docker container with `docker-compose -f tests/assets/test_containers.yml up`
|
|
78
|
+
2. Run the tests with `poetry run pytest --cov`
|
|
86
79
|
|
|
87
|
-
The tests will sent messages to the `python_ntfy_testing` topic so you will need to subcribe to that topic to see the test messages.
|
|
80
|
+
The tests will sent messages to the `python_ntfy_testing` topic so you will need to view the web interface and subcribe to that topic to see the test messages.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|