Skip to main content

A package for analyze you IP and fetch additional information like ISP and LAT-LON, CITY, COUNTRY, etc

Project description

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:

pip install net-analyzer

Usage

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

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.

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

net_analysis-1.0.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

net_analysis-1.0.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file net_analysis-1.0.0.tar.gz.

File metadata

  • Download URL: net_analysis-1.0.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for net_analysis-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f80e84c500c81f8fbb02fecf1a76cc92fcca0e6653d69176ba42f41b9e5e0655
MD5 1634df121faace38106b1a378ebf5b5e
BLAKE2b-256 87a3b79c5ba91093266aa248d785990a525d77f0c3ee82ac0b22ff487ecbfbc1

See more details on using hashes here.

File details

Details for the file net_analysis-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: net_analysis-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for net_analysis-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 facea817cd23d94cd148515bcbc685b0836b92d4b1fea9b07c4bf81d36b13b56
MD5 3973541d15a0cf1bfcd1e9d2a80f986a
BLAKE2b-256 bcecbdf20f6d4cb96823362827c0becd40d09b47252148e69c7ae0760f395def

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page