python representation of vatspy static data
Project description
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
pip install vatspy-data
Usage
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, -...>))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vatspy_data-1.2.0.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file vatspy_data-1.2.0.tar.gz
.
File metadata
- Download URL: vatspy_data-1.2.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd15f9c4bc9ac949f52a2b449b2697bb1296e44dfee5ad93a0c338316fb89d1 |
|
MD5 | 8ac48d7b77392b9744956b442c6e15b8 |
|
BLAKE2b-256 | 55375262e9b0843803e6caa5b68276ae3ab842630ccf281a81964d3ac0598b9b |
File details
Details for the file vatspy_data-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: vatspy_data-1.2.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a58c335277a2d16e40ad52c78f1d092e775b81ac80d3415529b2a90cb54ef27e |
|
MD5 | 13bf74b43cf6242c6aa3e05e1ceb950c |
|
BLAKE2b-256 | 11cd3892050e3f3040bfeb865a2ce1bea908760baed8a91f571be5402a70d095 |