Metadata-Version: 2.1
Name: net-analysis
Version: 1.0.0
Summary: A package for analyze you IP and fetch additional information like ISP and LAT-LON, CITY, COUNTRY, etc
Author: Sina
Author-email: sinaorojlo53@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: countryinfo
Requires-Dist: loguru
Requires-Dist: requests

# Net Analyzer

Net Analyzer 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 Analyzer using pip:

```bash
pip install net-analyzer
```

## Usage

```python
from net_analyzer import NetAnalyzer

# Initialize net_analyzer instance
NetAnalyzer("http://user:pass@12.34.567.89:12345")

# Retrieve network information
print("City:", analyzer.city)
print("Country:", analyzer.country)
print("IP Address:", analyzer.ip)
# More attributes available, such as state, time_zone, ISP, etc.

# Check for active proxies
proxy_name = analyzer.check_proxy()
if proxy_name:
    print("Active Proxy:", proxy_name)
else:
    print("No active proxy found.")

```

## Dependencies

- [requests](https://pypi.org/project/requests/): For making HTTP requests.
- [countryinfo](https://pypi.org/project/countryinfo/): For retrieving country information.
- [loguru](https://pypi.org/project/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](LICENSE) file for details.
