awc-client
New data API of AviationWeather.gov. This supercedes the ADDS Data Server and AviationWeather Web Services.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 3.12
- Package version: 1.0.0
- Generator version: 7.10.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.7+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import awc_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import awc_client
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import awc_client
from awc_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = awc_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with awc_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = awc_client.DataApi(api_client)
ids = 'KMCI' # str | Station ID(s) (optional)
bbox = '' # str | Geographic bounding box (lat0, lon0, lat1, lon1) (optional)
format = 'format_example' # str | Format (optional)
try:
# Airport info
api_instance.data_airport(ids=ids, bbox=bbox, format=format)
except ApiException as e:
print("Exception when calling DataApi->data_airport: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DataApi | data_airport | GET /api/data/airport | Airport info |
| DataApi | data_area_fcst | GET /api/data/areafcst | US Area Forecasts |
| DataApi | data_cwa | GET /api/data/cwa | CWSU Center Advisories |
| DataApi | data_fcst_disc | GET /api/data/fcstdisc | US Forecast Discussions |
| DataApi | data_feature | GET /api/data/feature | Feature info |
| DataApi | data_fix | GET /api/data/fix | Naviagtional fix info |
| DataApi | data_gairmet | GET /api/data/gairmet | US Graphical AIRMETs |
| DataApi | data_metars | GET /api/data/metar | METARs |
| DataApi | data_mis | GET /api/data/mis | Meteorological Information Statement |
| DataApi | data_navaid | GET /api/data/navaid | Navigational aid info |
| DataApi | data_obstacle | GET /api/data/obstacle | Obstacle info |
| DataApi | data_pirepphp | GET /api/data/pirep | Pilot Reports |
| DataApi | data_sigmet | GET /api/data/airsigmet | Domestic AIRMETs/SIGMETs |
| DataApi | data_station_info | GET /api/data/stationinfo | Station info |
| DataApi | data_taf | GET /api/data/taf | TAFs |
| DataApi | data_wind_temp | GET /api/data/windtemp | Wind/Temp Point Data |
| DataApi | datai_sigmet | GET /api/data/isigmet | International SIGMETs |
| DataserverApi | dataserver_airep | GET /api/data/dataserver?requestType=retrieve&dataSource=aircraftreports | Dataserver for AIREPs and PIREPs |
| DataserverApi | dataserver_gairmet | GET /api/data/dataserver?requestType=retrieve&dataSource=gairmets | Dataserver for G-AIRMETs |
| DataserverApi | dataserver_metars | GET /api/data/dataserver?requestType=retrieve&dataSource=metars | Dataserver for METARs |
| DataserverApi | dataserver_sigmet | GET /api/data/dataserver?requestType=retrieve&dataSource=airsigmets | Dataserver for AIRMETs and SIGMETs |
| DataserverApi | dataserver_tafs | GET /api/data/dataserver?requestType=retrieve&dataSource=tafs | Dataserver for TAFs |
Documentation For Models
Documentation For Authorization
Endpoints do not require authorization.
Author
Metadata
Release files for awc_client 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| awc_client-1.0.1.tar.gz | 27.9 kB | Without provenance | Details for awc_client-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| awc_client-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for awc_client-1.0.1-py3-none-any.whl |
Total release size: 59.9 kB
Release files / awc_client-1.0.1.tar.gz
| Download URL | awc_client-1.0.1.tar.gz |
|---|---|
| Size | 27.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb56dceffb9418316aaacc90fa9b553496d5a30dde5d621b8ec8d2590a0915a0
|
|
BLAKE2b-256 checksum How to use checksums |
84717cbdc9cb1d066c24256b1397ed4e856fa39837f4988a4dc1c3270c31abc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.20 Linux/6.5.0-1025-azure
|
Release files / awc_client-1.0.1-py3-none-any.whl
| Download URL | awc_client-1.0.1-py3-none-any.whl |
|---|---|
| Size | 32.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
229b380fe6740725e317e76ba9c924e32c8b6145e16e97fa9a9b6ff9708d509e
|
|
BLAKE2b-256 checksum How to use checksums |
7bf2a8878f7708d6379703df082f0c8fab87c3bbd0e3a2ad2ee0b205f76f2d05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.20 Linux/6.5.0-1025-azure
|
Security for awc_client 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.