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 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

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.1.tar.gz (6.9 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.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: net_analysis-1.0.1.tar.gz
  • Upload date:
  • Size: 6.9 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.1.tar.gz
Algorithm Hash digest
SHA256 1ffc9bb161ac9fd0e230eeb2b941228267f9a2bcdfdaee48a036f93264e62716
MD5 022533f10bbeb6b214346dea58805740
BLAKE2b-256 1346214e032c599eb9a9817885f937870842a35f03ec8dc078c7ca77ac0de4fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: net_analysis-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4691ce6359e95fb5d4879c047200b70702b9e1665fa41a818a19912c9ac0f937
MD5 00f921016a811c343ba1d625aa274321
BLAKE2b-256 f3621266b5562a939a0a958cc227421111a6148b9c683aed788c7a5ae0e21e32

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