New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

GISL

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

GISL

GISL is a versatile Python library designed for Geographic Information System (GIS) tasks. It offers methods to retrieve country names and codes, determine continents, geocode IP addresses, calculate distances between coordinates, find time zones, and get addresses from latitude and longitude. GISL also allows users to obtain the public IP address of the current machine, making it an essential toolkit for developers and researchers working with geospatial data.

  • 1.0.1
  • PyPI
  • Socket score

Maintainers
1

GISL (Geographic Information System Library)

GISL is a Python library that provides functionality for various Geographic Information System (GIS) tasks such as retrieving country names, continents, latitude and longitude information, addresses, timezones, and public IP addresses.

Features

  • Retrieve country names and continents based on country codes.
  • Obtain latitude and longitude information from IP addresses.
    Latitude and longitude from IP address is not allways fully reliable
  • Calculate distances between coordinates.
  • Determine timezones based on coordinates.
  • Reverse geocoding to get address information from coordinates.
  • Get the public IP address of the current machine.

Installation

You can install GISL via pip:

pip install gisl

Usage

Here's a basic example of how to use GISL:

from gisl import GISL

gisl = GISL()

country_name = gisl.get_country("US")
print("Country Name:", country_name)

Output:

Country Name: United States

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc