glances_api 0.9.0__tar.gz → 0.9.1__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.
- {glances_api-0.9.0 → glances_api-0.9.1}/LICENSE +1 -1
- {glances_api-0.9.0 → glances_api-0.9.1}/PKG-INFO +21 -22
- glances_api-0.9.1/README.md +38 -0
- {glances_api-0.9.0 → glances_api-0.9.1}/pyproject.toml +10 -18
- glances_api-0.9.0/README.rst +0 -39
- {glances_api-0.9.0 → glances_api-0.9.1}/glances_api/__init__.py +0 -0
- {glances_api-0.9.0 → glances_api-0.9.1}/glances_api/exceptions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2017-
|
|
3
|
+
Copyright (c) 2017-2025 Fabian Affolter <fabian@affolter-engineering.ch>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: glances_api
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.1
|
|
4
4
|
Summary: Python API for interacting with Glances
|
|
5
|
-
Home-page: https://github.com/home-assistant-ecosystem/python-glances-api
|
|
6
5
|
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
7
|
Author: Fabian Affolter
|
|
8
8
|
Author-email: fabian@affolter-engineering.ch
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.13,<4.0
|
|
10
10
|
Classifier: Development Status :: 3 - Alpha
|
|
11
11
|
Classifier: Environment :: Console
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
@@ -15,43 +15,42 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
15
15
|
Classifier: Operating System :: Microsoft :: Windows
|
|
16
16
|
Classifier: Operating System :: POSIX
|
|
17
17
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
20
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
20
|
Classifier: Topic :: Utilities
|
|
22
|
-
Requires-Dist: httpx (>=0.
|
|
21
|
+
Requires-Dist: httpx (>=0.28,<1)
|
|
22
|
+
Project-URL: Homepage, https://github.com/home-assistant-ecosystem/python-glances-api
|
|
23
23
|
Project-URL: Repository, https://github.com/home-assistant-ecosystem/python-glances-api/releases
|
|
24
|
-
Description-Content-Type: text/
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
25
|
|
|
26
26
|
python-glances-api
|
|
27
27
|
==================
|
|
28
28
|
|
|
29
|
-
A Python client for interacting with
|
|
29
|
+
A Python client for interacting with [Glances](https://nicolargo.github.io/glances/).
|
|
30
30
|
|
|
31
31
|
This module is not official, developed, supported or endorsed by Glances.
|
|
32
32
|
|
|
33
33
|
Installation
|
|
34
34
|
------------
|
|
35
35
|
|
|
36
|
-
The module is available from the
|
|
36
|
+
The module is available from the [Python Package Index](https://pypi.python.org/pypi).
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
```bash
|
|
39
|
+
$ pip3 install glances_api
|
|
40
|
+
```
|
|
41
41
|
|
|
42
42
|
Or on a Fedora-based system or on a CentOS/RHEL machine with has EPEL enabled.
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
For Nix or NixOS is `pre-packed module <https://search.nixos.org/packages?channel=unstable&query=glances-api>`_
|
|
50
|
-
available. The lastest release is usually present in the ``unstable`` channel.
|
|
44
|
+
```bash
|
|
45
|
+
$ sudo dnf -y install python3-glances-api
|
|
46
|
+
```
|
|
51
47
|
|
|
52
|
-
|
|
48
|
+
For Nix or NixOS is[ pre-packed module](https://search.nixos.org/packages?channel=unstable&query=glances-api)
|
|
49
|
+
available. The latest release is usually present in the ``unstable`` channel.
|
|
53
50
|
|
|
54
|
-
|
|
51
|
+
```bash
|
|
52
|
+
$ nix-env -iA nixos.python3Packages.glances-api
|
|
53
|
+
```
|
|
55
54
|
|
|
56
55
|
Usage
|
|
57
56
|
-----
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
python-glances-api
|
|
2
|
+
==================
|
|
3
|
+
|
|
4
|
+
A Python client for interacting with [Glances](https://nicolargo.github.io/glances/).
|
|
5
|
+
|
|
6
|
+
This module is not official, developed, supported or endorsed by Glances.
|
|
7
|
+
|
|
8
|
+
Installation
|
|
9
|
+
------------
|
|
10
|
+
|
|
11
|
+
The module is available from the [Python Package Index](https://pypi.python.org/pypi).
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
$ pip3 install glances_api
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Or on a Fedora-based system or on a CentOS/RHEL machine with has EPEL enabled.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
$ sudo dnf -y install python3-glances-api
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
For Nix or NixOS is[ pre-packed module](https://search.nixos.org/packages?channel=unstable&query=glances-api)
|
|
24
|
+
available. The latest release is usually present in the ``unstable`` channel.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
$ nix-env -iA nixos.python3Packages.glances-api
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Usage
|
|
31
|
+
-----
|
|
32
|
+
|
|
33
|
+
The file ``example.py`` contains an example about how to use this module.
|
|
34
|
+
|
|
35
|
+
License
|
|
36
|
+
-------
|
|
37
|
+
|
|
38
|
+
``python-glances-api`` is licensed under MIT, for more details check LICENSE.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "glances_api"
|
|
3
|
-
version = "0.9.
|
|
3
|
+
version = "0.9.1"
|
|
4
4
|
description = "Python API for interacting with Glances"
|
|
5
5
|
authors = ["Fabian Affolter <fabian@affolter-engineering.ch>"]
|
|
6
6
|
homepage = "https://github.com/home-assistant-ecosystem/python-glances-api"
|
|
7
7
|
repository = "https://github.com/home-assistant-ecosystem/python-glances-api/releases"
|
|
8
|
-
readme = "README.
|
|
8
|
+
readme = "README.md"
|
|
9
9
|
license = "MIT"
|
|
10
10
|
classifiers = [
|
|
11
11
|
"Development Status :: 3 - Alpha",
|
|
@@ -18,16 +18,16 @@ classifiers = [
|
|
|
18
18
|
]
|
|
19
19
|
|
|
20
20
|
[tool.poetry.dependencies]
|
|
21
|
-
python = "^3.
|
|
22
|
-
httpx = ">=0.
|
|
21
|
+
python = "^3.13"
|
|
22
|
+
httpx = ">=0.28,<1"
|
|
23
23
|
|
|
24
|
-
[tool.poetry.dev
|
|
25
|
-
black = "^
|
|
26
|
-
pytest = "^
|
|
27
|
-
pytest-httpx = ">0.
|
|
28
|
-
pytest-asyncio = "^
|
|
24
|
+
[tool.poetry.group.dev.dependencies]
|
|
25
|
+
black = "^26.3"
|
|
26
|
+
pytest = "^9"
|
|
27
|
+
pytest-httpx = ">0.35,<1"
|
|
28
|
+
pytest-asyncio = "^1.3.0"
|
|
29
29
|
isort = "^5.10.0"
|
|
30
|
-
mypy = "^0
|
|
30
|
+
mypy = "^1.20.0"
|
|
31
31
|
|
|
32
32
|
[tool.mypy]
|
|
33
33
|
check_untyped_defs = true
|
|
@@ -43,14 +43,6 @@ exclude = [
|
|
|
43
43
|
'pyproject.toml',
|
|
44
44
|
]
|
|
45
45
|
|
|
46
|
-
[[tool.mypy.overrides]]
|
|
47
|
-
module = "tests.*"
|
|
48
|
-
allow_untyped_defs = true
|
|
49
|
-
|
|
50
|
-
[[tool.mypy.overrides]]
|
|
51
|
-
module = "docs.*"
|
|
52
|
-
ignore_errors = true
|
|
53
|
-
|
|
54
46
|
[build-system]
|
|
55
47
|
requires = ["poetry-core>=1.0.0"]
|
|
56
48
|
build-backend = "poetry.core.masonry.api"
|
glances_api-0.9.0/README.rst
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
python-glances-api
|
|
2
|
-
==================
|
|
3
|
-
|
|
4
|
-
A Python client for interacting with `Glances <https://nicolargo.github.io/glances/>`_.
|
|
5
|
-
|
|
6
|
-
This module is not official, developed, supported or endorsed by Glances.
|
|
7
|
-
|
|
8
|
-
Installation
|
|
9
|
-
------------
|
|
10
|
-
|
|
11
|
-
The module is available from the `Python Package Index <https://pypi.python.org/pypi>`_.
|
|
12
|
-
|
|
13
|
-
.. code:: bash
|
|
14
|
-
|
|
15
|
-
$ pip3 install glances_api
|
|
16
|
-
|
|
17
|
-
Or on a Fedora-based system or on a CentOS/RHEL machine with has EPEL enabled.
|
|
18
|
-
|
|
19
|
-
.. code:: bash
|
|
20
|
-
|
|
21
|
-
$ sudo dnf -y install python3-glances-api
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
For Nix or NixOS is `pre-packed module <https://search.nixos.org/packages?channel=unstable&query=glances-api>`_
|
|
25
|
-
available. The lastest release is usually present in the ``unstable`` channel.
|
|
26
|
-
|
|
27
|
-
.. code:: bash
|
|
28
|
-
|
|
29
|
-
$ nix-env -iA nixos.python3Packages.glances-api
|
|
30
|
-
|
|
31
|
-
Usage
|
|
32
|
-
-----
|
|
33
|
-
|
|
34
|
-
The file ``example.py`` contains an example about how to use this module.
|
|
35
|
-
|
|
36
|
-
License
|
|
37
|
-
-------
|
|
38
|
-
|
|
39
|
-
``python-glances-api`` is licensed under MIT, for more details check LICENSE.
|
|
File without changes
|
|
File without changes
|