python lib of best403unlocker
Project description
Best 403 Unlocker (Python Version)
Key Differences and Features of the Python Version
The Python version of the 403 unlocker tool, available in here, has several key features:
Python-based Implementation
Built using Python's robust networking libraries and tools, providing excellent DNS handling capabilities and cross-platform support.
Cross-platform Support
Thanks to Python's portability, this project supports:
- Windows (manual DNS configuration required)
- Linux (automatic configuration)
- macOS (automatic configuration)
Features
- Automated DNS speed testing
- Progress bar visualization
- Config file support
- Both CLI and interactive modes
How to Run the Python Version
Method 1 - Using pip (recommended)
pip install best403unlocker_py
Method 2 - Using poetry (NOT recommended)
Prerequisites
- Python 3.8 or higher
- Poetry package manager
- Administrative/root privileges (required for DNS configuration)
Installation
- Clone the repository:
git clone https://github.com/403unlocker/best403unlocker-py.git
cd best403unlocker-py
- Install dependencies using Poetry:
poetry install
Usage
Default Interactive Mode
This will:
- Test all configured DNS servers
- Display a progress bar during testing
- Show results in a table format
- Prompt to apply the fastest DNS server
Command Line Options
-
Test DNS servers with applying:
unlock403 [--url URL]
-
Test DNS servers without applying:
unlock403 search-dns [--url URL]
-
Set custom DNS servers:
unlock403 set-custom-dns 8.8.8.8 8.8.4.4
Examples Find fastest DNS for a specific domain:
- Default mode searche and set:
unlock403
- Default mode searche and set with specific URL:
unlock403 --url developers.google.com
- search with default url for dns:
unlock403 search-dns
- search with custom url url for dns
unlock403 search-dns --url developers.google.com
Credit
Original concept by Arman Taheri
Contact
Feel free to open issues and PRs on GitHub.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file best403unlocker_py-0.0.1.tar.gz
.
File metadata
- Download URL: best403unlocker_py-0.0.1.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.0rc3 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e869776bf21064f31bdae6d758174206bda47a6991b40bc75a7dde13ffb9f18 |
|
MD5 | b49a5e35075d3201793e30c97c6c8670 |
|
BLAKE2b-256 | b425410a6c79253054af59939e0adfc76def2ceafb2475c5a1010409dfa23b0c |
File details
Details for the file best403unlocker_py-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: best403unlocker_py-0.0.1-py3-none-any.whl
- Upload date:
- Size: 32.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.0rc3 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f32731b428972b9de9dab916ddafab5db9bdc05c7d7f52aed67a5295b48bb27 |
|
MD5 | a893f6e9062d52f2c472c7e495921269 |
|
BLAKE2b-256 | 111a22737bb620caeb65efb35e04602acd2e8bb88d4cb8b931ef7dec834d6971 |