IWCS - WiFi Client Stats Utility
This utility collects statistics of WiFi clients connected to a specified interface on your system.
Prerequisites
Ensure that the iw command-line tool is installed on your system. If not, you can install it using the following command:
sudo apt-get install iw
Usage
Python Function
You can use the provided Python function info(interface) to collect WiFi client statistics.
from iwcs import info
# Replace 'wlan0' with your wireless interface if necessary
stats = info(interface='wlan0')
print(stats)
The function returns a dictionary containing connection stats for each connected client identified by their MAC address.
Example
from iwcs import info
interface = "wlan0" # Replace with your wireless interface
connected_clients_info = info(interface)
print(connected_clients_info)
Output
The output is a dictionary where each key represents a MAC address of a connected client. The corresponding value is another dictionary containing various statistics such as inactive time, received bytes, transmitted bytes, signal level, etc.
License
This project is licensed under the terms of the MIT license. See the LICENSE file for details.
Metadata
Release files for iwcs 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iwcs-0.0.4.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iwcs-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / iwcs-0.0.4.tar.gz
| Download URL | iwcs-0.0.4.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1b7e2f23553dc5f148227816e717c3d7535f2416290e614d307466c48e72278
|
|
BLAKE2b-256 checksum How to use checksums |
70c77b28f5975a368cdf30543a498ee3b8545386d44a15f6840dfe4cc29f7122
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / iwcs-0.0.4-py3-none-any.whl
| Download URL | iwcs-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c73512fc984ced0e0eb903203baac64197df95b19080ee8df14c57186d5936a9
|
|
BLAKE2b-256 checksum How to use checksums |
2244e6543a9a02c79c69a307acbbc7e7bd90e9add60a7baeb032c25627b10640
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|