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 | Provenance | Actions |
|---|---|---|---|---|
| iwcs-0.0.4.tar.gz | 3.2 kB | Without provenance | Details for iwcs-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iwcs-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for iwcs-0.0.4-py3-none-any.whl |
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
|
Security for iwcs 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.