Flavorpack: Progressive Secure Polyglot Packaging Toolchain
Beta: Flavorpack is under active development. The PSPF 2025 format is stable, and core packaging workflows are tested across 6 platforms (Linux, macOS, Windows, FreeBSD — amd64/arm64). APIs may still evolve before 1.0.
Flavorpack is a cross-language packaging system that creates self-contained, portable executables using the Progressive Secure Package Format (PSPF) 2025 Edition. It enables you to ship Python applications as single binaries that "just work" - no installation, no dependencies, no configuration required.
Note: The package name is
flavorpack, but the command-line tool isflavor.
🎯 Key Features
- Single-File Distribution: Package entire applications into one executable file
- Cross-Language Support: Python orchestrator with Go and Rust launchers
- Secure by Default: Ed25519 signature verification ensures package integrity
- Progressive Extraction: Extract only what's needed, when it's needed
- Smart Caching: Persistent work environment with intelligent validation
- Zero Dependencies: End users need nothing pre-installed
🚀 Quick Start
Prerequisites
- Python 3.11 or higher
- UV package manager (
curl -LsSf https://astral.sh/uv/install.sh | sh) - Go 1.26+ and Rust 1.86+ (for building helpers - see
src/flavor-go/go.modandsrc/flavor-rs/Cargo.toml)
Installation (Source Only)
Note: Flavorpack is not yet available on PyPI. Source installation is currently the only option.
# Clone the repository
git clone https://github.com/provide-io/flavorpack.git
cd flavorpack
# Set up environment and install dependencies
uv sync
# Build the Go and Rust helpers (required)
make build-helpers
# or directly: ./build.sh
Creating Your First Package
# Package a Python application
flavor pack --manifest pyproject.toml --output myapp.psp
# Run the packaged application
./myapp.psp
# Verify package integrity
flavor verify myapp.psp
📦 PSPF Format
The Progressive Secure Package Format is a polyglot file format that works as both an OS executable and a structured package. Each .psp file contains a native launcher, package metadata, and compressed data slots.
See the PSPF Format Specification for the complete binary layout diagram and technical details.
📚 Documentation
- Quick Start - Get started in 5 minutes
- User Guide - Comprehensive guide to using Flavorpack
- PSPF Format Specification - Binary format details
- API Reference - Python API documentation
- Development Guide - Contributing and development setup
- Troubleshooting - Common issues and solutions
- Full Documentation - Complete documentation portal
🏗️ Architecture
Flavorpack consists of three main components:
-
Python Orchestrator (
src/flavor/)- Manages the build process and dependency resolution
- Creates manifests and handles Python packaging
- Provides CLI interface for package operations
-
Native Helpers (
src/flavor-go/,src/flavor-rs/)- Launchers: Extract and execute packages at runtime, perform Ed25519 signature verification, manage workenv caching
- Builders: Assemble PSPF packages from manifests, implement the PSPF/2025 binary format, handle slot packing and metadata encoding
- Built binaries are placed in
dist/bin/for distribution
🔒 Security
Every PSPF package includes cryptographic integrity verification:
- Ed25519 signatures ensure packages haven't been tampered with
- Public keys are embedded in the package index
- Signature verification happens automatically on every launch
- Optional deterministic builds with
--key-seedfor reproducibility
🧪 Testing
# Run the test suite
make test
# Run with coverage
make test-cov
# Test cross-language compatibility
make validate-pspf
# Run specific test categories
pytest -m unit # Fast unit tests
pytest -m integration # Integration tests
pytest -m security # Security tests
# Test cross-language compatibility with Pretaster
make validate-pspf
Test Taxonomy
Flavorpack uses a shared test-intent taxonomy across Python, Go, and Rust. Use the root make targets instead of guessing which language-native runner to invoke first.
make test-unit
make test-integration
make test-cross-language
make test-security
make test-adversarial
make test-property
make test-fuzz
make test-mutation
make test-smoke
make test-fast
make test-slow
Intent categories:
unit: small isolated behaviorsintegration: multi-component behavior in one implementationcross_language: parity/interoperability across Python, Go, and Rustsecurity: trust, verification, integrity, permissions, policyadversarial: hostile inputs and boundary-violation attemptsproperty: parameterized and invariant-driven testsfuzz: native malformed-input discoverymutation: test-suite strength checkssmoke: minimal high-signal sanity checks
Cost selectors are separate from intent:
fastslowci
Use both security and adversarial when a test intentionally tries to violate a security boundary.
Quality Engineering
Use the root quality targets to run the same cross-language workflows locally that CI now runs as observational jobs:
make quality-python-fast
make quality-python-deep
make quality-go-fast
make quality-go-deep
make quality-rust-fast
make quality-rust-deep
make quality-ci
The tools run in strict mode. In this rollout phase, the dedicated quality-observability jobs are wired into CI but are not intended to be required merge checks yet. A failing observability job means that the quality workflow itself surfaced an issue; merge policy remains a separate repository setting.
🙏 Acknowledgments
Flavorpack is built on the shoulders of giants:
- UV for fast Python package management
- The Python, Go, and Rust communities for excellent tooling
Built with ❤️ by the provide.io team
Release files for flavorpack 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| flavorpack-0.5.1-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details |
| flavorpack-0.5.1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| flavorpack-0.5.1-py3-none-manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| flavorpack-0.5.1-py3-none-manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| flavorpack-0.5.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| flavorpack-0.5.1-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details |
Total release size: 68.8 MB
Release files / flavorpack-0.5.1-py3-none-win_arm64.whl
| Download URL | flavorpack-0.5.1-py3-none-win_arm64.whl |
|---|---|
| Size | 11.2 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
b0d101e07ffe759dfef1e2207196bbfe6e21f255aaa108499234d78c3cf9f12b
|
|
BLAKE2b-256 checksum How to use checksums |
1cd09757e68070cecb155cd554036e8827cafbfcf33b1ea10e24f011d9f4ebb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 4, 2026.
Transparency logRelease files / flavorpack-0.5.1-py3-none-win_amd64.whl
| Download URL | flavorpack-0.5.1-py3-none-win_amd64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
35b2a20150fbdfffb48d4be7f2c1c8b965e85838593c980bb9143ebf290d54cc
|
|
BLAKE2b-256 checksum How to use checksums |
314370c67f53dbd917d76bd100017d237e6bedbc58f667078154bcf9066376c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 4, 2026.
Transparency logRelease files / flavorpack-0.5.1-py3-none-manylinux2014_x86_64.whl
| Download URL | flavorpack-0.5.1-py3-none-manylinux2014_x86_64.whl |
|---|---|
| Size | 11.8 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
09424aab4618c78e94b9c7a4ab41d99d194a338f6b8524a5b5849abaf86b9211
|
|
BLAKE2b-256 checksum How to use checksums |
34b250ae8b18dcd3f1e96b87867e24770bf435e99cb1927db5f54fb3fb92264d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 4, 2026.
Transparency logRelease files / flavorpack-0.5.1-py3-none-manylinux2014_aarch64.whl
| Download URL | flavorpack-0.5.1-py3-none-manylinux2014_aarch64.whl |
|---|---|
| Size | 10.8 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
7392bbdd474b8fbf478e94d6f84fa09a097dd185cf4e27626a0a6769677b22f1
|
|
BLAKE2b-256 checksum How to use checksums |
494ec555b6b250389e9724401c56625cf698d8eb6f8c473cbe9f654be51edb00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 4, 2026.
Transparency logRelease files / flavorpack-0.5.1-py3-none-macosx_11_0_arm64.whl
| Download URL | flavorpack-0.5.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7e0f57f897e5e50012c486e5437136514ec1bcd9743cebd7462e6a4b5f2499df
|
|
BLAKE2b-256 checksum How to use checksums |
3b1562440ca0160de38fc39a4de78ca0d50167a9004cc608e643f28f74c2f7c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 4, 2026.
Transparency logRelease files / flavorpack-0.5.1-py3-none-macosx_10_9_x86_64.whl
| Download URL | flavorpack-0.5.1-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 11.8 MB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
d29ef0229a8d84ef9405f267a99ceb12261571d12f12b781ab61780599eb3d0d
|
|
BLAKE2b-256 checksum How to use checksums |
c8a990b1cd6c9b974cf88268e423a3df3d2fe5664b4006af1177391cc5f924a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 4, 2026.
Transparency log