Git Product home page Git Product logo

ipo's Introduction

IPo (IP Optimization)

About the Project

This Python script was developed to help obtain and display detailed information about IP addresses, whether for your own IP, a network IP, or a specific website. It uses the ipapi.co API to retrieve information and the Rich library to display it clearly and organisedly.

Features

The code consists of several functions to fetch and display IP information:

  1. get_ip_info: Fetches IP information from the ipapi.co API.
  2. get_site_ip_info: Resolves the IP address of a website and fetches detailed information about it.
  3. display_ip_info: Displays the IP information in a table using the Rich library.

Usage

To use the script, follow these steps:

  1. Ensure you have Python installed on your system.
  2. Save the Python script ipo.py in a directory of your choice.
  3. Open a terminal or command prompt and navigate to the directory where the script is located.
  4. Run the script by typing python ipo.py in the terminal.
  5. Follow the on-screen instructions to select the desired option:
    • 1 for local IP information.
    • 2 for network IP information.
    • 3 for specific website IP information.
  6. Detailed information about the IP will be displayed in a table in the terminal.

Requirements

  • Python 3.x
  • Python Libraries: requests, rich

You can install the required libraries using the following command:

pip install requests rich

Licence

  • Attribution 4.0 International (CC BY 4.0)

Author

Donations

If this script has been helpful for you, consider making a donation to support our work:

  • $USDT (TRC-20): TP6zpvjt2ZNGfWKPevfp65ZrcbKMWSQXDi

Your donations help us continue developing useful and innovative tools.

About Takk™ Innovate Studio

Positive results, rapid innovation. Leading the Digital Revolution as the Pioneering 100% Artificial Intelligence Team.

ipo's People

Contributors

takk8is avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.