Skip to main content

IRP

AIRPort city name resolver. And back.

This is how you use it:

$ pip install irp
$ export IATACODES_API_KEY="..."  # Get it for free at iatacodes.org
$ ipython

In [1]: from irp import get_airports, get_name

In [2]: list(get_airports('Portland'))
Out[2]: [('PDX', 'US'), ('PTJ', 'AU'), ('PWM', 'US')]

In [3]: list(get_airports('Portland, US'))
Out[3]: [('PDX', 'US'), ('PWM', 'US')]

In [4]: list(get_airports('PDX'))
Out[4]: [('PDX', 'US')]

In [5]: list(get_airports('Isiro'))
Out[5]: [('IRP', 'CD')]

In [6]: get_name('IRP')
Out[6]: 'Isiro'

NOTE We’re ATM bypassing iatacodes.org SSL verification. If you don’t want this, patch it, it’s probably easy but we needed a hotfix.

Metadata

Release files for irp 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for irp 0.4.0
File Size Uploaded Provenance Actions
irp-0.4.0.tar.gz 2.0 kB Without provenance Details for irp-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for irp 0.4.0
File Interpreter ABI Platform Actions
irp-0.4.0-py3-none-any.whl Python 3 none any Details for irp-0.4.0-py3-none-any.whl

Total release size: 5.4 kB

Release files / irp-0.4.0.tar.gz

Download URL irp-0.4.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
04290cfd230a43a605be9bee3bd29bffd8adc87cfdedb4c1e4850dae4f345f1d
BLAKE2b-256 checksum
How to use checksums
16ffc81b5eb468e6be0d58a62914b316684a2c99a6cd8a3d4c602551565c7ec3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / irp-0.4.0-py3-none-any.whl

Download URL irp-0.4.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b5cedab49aec590ba01527a70e591fac9448434633accb4c9280348cd7ab4f0
BLAKE2b-256 checksum
How to use checksums
f6af196a4a2236acfa6e982f537207b4570c0c33b76914a3efe66ae17e0503d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for irp 0.4.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page