GISL


NameGISL JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryGISL 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.
upload_time2024-06-06 09:21:31
maintainerNone
docs_urlNone
authorTheo Nilsson
requires_pythonNone
licenseNone
keywords python geography geocoding timezone timezones location
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# 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. \
<strong style="color: #FF5500; font-size: 0.75rem; font-weight: bolder;">Latitude and longitude from IP address is not allways fully reliable</strong>
- 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:
```bash
pip install gisl
```

## Usage
Here's a basic example of how to use GISL:
```python
from gisl import GISL

gisl = GISL()

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

Output:
```
Country Name: United States
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "GISL",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, geography, geocoding, timezone, timezones, location",
    "author": "Theo Nilsson",
    "author_email": "theonilsson2012@icloud.com",
    "download_url": "https://files.pythonhosted.org/packages/7f/fd/6a60a27ff95ec25a99b1292ad51ed3077c8e6eed0d26c1d5f416f7b205fa/gisl-1.0.1.tar.gz",
    "platform": null,
    "description": "\n# GISL (Geographic Information System Library)\n\nGISL 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.\n\n## Features\n\n- Retrieve country names and continents based on country codes.\n- Obtain latitude and longitude information from IP addresses. \\\n<strong style=\"color: #FF5500; font-size: 0.75rem; font-weight: bolder;\">Latitude and longitude from IP address is not allways fully reliable</strong>\n- Calculate distances between coordinates.\n- Determine timezones based on coordinates.\n- Reverse geocoding to get address information from coordinates.\n- Get the public IP address of the current machine.\n\n## Installation\n\nYou can install GISL via pip:\n```bash\npip install gisl\n```\n\n## Usage\nHere's a basic example of how to use GISL:\n```python\nfrom gisl import GISL\n\ngisl = GISL()\n\ncountry_name = gisl.get_country(\"US\")\nprint(\"Country Name:\", country_name)\n```\n\nOutput:\n```\nCountry Name: United States\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "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.",
    "version": "1.0.1",
    "project_urls": null,
    "split_keywords": [
        "python",
        " geography",
        " geocoding",
        " timezone",
        " timezones",
        " location"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c9a005e808b4e614f89f2e67d150f6c6410ef9cdf862b8397aa4d6f70d0f4a0f",
                "md5": "853e97d41a960ff92090196d9132ca28",
                "sha256": "21da593f5a6075db7da373d34be119ad0a4bb5e9934543984cbc9ff92b3e19e6"
            },
            "downloads": -1,
            "filename": "GISL-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "853e97d41a960ff92090196d9132ca28",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5151,
            "upload_time": "2024-06-06T09:21:30",
            "upload_time_iso_8601": "2024-06-06T09:21:30.758399Z",
            "url": "https://files.pythonhosted.org/packages/c9/a0/05e808b4e614f89f2e67d150f6c6410ef9cdf862b8397aa4d6f70d0f4a0f/GISL-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ffd6a60a27ff95ec25a99b1292ad51ed3077c8e6eed0d26c1d5f416f7b205fa",
                "md5": "646f0251ce727934d4d44e10d156e52f",
                "sha256": "86a242842b817553e8058d68bd2b2cd8051b6bb8f8016fe2a1cbb443e7e5764e"
            },
            "downloads": -1,
            "filename": "gisl-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "646f0251ce727934d4d44e10d156e52f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4402,
            "upload_time": "2024-06-06T09:21:31",
            "upload_time_iso_8601": "2024-06-06T09:21:31.933110Z",
            "url": "https://files.pythonhosted.org/packages/7f/fd/6a60a27ff95ec25a99b1292ad51ed3077c8e6eed0d26c1d5f416f7b205fa/gisl-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-06 09:21:31",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gisl"
}
        
Elapsed time: 0.40639s