Net Analysis
Net Analysis is a Python package that provides utilities for analyzing network information including IP lookup, proxy detection, and more.
Features
- IP Lookup: Analyze IP addresses to retrieve details such as country, city, state, time zone, ISP, and more.
- Proxy Detection: Detect active proxies and retrieve information about them.
- User-Agent Customization: Ability to set custom User-Agent headers for HTTP requests.
Installation
You can install Net Analysis using pip:
pip install net-analysis
Usage
from net_analysis import NetAnalysis
# Initialize net_Analysis instance
Analysis = NetAnalysis("http://user:pass@12.34.567.89:12345")
# Retrieve network information
print("City:", Analysis.city)
print("Country:", Analysis.country)
print("IP Address:", Analysis.ip)
# More attributes available, such as state, time_zone, ISP, etc.
# Check for active proxies
proxy_name = Analysis.check_proxy()
if proxy_name:
print("Active Proxy:", proxy_name)
else:
print("No active proxy found.")
Dependencies
- requests: For making HTTP requests.
- countryinfo: For retrieving country information.
- loguru: For logging.
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Release files for net-analysis 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| net_analysis-1.0.1.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| net_analysis-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / net_analysis-1.0.1.tar.gz
| Download URL | net_analysis-1.0.1.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ffc9bb161ac9fd0e230eeb2b941228267f9a2bcdfdaee48a036f93264e62716
|
|
BLAKE2b-256 checksum How to use checksums |
1346214e032c599eb9a9817885f937870842a35f03ec8dc078c7ca77ac0de4fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / net_analysis-1.0.1-py3-none-any.whl
| Download URL | net_analysis-1.0.1-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4691ce6359e95fb5d4879c047200b70702b9e1665fa41a818a19912c9ac0f937
|
|
BLAKE2b-256 checksum How to use checksums |
f3621266b5562a939a0a958cc227421111a6148b9c683aed788c7a5ae0e21e32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|