Skip to main content

A Wi-fi Mangement tool for Linux , which is developed using Nmcli

Project description

wifimangement_linux

forthebadge made-with-python

Python 3.9
its only and only for Linux and Unix ,work with Nmcli . basic wifi or network tool controlling with python

Note => its not work with any Windows os

what is wifimangement_linux ?

its an python module . Its use for network or wifi controlling tool for Linux/unix . That prove many function such as enable, disable and connect ..etc . Its give full acces in python to handle system wifi.

Installation

Open terminal

sudo pip3 install wifimangement_linux

Function

Note:- Before use import moduls like below way :

import wifimangement_linux as wifi 

Disable Wifi

to Disable(off) the wifi

wifi.off()

Enable Wifi

to enable(on) the wifi

wifi.on()

Connect

Connect the wifi to network(name as wifi-name or your wifi name ) if the password already there

wifi.connect("wifi-name")

connect the wifi to network(name as wifi-name with password)

wifi.connect("wifi-name","wifi-password")

Scan

scan local wi-fi network

 wifi.scan()

list

get list of scan network

wifi.list()

share

share a connect wifi (information and password)

wifi.share()

share a connect wifi (information and password) with qr code

wifi.share("qr")

it return connect wifi password (pass=wifi.share("psk")) it store password in pass)

wifi.share("psk")

Hospot

it create hostop (with name as hostop-name and password as password ) =>note:- to off hostop and turn on wifi use (wifi.on())

wifi.hostop("hostop-name","password")

Interface List

it return list out all interface in pc

wifi.interface_list()

Interface Status

it return interfac stutus in pc

wifi.interface_status()

Interface Config

it return interfac configration in pc

wifi.interface_config()

it return interfac configration at certain interface in pc

wifi.interface_config("interface")

Gateway

return gateway of router (its an ip address of router)

wifi.gateway()

Ip Address

return ip addres of pc

wifi.ip()

Store

its return wifi and they password in dictory type

wifi.store()

print table

its print all saved wifi and password in nice table format

wifi.printpsk()

License

Requirement

Install python3 on pc:-

🔗 Links

linkedin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wifimangement_linux-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

wifimangement_linux-0.0.1-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page