VPN & Proxy Detector
Project description
KavachNet
KavachNet is a lightweight, real-time IP intelligence tool that instantly flags VPNs, proxies, and cloud-hosted IPs. It recognizes addresses from major providers like AWS, Azure, and Google Cloud to help secure your application against anonymized traffic.Developed by Rishabh KRW.
Features
- Web Interface: A built-in Streamlit dashboard to check IPs visually.
- Python API: Easy-to-use functions to integrate into your own Python applications.
- Auto-Updates: Fetches the latest IP ranges from public sources (e.g., Azure Service Tags).
- Caching: Caches IP lists locally to improve performance and reduce network calls.
Installation
Install the package via pip:
pip install kavachnet
Usage
1. Web Interface (CLI)
To launch the interactive web dashboard:
kavachnet-web
2. Python API
You can use kavachnet directly in your Python scripts to check IP addresses.
from kavachnet import is_vpn_ip, refresh_cache
# Check a single IP
ip_to_check = "8.8.8.8"
result = is_vpn_ip(ip_to_check)
if result:
print(f"{ip_to_check} is a VPN/Data Center IP!")
else:
print(f"{ip_to_check} appears to be a residential or unknown IP.")
# Force update the local cache of VPN IP ranges
refresh_cache()
How It Works
KavachNet aggregates public IP ranges from major cloud hosting services and VPN services. When you check an IP, it verifies if the IP falls within these known subnets.Built and maintained by Rishabh KRW.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request on GitHub.
License
This project is licensed under the MIT License.
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
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 kavachnet-0.1.16.tar.gz.
File metadata
- Download URL: kavachnet-0.1.16.tar.gz
- Upload date:
- Size: 8.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28f8442f3dace76dd03d4d027af81ad5ec759c8028cf3ac81ec1c91e04f088b7
|
|
| MD5 |
734b7406333de07691dd21f8d96cf3e8
|
|
| BLAKE2b-256 |
847e0948bdcfe4398a3e7f5827baedd69c2c8026ee98b143d1d488da55780fdd
|
File details
Details for the file kavachnet-0.1.16-py3-none-any.whl.
File metadata
- Download URL: kavachnet-0.1.16-py3-none-any.whl
- Upload date:
- Size: 9.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
653fa3e7a68b925dc4f897584a5f956ee7d446dcb6da62bff8240af4b6299f4f
|
|
| MD5 |
5e39c619f353133033151e050a52264c
|
|
| BLAKE2b-256 |
1107418ba2525a386452270b6ab42647d2ab2051fc01bedb79a782d779aba418
|