isimud 0.2__tar.gz → 0.3__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.
isimud-0.3/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Carlos A. Planchón
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
isimud-0.3/PKG-INFO ADDED
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.4
2
+ Name: isimud
3
+ Version: 0.3
4
+ Summary: Package to get commonly used details of the network interface and access points you are using.
5
+ Author-email: "Carlos A. Planchón" <carlosandresplanchonprestes@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Repository, https://github.com/carlosplanchon/isimud
8
+ Keywords: isimud,sensors,wifi,networking
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Topic :: Software Development :: Build Tools
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Python: >=3.9
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: netifaces
22
+ Requires-Dist: pyroute2
23
+ Dynamic: license-file
24
+
25
+ # Isimud
26
+ *Package to get commonly used details of the network interface and access points you are using.*
27
+
28
+ ## Installation
29
+ ### Install with uv:
30
+ ```
31
+ uv add isimud
32
+ ```
33
+
34
+ ## Features
35
+
36
+ - Get loopback, ethernet and wifi interfaces.
37
+ - Get operstate, mac_address, recv and sent bytes of an interface.
38
+ - Get ESSID, signal percent and MAC address of an interface.
39
+
40
+ ## Usage
41
+ ```
42
+ In [3]: import isimud
43
+
44
+ In [4]: isimud.get_eth_interfaces()
45
+
46
+ Out[4]: ['enp9s0']
47
+ ```
@@ -1,19 +1,19 @@
1
- # isimud
1
+ # Isimud
2
2
  *Package to get commonly used details of the network interface and access points you are using.*
3
3
 
4
- ## installation
5
- ### install with pip
4
+ ## Installation
5
+ ### Install with uv:
6
6
  ```
7
- pip3 install -U isimud
7
+ uv add isimud
8
8
  ```
9
9
 
10
- ## features
10
+ ## Features
11
11
 
12
12
  - Get loopback, ethernet and wifi interfaces.
13
13
  - Get operstate, mac_address, recv and sent bytes of an interface.
14
14
  - Get ESSID, signal percent and MAC address of an interface.
15
15
 
16
- ## usage
16
+ ## Usage
17
17
  ```
18
18
  In [3]: import isimud
19
19
 
@@ -79,6 +79,7 @@ def __get_interface_stats(interface: str) -> Any:
79
79
 
80
80
  def interface_operstate(interface: str) -> Optional[str]:
81
81
  """
82
+ Get the operstate of an interface.
82
83
 
83
84
  :param interface: str: Network interface.
84
85
 
@@ -97,6 +98,7 @@ def interface_operstate(interface: str) -> Optional[str]:
97
98
 
98
99
  def interface_mac_address(interface: str) -> str:
99
100
  """
101
+ Get the MAC address of an interface.
100
102
 
101
103
  :param interface: str: Network interface.
102
104
 
@@ -107,6 +109,7 @@ def interface_mac_address(interface: str) -> str:
107
109
 
108
110
  def interface_recv_bytes(interface: str) -> int:
109
111
  """
112
+ Get the recv bytes of an interface.
110
113
 
111
114
  :param interface: str: Network interface.
112
115
 
@@ -116,6 +119,7 @@ def interface_recv_bytes(interface: str) -> int:
116
119
 
117
120
  def interface_sent_bytes(interface: str) -> int:
118
121
  """
122
+ Get the sent bytes of an interface.
119
123
 
120
124
  :param interface: str: Network interface.
121
125
 
@@ -125,6 +129,7 @@ def interface_sent_bytes(interface: str) -> int:
125
129
 
126
130
  def access_point_essid(interface: str) -> Optional[str]:
127
131
  """
132
+ Get the AP ESSID.
128
133
 
129
134
  :param interface: str: Network interface.
130
135
 
@@ -139,6 +144,7 @@ def access_point_essid(interface: str) -> Optional[str]:
139
144
 
140
145
  def access_point_signal_percent(interface: str) -> Optional[int]:
141
146
  """
147
+ Get the AP Signal percent.
142
148
 
143
149
  :param interface: str: Network interface.
144
150
 
@@ -153,6 +159,7 @@ def access_point_signal_percent(interface: str) -> Optional[int]:
153
159
 
154
160
  def access_point_mac_address(interface: str) -> Optional[str]:
155
161
  """
162
+ Get the AP MAC.
156
163
 
157
164
  :param interface: str: Network interface.
158
165
 
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.4
2
+ Name: isimud
3
+ Version: 0.3
4
+ Summary: Package to get commonly used details of the network interface and access points you are using.
5
+ Author-email: "Carlos A. Planchón" <carlosandresplanchonprestes@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Repository, https://github.com/carlosplanchon/isimud
8
+ Keywords: isimud,sensors,wifi,networking
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Topic :: Software Development :: Build Tools
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Python: >=3.9
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: netifaces
22
+ Requires-Dist: pyroute2
23
+ Dynamic: license-file
24
+
25
+ # Isimud
26
+ *Package to get commonly used details of the network interface and access points you are using.*
27
+
28
+ ## Installation
29
+ ### Install with uv:
30
+ ```
31
+ uv add isimud
32
+ ```
33
+
34
+ ## Features
35
+
36
+ - Get loopback, ethernet and wifi interfaces.
37
+ - Get operstate, mac_address, recv and sent bytes of an interface.
38
+ - Get ESSID, signal percent and MAC address of an interface.
39
+
40
+ ## Usage
41
+ ```
42
+ In [3]: import isimud
43
+
44
+ In [4]: isimud.get_eth_interfaces()
45
+
46
+ Out[4]: ['enp9s0']
47
+ ```
@@ -1,5 +1,6 @@
1
+ LICENSE
1
2
  README.md
2
- setup.py
3
+ pyproject.toml
3
4
  isimud/__init__.py
4
5
  isimud/isimud.py
5
6
  isimud.egg-info/PKG-INFO
@@ -0,0 +1,36 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77.0.3", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "isimud"
7
+ version = "0.3"
8
+ description = "Package to get commonly used details of the network interface and access points you are using."
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ authors = [
12
+ {name = "Carlos A. Planchón", email = "carlosandresplanchonprestes@gmail.com"}
13
+ ]
14
+ keywords = ["isimud", "sensors", "wifi", "networking"]
15
+ classifiers = [
16
+ "Intended Audience :: Developers",
17
+ "Topic :: Software Development :: Build Tools",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.9",
20
+ "Programming Language :: Python :: 3.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14"
25
+ ]
26
+ requires-python = ">=3.9"
27
+ dependencies = [
28
+ "netifaces",
29
+ "pyroute2",
30
+ ]
31
+
32
+ [project.urls]
33
+ Repository = "https://github.com/carlosplanchon/isimud"
34
+
35
+ [tool.setuptools]
36
+ packages = ["isimud"]
isimud-0.2/PKG-INFO DELETED
@@ -1,44 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: isimud
3
- Version: 0.2
4
- Summary: Package to get commonly used details of the network interface and access points you are using..
5
- Home-page: https://github.com/carlosplanchon/isimud
6
- Author: Carlos A. Planchón
7
- Author-email: bubbledoloresuruguay2@gmail.com
8
- License: GPL3
9
- Download-URL: https://github.com/carlosplanchon/isimud/archive/v0.2.tar.gz
10
- Description: # isimud
11
- *Package to get commonly used details of the network interface and access points you are using.*
12
-
13
- ## installation
14
- ### install with pip
15
- ```
16
- pip3 install -U isimud
17
- ```
18
-
19
- ## features
20
-
21
- - Get loopback, ethernet and wifi interfaces.
22
- - Get operstate, mac_address, recv and sent bytes of an interface.
23
- - Get ESSID, signal percent and MAC address of an interface.
24
-
25
- ## usage
26
- ```
27
- In [3]: import isimud
28
-
29
- In [4]: isimud.get_eth_interfaces()
30
-
31
- Out[4]: ['enp9s0']
32
- ```
33
-
34
- Keywords: isimud,sensors,wifi,networking
35
- Platform: UNKNOWN
36
- Classifier: Intended Audience :: Developers
37
- Classifier: Topic :: Software Development :: Build Tools
38
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
39
- Classifier: Programming Language :: Python :: 3
40
- Classifier: Programming Language :: Python :: 3.4
41
- Classifier: Programming Language :: Python :: 3.5
42
- Classifier: Programming Language :: Python :: 3.6
43
- Classifier: Programming Language :: Python :: 3.7
44
- Description-Content-Type: text/markdown
@@ -1,44 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: isimud
3
- Version: 0.2
4
- Summary: Package to get commonly used details of the network interface and access points you are using..
5
- Home-page: https://github.com/carlosplanchon/isimud
6
- Author: Carlos A. Planchón
7
- Author-email: bubbledoloresuruguay2@gmail.com
8
- License: GPL3
9
- Download-URL: https://github.com/carlosplanchon/isimud/archive/v0.2.tar.gz
10
- Description: # isimud
11
- *Package to get commonly used details of the network interface and access points you are using.*
12
-
13
- ## installation
14
- ### install with pip
15
- ```
16
- pip3 install -U isimud
17
- ```
18
-
19
- ## features
20
-
21
- - Get loopback, ethernet and wifi interfaces.
22
- - Get operstate, mac_address, recv and sent bytes of an interface.
23
- - Get ESSID, signal percent and MAC address of an interface.
24
-
25
- ## usage
26
- ```
27
- In [3]: import isimud
28
-
29
- In [4]: isimud.get_eth_interfaces()
30
-
31
- Out[4]: ['enp9s0']
32
- ```
33
-
34
- Keywords: isimud,sensors,wifi,networking
35
- Platform: UNKNOWN
36
- Classifier: Intended Audience :: Developers
37
- Classifier: Topic :: Software Development :: Build Tools
38
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
39
- Classifier: Programming Language :: Python :: 3
40
- Classifier: Programming Language :: Python :: 3.4
41
- Classifier: Programming Language :: Python :: 3.5
42
- Classifier: Programming Language :: Python :: 3.6
43
- Classifier: Programming Language :: Python :: 3.7
44
- Description-Content-Type: text/markdown
isimud-0.2/setup.py DELETED
@@ -1,38 +0,0 @@
1
- #!/usr/bin/env python3
2
-
3
- import setuptools
4
-
5
-
6
- with open("README.md", "r") as fh:
7
- long_description = fh.read()
8
-
9
- setuptools.setup(
10
- name="isimud",
11
- packages=["isimud"],
12
- version="0.2",
13
- license="GPL3",
14
- description="Package to get commonly used details of the network "
15
- "interface and access points you are using..",
16
- long_description=long_description,
17
- long_description_content_type="text/markdown",
18
- author="Carlos A. Planchón",
19
- author_email="bubbledoloresuruguay2@gmail.com",
20
- url="https://github.com/carlosplanchon/isimud",
21
- download_url="https://github.com/carlosplanchon/"
22
- "isimud/archive/v0.2.tar.gz",
23
- keywords=["isimud", "sensors", "wifi", "networking"],
24
- install_requires=[
25
- "netifaces",
26
- "pyroute2"
27
- ],
28
- classifiers=[
29
- "Intended Audience :: Developers",
30
- "Topic :: Software Development :: Build Tools",
31
- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
32
- "Programming Language :: Python :: 3",
33
- "Programming Language :: Python :: 3.4",
34
- "Programming Language :: Python :: 3.5",
35
- "Programming Language :: Python :: 3.6",
36
- "Programming Language :: Python :: 3.7",
37
- ],
38
- )
File without changes
File without changes
File without changes
File without changes