Getting Started¶
Welcome to FlavorPack! This guide will help you get up and running with creating your first Progressive Secure Package.
๐ค AI-Generated Content
This documentation was generated with AI assistance and is still being audited. Some, or potentially a lot, of this information may be inaccurate. Learn more.
Package Name vs Tool Name
FlavorPack (or flavorpack) is the Python package name used for installation. The actual command-line tool and API is called flavor. Install with uv tool install flavorpack, use with flavor pack.
Quick Start Path¶
Follow these steps to get FlavorPack up and running:
1. Install FlavorPack โ๏ธ¶
Install FlavorPack and its native helper binaries. Use the standard install path or build from source if you need local changes.
Time: ~10 minutes Prerequisites: Python 3.11+, UV, Go 1.24+, Rust 1.85+
2. Quick Start Tutorial ๐¶
Create and run your first PSPF package in under 5 minutes with our step-by-step tutorial.
Time: ~5 minutes What you'll build: A simple "Hello World" package
3. Create Your First Real Package ๐ฆ¶
Build a complete Python application package with dependencies, configuration, and proper structure.
Time: ~15 minutes What you'll learn: Manifest configuration, dependencies, entry points
4. Explore Examples ๐ก¶
See real-world examples of CLI tools, web apps, and more advanced packaging scenarios.
What's included: Complete working examples you can build and run
Learning Paths¶
Choose the path that matches your goals:
For Beginners¶
Just want to package a Python app quickly?
- Installation - Get FlavorPack installed
- Quick Start - Your first package in 5 minutes
- Examples - Copy a working example similar to your needs
For Developers¶
Want to understand how everything works?
- Installation - Set up your environment
- Core Concepts - Understand PSPF format and architecture
- First Package - Build a complete package with best practices
- API Reference - Programmatic package creation
For DevOps Engineers¶
Need to integrate FlavorPack into CI/CD?
- Installation - Automated setup instructions
- CLI Reference - Command-line interface details
- CI/CD Recipes - Integration examples
- Environment Variables - Configuration options
Common Questions¶
What are the system requirements?
Minimum: Python 3.11, UV 0.8.13, Go 1.24, Rust 1.85 Recommended: Python 3.12+, latest UV, Go, and Rust Platforms: Linux (full), macOS (full), Windows (limited)
See Installation โ System Requirements for details.
Is FlavorPack production-focused?
FlavorPack is an initial release. The core PSPF format and packaging features are available today, and exploratory improvements are still under evaluation.
How do I package a Python app with dependencies?
The most common workflow:
- Create a
pyproject.tomlmanifest - Run
flavor pack --manifest pyproject.toml - Your package is created as
dist/<name>.psp
See First Package Guide for a complete walkthrough.
What's the difference between FlavorPack and PyInstaller?
FlavorPack creates PSPF packages with:
- Cryptographic signing (Ed25519)
- Smart caching (no re-extraction)
- Cross-language support (Python, Go, Rust)
- Native launchers (not Python-based)
PyInstaller creates traditional executables. FlavorPack is better for: - Security-conscious deployments - Large applications (caching helps) - Cross-platform distribution
See PSPF Format for technical details.
Can I package apps without Python installed?
Creating packages requires Python 3.11+ on the build machine.
Running packages does NOT require Python - the Python runtime is embedded in the .psp file. End users need nothing installed.
How do I troubleshoot installation issues?
Common issues and solutions:
- UV not found: Add
~/.cargo/binto PATH - Helper build fails: Verify Go/Rust versions
- Permission denied: Run
chmod +xon.pspfiles
See Installation Troubleshooting for complete guide.
Next Steps¶
-
Quick Start
Get your first package built and running in under 5 minutes.
-
First Package
Build a complete application package with dependencies and configuration.
-
Core Concepts
Understand the PSPF format, slots, operation chains, and security model.
-
Examples
Real-world examples of CLI tools, web apps, and advanced use cases.
Getting Help¶
If you run into issues or have questions:
- Troubleshooting Guide - Common issues and solutions
- FAQ - Frequently asked questions
- GitHub Issues - Report bugs or request features
- GitHub Discussions - Ask questions and share ideas
Ready to package your Python applications? Start with our Installation Guide โ