{"id":24607965,"url":"https://github.com/goblenus/pyaccesspoint","last_synced_at":"2025-05-05T22:24:46.761Z","repository":{"id":15522201,"uuid":"77708464","full_name":"Goblenus/pyaccesspoint","owner":"Goblenus","description":"Package to manage accesspoint on linux","archived":false,"fork":false,"pushed_at":"2022-05-05T17:53:57.000Z","size":182,"stargazers_count":34,"open_issues_count":8,"forks_count":18,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T13:06:12.529Z","etag":null,"topics":["access-point","accesspoint","python3","wifi-hotspot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"prahladyeri/hotspotd","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Goblenus.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-30T20:22:30.000Z","updated_at":"2024-08-10T17:35:53.000Z","dependencies_parsed_at":"2022-08-08T11:30:14.114Z","dependency_job_id":null,"html_url":"https://github.com/Goblenus/pyaccesspoint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goblenus%2Fpyaccesspoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goblenus%2Fpyaccesspoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goblenus%2Fpyaccesspoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goblenus%2Fpyaccesspoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Goblenus","download_url":"https://codeload.github.com/Goblenus/pyaccesspoint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584954,"owners_count":21772056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["access-point","accesspoint","python3","wifi-hotspot"],"created_at":"2025-01-24T17:49:24.110Z","updated_at":"2025-05-05T22:24:46.742Z","avatar_url":"https://github.com/Goblenus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\r============\r\r*PyAccessPoint* is a package to create a wifi access point on linux. Itdepends on *hostapd* for AP provisioning and *dnsmasq* to assign IP addresses to devices.\r\rDependencies\r============\r\rSo, there 2 types of dependencies. \r\rSystem dependencies:\r    - dnsmasq\r    - hostapd \r    - python3\r\rPython dependencies\r    - wireless\r    - netifaces\r    - psutil\r\rYou can not install python dependencies manually, they will be installed while installing the package. \rIf you want to do it manually, just type (or copy, it's better way :D)\r\r::\r\r    sudo apt install python3-dev python3-pip \u0026\u0026 sudo pip3 install wireless netifaces psutil\r\rInstallation\r============\r\rEasy way by using pip\r::\r\r    sudo apt update \u0026\u0026 sudo apt --yes --force-yes install dnsmasq hostapd python3-dev python3-pip \u0026\u0026 sudo pip3 install pyaccesspoint\r\rHard way\r\r1. Install system dependencies\r   ::\r\r       sudo apt update \u0026\u0026 sudo apt --yes --force-yes install dnsmasq hostapd python3-dev unzip python3-pip\r\r2. Download latest package\r   ::\r\r       cd ~ \u0026\u0026 wget --output-document=pyaccesspoint-master.zip https://github.com/Goblenus/pyaccesspoint/archive/master.zip\r\r3. Unpack downloaded package\r   ::\r\r       unzip pyaccesspoint-master.zip \u0026\u0026 cd pyaccesspoint-master\r\r4. Install it\r   ::\r\r       sudo python3 setup.py install\r\r5. Remove files\r   ::\r\r       cd ~ \u0026\u0026 sudo rm -rf pyaccesspoint-master.zip pyaccesspoint-master\r\rThat is all. Now you can use PyAccessPoint.\r\rOne line install:\r\r::\r\r    sudo apt update \u0026\u0026 sudo apt --yes --force-yes install dnsmasq hostapd python3-dev unzip python3-pip \u0026\u0026 cd ~ \u0026\u0026 wget --output-document=pyaccesspoint-master.zip https://github.com/Goblenus/pyaccesspoint/archive/master.zip \u0026\u0026 unzip pyaccesspoint-master.zip \u0026\u0026 cd pyaccesspoint-master \u0026\u0026 sudo python3 setup.py install \u0026\u0026 cd ~ \u0026\u0026 sudo rm -rf pyaccesspoint-master.zip pyaccesspoint-master\r\rUsage\r=====\r\rYou can use it as standalone command line utility:\rTo start\r::\r\r    sudo pyaccesspoint start\r\rIt will create hotspot named \"MyAccessPoint\" on wlan0 with \"1234567890\" password.\r\rAll arguments you may obtain by typing:\r::\r\r    pyaccesspoint --help\r\rTo stop\r::\r\r    sudo pyaccesspoint stop\r\rYou can configure and save config file. This will save you time at them next start\r\r::\r\r    sudo pyaccesspoint configure\r\rYou config file file will be placed at /etc/accesspoint/accesspoint.json. \rTo start it with config file just type:\r::\r\r    sudo pyaccesspoint --config start\r\rCode usage\r============\r\r1. Import\r   ::\r\r       from PyAccessPoint import pyaccesspoint\r\r2. Create AccessPoint class\r   ::\r\r        access_point = pyaccesspoint.AccessPoint()\r\r3. Start it\r   ::\r\r        access_point.start()\r\r4. Stop it\r   ::\r\r        access_point.stop()\r\rTo check is accesspoint started use is_running\r   ::\r\r        access_point.is_running()\r\rYou can change accesspoint parameters while creating AccessPoint class\r\rClass parameters:\r    - **wlan** - wlan interface\r    - **inet** - wlan forward to interface (use None to off forwarding)\r    - **ip** - just ip of your accesspoint wlan interface\r    - **netmask** - so... -\u003e (`wiki link \u003chttps://en.wikipedia.org/wiki/Subnetwork\u003e`_)\r    - **ssid** - name of your accesspoint\r    - **password** - password of your accesspoint\r\rTested\r======\r\r-  OrangePi Plus with Armbian 5.23\r\rNote\r====\r\rThis project is python3 compatible only, python2 is not tested at all.\r\rIdea\r====\r\rThis project is fork of https://github.com/prahladyeri/hotspotd (Prahlad Yeri - prahladyeri@yahoo.com)\r\r","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoblenus%2Fpyaccesspoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoblenus%2Fpyaccesspoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoblenus%2Fpyaccesspoint/lists"}