AutoDialer is an automation script designed to interact with routers using APIs.
Project description
AutoDialer
AutoDialer is a cross-platform Python CLI package for router APIs, designed to rotate public IP addresses automatically and streamline router interactions.
Why AutoDialer?
- Convenient IP rotation on dynamic lines without manual router reboot.
- Cross-platform (Windows, Linux, macOS, FreeBSD).
- CLI-first usage for scripts and automation.
Installation
Using pip (recommended)
pip install autodialer
Using uv
If you prefer uv for faster environment and dependency management:
# install from PyPI
uv tool install autodialer
# run directly
autodialer
For local development:
uv sync
uv pip install -e .
uv run autodialer --help
From source (development)
python -m venv .venv
# Windows (PowerShell)
. .\.venv\Scripts\Activate.ps1
# Linux/macOS
source .venv/bin/activate
python -m pip install -e .
Configuration
Create a .env file in your working directory:
| Variable | Description |
|---|---|
PANEL_PASSWORD |
Router panel password |
PPPOE_USERNAME |
ISP PPPoE username |
PPPOE_PASSWORD |
ISP PPPoE password |
ASN |
Target ASN (optional unless not using --force) |
Example:
PANEL_PASSWORD='your_router_panel_password'
PPPOE_USERNAME='your_pppoe_username'
PPPOE_PASSWORD='your_pppoe_password'
ASN='AS9929'
Usage
After installation, use the CLI directly:
autodialer
autodialer --force
autodialer --asn AS9929
autodialer-devices --tplink
Arguments:
-f,--force: force reconnection even if ASN is already matched.-a,--asn: target ASN (for exampleAS9929or9929).
Notes
- Current API payloads are primarily tailored for TP-Link router firmware behavior.
- Keep
.envprivate and never commit credentials.
Thanks for using AutoDialer.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autodialer-0.1.0.tar.gz.
File metadata
- Download URL: autodialer-0.1.0.tar.gz
- Upload date:
- Size: 44.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4aa4d02e53f0329f30cea04610601c13e576de244aca66314417a7924c4a1c05
|
|
| MD5 |
5382c74c00c51431b84ab9cd3062cfe9
|
|
| BLAKE2b-256 |
350a33f9e97f52e7eecf38f048041dbb19bd7109afea58bd6ef4a0023e9445b2
|
File details
Details for the file autodialer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: autodialer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 34.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3184f787957157be2f0cf8b536f04e05a420511d9fdf1f280c673ec75fe7bdc6
|
|
| MD5 |
74eec68f2030efa41d4e730c07882518
|
|
| BLAKE2b-256 |
cd63d2c6aa47fdaa88ac6bb0edce395c6d658fea034098cc3c81b97f91b1a737
|