Skip to main content

Airplane Python SDK PyPI PyPI - License Docs

SDK for writing Airplane tasks in Python.

Getting started

pip install airplanesdk

Usage

To write a Python task in Airplane, create a .py file and export a function like so:

import airplane

def main(params):
  return f"Hello, {params['name']}"

You can configure the parameters that your task will receive in the Airplane UI. They'll be passed through the params argument to your function as a dictionary keyed by the slugs you see in the UI.

To execute your task, first install the Airplane CLI.

Once installed, execute your task locally:

airplane dev ./path/to/file.py -- --name=World

If that looks good, deploy your task to Airplane and give it a run in the UI!

airplane deploy ./path/to/file.py

Metadata

Release files for airplanesdk 0.3.6

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

Source distribution (sdist)

Source distribution for airplanesdk 0.3.6
File Size Uploaded Provenance
airplanesdk-0.3.6.tar.gz 12.0 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 28.9 kB

Release files / airplanesdk-0.3.6.tar.gz

Download URL airplanesdk-0.3.6.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2c3cc35b31881a5116ce4e7ee2f7ad20eb305056700041332e55ba667ae0ec3f
BLAKE2b-256 checksum
How to use checksums
32a75cf458a91067870baa2a0c46d16a36e974e23e6007640fab4fa19e03d162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0

Release files / airplanesdk-0.3.6-py3-none-any.whl

Download URL airplanesdk-0.3.6-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec6b75844ae647b79ee7e1a5fb7362418e2fc9fb77eb20d9ac32ebaf4c6f1d38
BLAKE2b-256 checksum
How to use checksums
621ad27f7d37d9eb37b811ef91aa46ae07a63dd5dd416ee3543968be81145718
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0

Security for airplanesdk 0.3.6

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.

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files No provenance

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