pingdat 1.2.0__tar.gz → 1.3.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pingdat
3
- Version: 1.2.0
3
+ Version: 1.3.2
4
4
  Summary: A simple ping exporter for Prometheus metrics.
5
5
  License: MIT
6
6
  Author: jheddings
@@ -11,12 +11,12 @@ Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.9
12
12
  Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
- Requires-Dist: click (>=8.1.3,<9.0.0)
14
+ Requires-Dist: click (>=8.1.7,<9.0.0)
15
15
  Requires-Dist: ping3 (>=4.0.4,<5.0.0)
16
- Requires-Dist: prometheus-client (>=0.16.0,<0.17.0)
17
- Requires-Dist: pydantic (>=1.10.7,<2.0.0)
18
- Requires-Dist: pyyaml (>=6.0,<7.0)
19
- Requires-Dist: requests (>=2.28.2,<3.0.0)
16
+ Requires-Dist: prometheus-client (>=0.17.1,<0.18.0)
17
+ Requires-Dist: pydantic (>=2.3.0,<3.0.0)
18
+ Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
19
+ Requires-Dist: requests (>=2.31.0,<3.0.0)
20
20
  Description-Content-Type: text/markdown
21
21
 
22
22
  # pingdat #
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pingdat"
3
- version = "1.2.0"
3
+ version = "1.3.2"
4
4
  description = "A simple ping exporter for Prometheus metrics."
5
5
  authors = ["jheddings <jheddings@gmail.com>"]
6
6
  license = "MIT"
@@ -8,18 +8,18 @@ readme = "README.md"
8
8
 
9
9
  [tool.poetry.dependencies]
10
10
  python = "^3.9"
11
- requests = "^2.28.2"
12
- click = "^8.1.3"
13
- prometheus-client = "^0.16.0"
14
- pydantic = "^1.10.7"
15
- pyyaml = "^6.0"
11
+ requests = "^2.31.0"
12
+ click = "^8.1.7"
13
+ prometheus-client = "^0.17.1"
14
+ pydantic = "^2.3.0"
15
+ pyyaml = "^6.0.1"
16
16
  ping3 = "^4.0.4"
17
17
 
18
18
  [tool.poetry.group.dev.dependencies]
19
- pre-commit = "^3.2.0"
20
- GitPython = "^3.1.31"
21
- pytest = "^7.2.2"
22
- coverage = "^7.2.2"
19
+ pre-commit = "^3.4.0"
20
+ GitPython = "^3.1.34"
21
+ pytest = "^7.4.1"
22
+ coverage = "^7.3.0"
23
23
 
24
24
  [tool.poetry.scripts]
25
25
  pingdat = "pingdat.__main__:main"
pingdat-1.2.0/setup.py DELETED
@@ -1,43 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- from setuptools import setup
3
-
4
- package_dir = \
5
- {'': 'src'}
6
-
7
- packages = \
8
- ['pingdat']
9
-
10
- package_data = \
11
- {'': ['*']}
12
-
13
- install_requires = \
14
- ['click>=8.1.3,<9.0.0',
15
- 'ping3>=4.0.4,<5.0.0',
16
- 'prometheus-client>=0.16.0,<0.17.0',
17
- 'pydantic>=1.10.7,<2.0.0',
18
- 'pyyaml>=6.0,<7.0',
19
- 'requests>=2.28.2,<3.0.0']
20
-
21
- entry_points = \
22
- {'console_scripts': ['pingdat = pingdat.__main__:main']}
23
-
24
- setup_kwargs = {
25
- 'name': 'pingdat',
26
- 'version': '1.2.0',
27
- 'description': 'A simple ping exporter for Prometheus metrics.',
28
- 'long_description': '# pingdat #\n\n[![PyPI](https://img.shields.io/pypi/v/pingdat.svg)](https://pypi.org/project/pingdat)\n[![LICENSE](https://img.shields.io/github/license/jheddings/pingdat)](LICENSE)\n[![Style](https://img.shields.io/badge/style-black-black)](https://github.com/ambv/black)\n\nA Prometheus exporter for ping statistics.\n\n## Installation ##\n\nInstall the published package using pip:\n\n```shell\npip3 install pingdat\n```\n\nThis project uses `poetry` to manage dependencies and a local virtual environment. To\nget started, clone the repository and install the dependencies with the following:\n\n```shell\npoetry install\n```\n\n### Grafana Dashboard ###\n\nA Grafana dashboard is available as #(17922)[https://grafana.com/grafana/dashboards/17922].\n\n## Usage ##\n\nRun the module and tell it which config file to use.\n\n```shell\npython3 -m pingdat --config pingdat.yaml\n```\n\nIf you are using `poetry` to manage the virtual environment, use the following:\n\n```shell\npoetry run pingdat --config pingdat.yaml\n```\n\n### Docker ###\n\n`pingdat` is available as a published Docker image. To run, use the latest version:\nfrom Docker Hub:\n\n```shell\ndocker container run --rm --publish 9056:9056 "jheddings/pingdat:latest"\n```\n\nThe configuration file is read from `/opt/pingdat/pingdat.yaml` and may be changed\nwith arguments to the container:\n\n```shell\ndocker container run --rm --tty --publish 9056:9056 \\\n --volume "/path/to/host/config:/etc/pingdat" \\\n "jheddings/pingdat:latest" --config /etc/pingdat/pingdat.yaml\n```\n\n## Docker Compose ##\n\nA sample configuration is also provided for using `docker compose`. Similar to using\nDocker directly, the configuration file can be provided on the host side. Then,\nsimply start the cluster normally:\n\n```shell\ndocker compose up\n```\n\nOr detached as a background process:\n\n```shell\ndocker compose up --detach\n```\n\n## Configuration ##\n\nFor now, review the sample `pingdat.yaml` config file for a description of supported\nconfiguration options.\n',
29
- 'author': 'jheddings',
30
- 'author_email': 'jheddings@gmail.com',
31
- 'maintainer': 'None',
32
- 'maintainer_email': 'None',
33
- 'url': 'None',
34
- 'package_dir': package_dir,
35
- 'packages': packages,
36
- 'package_data': package_data,
37
- 'install_requires': install_requires,
38
- 'entry_points': entry_points,
39
- 'python_requires': '>=3.9,<4.0',
40
- }
41
-
42
-
43
- setup(**setup_kwargs)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes