py-icao-aircrft
Python client for lookup of ICAO aircraft (Doc 8643) information, also known as “Aircraft Type Designators”.
Install
pip install icao-aircrft
The module requires requests and lxml to be installed.
Usage
Example for use via the command line:
python -m icao-aircrft -t PAY3
Example code for use as a library:
>>> import icaoaircrft
>>> query = 'PAY3'
>>> for result in icaoaircrft.lookup(type_code=query):
>>> print result
{'description': 'Landplane', 'wake_category': 'L', 'photo': None, 'type_code': 'PAY3', 'engine_count': 2, 'model': 'PA-42-720 Cheyenne 3', 'engine_type': 'Turboprop', 'manufacturer': 'AICSA'}
{'description': 'Landplane', 'wake_category': 'L', 'photo': None, 'type_code': 'PAY3', 'engine_count': 2, 'model': 'Cheyenne 3', 'engine_type': 'Turboprop', 'manufacturer': 'AICSA'}
...
Notes
The module does not contain the actual database. Instead it issues requests online to the icao.int server.
The results of lookups are stored in a local cache file called icaoaircrft_cache.db within the current directory. This file can be deleted at any time to get rid of stale data.
Due to the way the cache file is written, the module might not be thread-safe.
Metadata
Release files for icao-aircrft 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| icao-aircrft-0.0.9.zip | 2.3 kB | Without provenance | Details for icao-aircrft-0.0.9.zip | |
| icao-aircrft-0.0.9.tar.gz | 1.9 kB | Without provenance | Details for icao-aircrft-0.0.9.tar.gz |
Release files / icao-aircrft-0.0.9.zip
| Download URL | icao-aircrft-0.0.9.zip |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40c83691e9b82d440c048c5695796041bf89569f797e5e7e3de406e86676c937
|
|
BLAKE2b-256 checksum How to use checksums |
7d70d81e9922bd6167ce5ee9b01d940ca092e459c8649b97948535f4bb13b52e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / icao-aircrft-0.0.9.tar.gz
| Download URL | icao-aircrft-0.0.9.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
084b8f194468d580b46bcdae24eb46db5864cd11328156a4ae9ff22d684da3cd
|
|
BLAKE2b-256 checksum How to use checksums |
f3cb629741d8999d6a9cca8275705ff426472c3d763a5e624ffcdf5f0afbee0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for icao-aircrft 0.0.9
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.