PyAirpal
Python Client/SDK for Airpal
Synopsis
PyAirPal: Python Client/SDK to allow headless queries and response retrieval for Airpal.
Code Example
View the included example.py
Motivation
Airpal (http://airbnb.io/airpal/) is a great WebUI/Front end for PrestoDB (https://prestodb.io/)
One really nice thing Airpal does is create a method of User Access Control/logging/etc to the PrestoDB interface.
Native PrestoDB clients will likely be more efficient, but this stack allows organizations to provide batch/scripting access to the PrestoDB Via Airpal, while maintaining the nice UAC/etc that Airpal provides.
Requirements
- Working Airpal server
- Python modules:
- Requests - http://docs.python-requests.org/en/master/
- SSEClient - https://pypi.python.org/pypi/sseclient
- Pandas (for example script only) - http://pandas.pydata.org/
License
MIT
Version
| Version | Changes |
|---|---|
| 1.1.3 | Update yield_csv() to allow for raw requests response. |
| 1.1.2 | Fix issue #1, update logging to best practice, Handling exception while loading next_event() to json #4 |
| 1.1.1 | Python3 support, Remove PANDAS dependency, fix issue #1 |
| 1.0.2 | Fix for missing requirements in PIP support |
| 1.0.1 | PIP support |
| 1.0.0 | Initial Release |
Metadata
Release files for pyairpal 1.1.3
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 |
|---|---|---|---|---|
| pyairpal-1.1.3.tar.gz | 5.8 kB | Without provenance | Details for pyairpal-1.1.3.tar.gz |
Release files / pyairpal-1.1.3.tar.gz
| Download URL | pyairpal-1.1.3.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
caa4d8c08af2f37003317b9849c7ea2d84243623675cab5c874ee9c9c63fd63f
|
|
BLAKE2b-256 checksum How to use checksums |
ba82fc5956ed2d35280061ff49e697917a332150c572680c013d250dfeb27b19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.15
|
Security for pyairpal 1.1.3
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.