nbforager 0.8.6__tar.gz → 0.8.7__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.
- {nbforager-0.8.6 → nbforager-0.8.7}/PKG-INFO +2 -2
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/ipv4.py +11 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/pyproject.toml +2 -2
- {nbforager-0.8.6 → nbforager-0.8.7}/LICENSE.txt +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/README.rst +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/__init__.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/__init__.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/base_ac.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/base_c.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/circuits.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/connector.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/core.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/dcim.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/extended_get.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/extras.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/ip_addresses.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/ipam.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/plugins_ca.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/status.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/tenancy.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/users.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/virtualization.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/api/wireless.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/constants.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/exceptions.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/__init__.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/base_fa.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/circuits.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/core.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/dcim.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/extras.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/forager.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/ipam.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/joiner.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/tenancy.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/users.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/virtualization.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/foragers/wireless.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/helpers.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/log.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/messages.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/nb_api.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/nb_cache.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/nb_forager.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/nb_tree.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/parser/__init__.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/parser/nb_custom.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/parser/nb_parser.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/parser/nb_value.py +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/py.typed +0 -0
- {nbforager-0.8.6 → nbforager-0.8.7}/nbforager/types_.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: nbforager
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.7
|
4
4
|
Summary: Python package designed to assist in working with the Netbox REST API. The filter parameters are identical to those in the Web UI filter form. It replaces brief data with full information, and Netbox objects are represented as a recursive multidimensional dictionary.
|
5
5
|
License: Apache-2.0
|
6
6
|
Keywords: netbox
|
@@ -22,7 +22,7 @@ Requires-Dist: requests (>=2,<3)
|
|
22
22
|
Requires-Dist: tabulate (>=0.9,<0.10)
|
23
23
|
Requires-Dist: vhelpers (>=0.3)
|
24
24
|
Project-URL: Bug Tracker, https://github.com/vladimirs-git/nbforager/issues
|
25
|
-
Project-URL: Download URL, https://github.com/vladimirs-git/nbforager/archive/refs/tags/0.8.
|
25
|
+
Project-URL: Download URL, https://github.com/vladimirs-git/nbforager/archive/refs/tags/0.8.7.tar.gz
|
26
26
|
Project-URL: homepage, https://github.com/vladimirs-git/nbforager
|
27
27
|
Project-URL: repository, https://github.com/vladimirs-git/nbforager
|
28
28
|
Description-Content-Type: text/x-rst
|
@@ -69,6 +69,17 @@ class IPv4:
|
|
69
69
|
"""IPv4 address with prefixlen, A.B.C.D/LEN."""
|
70
70
|
return str(self.interface.with_prefixlen)
|
71
71
|
|
72
|
+
@property
|
73
|
+
def is_private(self) -> bool:
|
74
|
+
"""IPv4 address is private."""
|
75
|
+
return bool(self.interface.ip.is_private)
|
76
|
+
|
77
|
+
@property
|
78
|
+
def prefixlen(self) -> int:
|
79
|
+
"""IPv4 network with prefixlen, A.B.C.D/LEN."""
|
80
|
+
return self.interface.network.prefixlen
|
81
|
+
|
82
|
+
|
72
83
|
@property
|
73
84
|
def net(self) -> str:
|
74
85
|
"""IPv4 network with prefixlen, A.B.C.D/LEN."""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "nbforager"
|
3
|
-
version = "0.8.
|
3
|
+
version = "0.8.7"
|
4
4
|
description = "Python package designed to assist in working with the Netbox REST API. The filter parameters are identical to those in the Web UI filter form. It replaces brief data with full information, and Netbox objects are represented as a recursive multidimensional dictionary."
|
5
5
|
authors = ["Vladimirs Prusakovs <vladimir.prusakovs@gmail.com>"]
|
6
6
|
readme = "README.rst"
|
@@ -19,7 +19,7 @@ classifiers = [
|
|
19
19
|
homepage = "https://github.com/vladimirs-git/nbforager"
|
20
20
|
repository = "https://github.com/vladimirs-git/nbforager"
|
21
21
|
"Bug Tracker" = "https://github.com/vladimirs-git/nbforager/issues"
|
22
|
-
"Download URL" = "https://github.com/vladimirs-git/nbforager/archive/refs/tags/0.8.
|
22
|
+
"Download URL" = "https://github.com/vladimirs-git/nbforager/archive/refs/tags/0.8.7.tar.gz"
|
23
23
|
|
24
24
|
[tool.poetry.dependencies]
|
25
25
|
python = "^3.11"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|