pineapple-pine
Python runtime engine for the Pineapple pipeline framework.
Installation
pip install pineapple-pine
Quick Start
import json
from pine.engine import Engine
config = json.dumps({
"operators": [
{"type_name": "recall_static", "name": "recall", "$metadata": {
"common_input": [], "item_input": [], "common_output": [],
"item_output": ["id", "score"]
}, "items": [{"id": "a", "score": 1.0}]}
],
"pipeline_groups": {"main": ["recall"]}
}).encode()
engine = Engine.create(config)
result = engine.execute(common={}, items=[])
print(result.common, result.items)
Features
- Full DAG scheduling with data-hazard analysis
- ConsumesRowSet / MutatesRowSet / AdditiveWritesRowSet marker interfaces
- Framework-level field accessor (Strict / Default semantics)
- Lua operator support via
lupa - HTTP server with hot-reload
- DAG visualization (DOT / Mermaid)
- Cross-engine parity with pine-go and pine-java
Requirements
- Python >= 3.11
lupa(Lua runtime)redis(optional, for redis_get/redis_set operators)httpx(for remote_pineapple operator)
License
Apache-2.0
Metadata
Release files for pineapple-pine 0.9.7
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 | |
|---|---|---|---|---|
| pineapple_pine-0.9.7.tar.gz | 61.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pineapple_pine-0.9.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 125.5 kB
Release files / pineapple_pine-0.9.7.tar.gz
| Download URL | pineapple_pine-0.9.7.tar.gz |
|---|---|
| Size | 61.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2d9caf1866b84dfae7f22fdd57f883c620e2b7ee651518b23b2c642b9aa950b
|
|
BLAKE2b-256 checksum How to use checksums |
926eada97ec0811d9fe241bfe974063820d2994c709823e6a3bad882d97c26dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 31, 2026.
Transparency logRelease files / pineapple_pine-0.9.7-py3-none-any.whl
| Download URL | pineapple_pine-0.9.7-py3-none-any.whl |
|---|---|
| Size | 64.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db462b24ef05c531903aeda79fc4934b8f2ec6b2ea668dd65af4f2bfee1d82f2
|
|
BLAKE2b-256 checksum How to use checksums |
c6d401b2d1bbae0e4da6331871ce4693803ea810536b3e6475522cc1ca993f73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 31, 2026.
Transparency logSecurity for pineapple-pine 0.9.7
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pineapple_pine-0.9.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 31, 2026.
Transparency logA 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.