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.0.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for vatspy_data-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75c615f89b06e9bd00b4b84cc4b3c358822746985d94811b0e88d6837b8c7f02 |
|
MD5 | 36f901ada0bac1c56dcd5fad2b0a9b05 |
|
BLAKE2b-256 | 0af7209955e891398f51d22f2ddda4d1e90eb00011ecd0fc04405f641b5b8276 |