IPSpot: A Python Library for IP and Geolocation Data Retrieval
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
IPSpot is a powerful Python library designed to retrieve both public and private IPv4 and IPv6 addresses. It also provides detailed geolocation data, such as region, longitude, and latitude, using a reliable fallback mechanism across multiple API providers. This makes it an essential tool for network monitoring and location-based lookups directly from your system.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
IPSpot is a robust Python library developed by openscilab, offering a streamlined way to retrieve comprehensive IP address information. It supports both public and private IPv4 and IPv6 addresses, along with detailed geolocation data including country, city, region, latitude, and longitude. Designed with a simple and modular structure, IPSpot ensures reliable data retrieval through its intelligent fallback mechanism across various API providers. Whether you need to monitor network details or perform quick IP lookups, IPSpot provides an efficient solution directly from your machine.
Installation
IPSpot can be easily installed using pip:
pip install ipspot
For specific versions or to install from source, refer to the official GitHub repository.
Examples
IPSpot offers both a Python library for programmatic access and a command-line interface (CLI) for quick lookups.
Library Usage
Retrieve Public IPv4 with Geolocation:
from ipspot import get_public_ipv4, IPv4API
# Get public IPv4 address and basic API info
print(get_public_ipv4(api=IPv4API.IP_API_COM))
# Get public IPv4 with detailed geolocation data
print(get_public_ipv4(api=IPv4API.IP_API_COM, geo=True, timeout=10))
Retrieve Private IPv4:
from ipspot import get_private_ipv4
print(get_private_ipv4())
Retrieve Public IPv6 with Geolocation:
from ipspot import get_public_ipv6, IPv6API
# Get public IPv6 address and basic API info
print(get_public_ipv6(api=IPv6API.IP_SB))
# Get public IPv6 with detailed geolocation data
print(get_public_ipv6(api=IPv6API.IP_SB, geo=True, timeout=10))
Retrieve Private IPv6:
from ipspot import get_private_ipv6
print(get_private_ipv6())
CLI Usage
Basic IP and Geolocation Info:
ipspot
Get Version:
ipspot --version
Disable Geolocation Data:
ipspot --no-geo
Why Use IPSpot?
IPSpot stands out for several reasons:
- Comprehensive Data: It provides both public and private IPv4/IPv6 addresses, along with rich geolocation details.
- Reliability: Utilizes multiple API providers with a fallback mechanism, ensuring consistent data retrieval even if one service is down.
- Ease of Use: With a simple API and a straightforward CLI, it's easy to integrate into your projects or use for quick checks.
- Flexibility: Allows specifying preferred API providers and offers options to include or exclude geolocation data.
- Open Source: Being an open-source project, it benefits from community contributions and transparency.
Links
- GitHub Repository: https://github.com/openscilab/ipspot
- PyPI: https://pypi.org/project/ipspot/
- Discord Channel: https://discord.gg/yyDV3T4cwU
- Support the Project: https://openscilab.com/#donation
Related repositories
Similar repositories that may be relevant next.
AutoResearch: AI/ML Research Agents from Idea to Paper-Ready Evidence
September 22, 2026
AutoResearch is an open-source agent workflow designed for AI and machine learning research. It automates the entire research process, from generating ideas and planning experiments to execution, analysis, and independent evaluation. This project helps researchers produce paper-ready evidence efficiently and with traceable provenance.
HarnessRouter: Unified Interface for AI Agent Harnesses
September 22, 2026
HarnessRouter Community Edition provides a self-hosted, Apache-2.0 licensed unified interface for various AI agent harnesses like Codex, Claude Code, and Hermes. It allows users to run multiple agents through a single API, offering features such as sessions, streaming, file handling, and cancellation. The project implements the open-standard Unified Harness Protocol (UHP), ensuring users maintain control over their keys and infrastructure.

AREX-Skill: A Skill Library for Automated Machine Learning and Auto-Research
September 21, 2026
AREX-Skill is a powerful skill library designed to advance automated machine learning and auto-research. It distills over 5,000 executable skills from more than 1,000 popular GitHub repositories, making complex ML knowledge directly usable by coding agents. This project significantly enhances agent performance in various research tasks by providing structured, validated operating knowledge.

oh-my-hermes: Enhance Hermes Agent with Advanced AI Workflow and Memory
September 17, 2026
oh-my-hermes is an all-in-one plugin designed to significantly enhance the Hermes Agent. It provides advanced coding intelligence, a robust long-term memory system, and optimized workflow packages, transforming standard Hermes requests into structured, actionable tasks with clear operational layers.
Source repository
Open the original repository on GitHub.
27 counted GitHub visits