vatspy-data


Namevatspy-data JSON
Version 1.2.0 PyPI version JSON
download
home_pageNone
Summarypython representation of vatspy static data
upload_time2024-08-18 11:31:20
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT
keywords vatspy vatsim
VCS
bugtrack_url
requirements requests pydantic shapely
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## python-vatspy-data

This module loads and parses data from https://github.com/vatsimnetwork/vatspy-data-project

The results are available as an easy-to-use `VatspyData` object containing
the countries, the airports, and the FIRs along with geodata available as a
`shapely` Geometry.


### Installation

```commandline
pip install vatspy-data
```

### Usage

```python
from vatspy_data import VatspyData

vd = VatspyData() # the data is loaded and parsed in the constructor

print(vd.countries.get("LI"))
# Country(name='Italy', codes=['LI'], radar_name='Radar')

print(vd.firs.get("EGGX"))
# FIR(icao='EGGX', name='Shanwick Oceanic', callsign_prefix='EGGX', geom=GeoItem(properties=GeoItemProperties(id='EGGX', oceanic=False, label_lon=-22.5, label_lat=53.0, region='EMEA', division='VATUK'), geom=<MULTIPOLYGON (((-30 61, -10 61, -10 57, -15 57, -15 49, -8 48.494, -8 45, -...>))
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "vatspy-data",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "vatspy, vatsim",
    "author": null,
    "author_email": "Pavel Vorobyev <aquavitale@yandex.ru>",
    "download_url": "https://files.pythonhosted.org/packages/55/37/5262e9b0843803e6caa5b68276ae3ab842630ccf281a81964d3ac0598b9b/vatspy_data-1.2.0.tar.gz",
    "platform": null,
    "description": "## python-vatspy-data\n\nThis module loads and parses data from https://github.com/vatsimnetwork/vatspy-data-project\n\nThe results are available as an easy-to-use `VatspyData` object containing\nthe countries, the airports, and the FIRs along with geodata available as a\n`shapely` Geometry.\n\n\n### Installation\n\n```commandline\npip install vatspy-data\n```\n\n### Usage\n\n```python\nfrom vatspy_data import VatspyData\n\nvd = VatspyData() # the data is loaded and parsed in the constructor\n\nprint(vd.countries.get(\"LI\"))\n# Country(name='Italy', codes=['LI'], radar_name='Radar')\n\nprint(vd.firs.get(\"EGGX\"))\n# FIR(icao='EGGX', name='Shanwick Oceanic', callsign_prefix='EGGX', geom=GeoItem(properties=GeoItemProperties(id='EGGX', oceanic=False, label_lon=-22.5, label_lat=53.0, region='EMEA', division='VATUK'), geom=<MULTIPOLYGON (((-30 61, -10 61, -10 57, -15 57, -15 49, -8 48.494, -8 45, -...>))\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "python representation of vatspy static data",
    "version": "1.2.0",
    "project_urls": {
        "Source": "https://github.com/viert/python-vatspy-data"
    },
    "split_keywords": [
        "vatspy",
        " vatsim"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "11cd3892050e3f3040bfeb865a2ce1bea908760baed8a91f571be5402a70d095",
                "md5": "13bf74b43cf6242c6aa3e05e1ceb950c",
                "sha256": "a58c335277a2d16e40ad52c78f1d092e775b81ac80d3415529b2a90cb54ef27e"
            },
            "downloads": -1,
            "filename": "vatspy_data-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "13bf74b43cf6242c6aa3e05e1ceb950c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 4847,
            "upload_time": "2024-08-18T11:31:19",
            "upload_time_iso_8601": "2024-08-18T11:31:19.504255Z",
            "url": "https://files.pythonhosted.org/packages/11/cd/3892050e3f3040bfeb865a2ce1bea908760baed8a91f571be5402a70d095/vatspy_data-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "55375262e9b0843803e6caa5b68276ae3ab842630ccf281a81964d3ac0598b9b",
                "md5": "8ac48d7b77392b9744956b442c6e15b8",
                "sha256": "acd15f9c4bc9ac949f52a2b449b2697bb1296e44dfee5ad93a0c338316fb89d1"
            },
            "downloads": -1,
            "filename": "vatspy_data-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8ac48d7b77392b9744956b442c6e15b8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 4434,
            "upload_time": "2024-08-18T11:31:20",
            "upload_time_iso_8601": "2024-08-18T11:31:20.739340Z",
            "url": "https://files.pythonhosted.org/packages/55/37/5262e9b0843803e6caa5b68276ae3ab842630ccf281a81964d3ac0598b9b/vatspy_data-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-18 11:31:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "viert",
    "github_project": "python-vatspy-data",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "requests",
            "specs": []
        },
        {
            "name": "pydantic",
            "specs": []
        },
        {
            "name": "shapely",
            "specs": []
        }
    ],
    "lcname": "vatspy-data"
}
        
Elapsed time: 0.58110s