This release is a pre-release and may not be stable for production use.
floe-core
Core plugin registry and interfaces for the floe data platform.
Installation
uv pip install floe-core
Features
- Plugin discovery via entry points
- Type-safe plugin registration
- Version compatibility checking
- Configuration validation with Pydantic
- Health check support
- Artifact signing and verification (Epic 8B)
External Dependencies
The following external CLI tools are required for artifact signing features:
cosign (>= 2.0.0)
Required for key-based signing, KMS integration, and attestations.
# macOS
brew install cosign
# Linux (Debian/Ubuntu)
COSIGN_VERSION=2.4.1
curl -LO https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign-linux-amd64
sudo install cosign-linux-amd64 /usr/local/bin/cosign
# Verify installation
cosign version
syft (for SBOM generation)
Required for generating Software Bill of Materials (SBOM) in SPDX format.
# macOS
brew install syft
# Linux
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
# Verify installation
syft version
Note: Keyless signing (OIDC-based) uses the
sigstorePython library and does not require cosign CLI.
Environment Variables
Configuration environment variables for signing and testing:
| Variable | Default | Description |
|---|---|---|
FLOE_DISABLE_BROWSER_OAUTH |
false |
Set to true to prevent interactive browser OAuth. Use in CI/CD where OIDC ambient credentials should be available. |
FLOE_OIDC_TOKEN_MAX_RETRIES |
3 |
Maximum retries for OIDC token acquisition (1-10). |
CI/CD Configuration
In GitHub Actions, ensure OIDC is enabled:
permissions:
id-token: write # Required for keyless signing
Then disable browser OAuth fallback:
env:
FLOE_DISABLE_BROWSER_OAUTH: "true"
This ensures tests fail fast if OIDC credentials are unavailable rather than hanging on browser auth.
Security Environment Variables
| Variable | Default | Description |
|---|---|---|
FLOE_ENVIRONMENT |
development |
Set to production to enforce SSL verification on all HTTPS connections. Production environment ignores verify_ssl=False parameters. |
FLOE_ALLOW_INSECURE_SSL |
false |
Set to true to allow disabling SSL certificate verification in non-production environments. Required for self-signed certificates in development. |
Security Notes:
- In production (
FLOE_ENVIRONMENT=production), SSL verification is always enforced regardless of code settings - Disabling SSL verification requires explicit opt-in via
FLOE_ALLOW_INSECURE_SSL=true - A CRITICAL-level log is emitted when SSL verification is disabled
Development
# Install with dev dependencies
uv pip install -e ".[dev]"
# Run tests
pytest
# Type checking
mypy src/floe_core
# Linting
ruff check src/floe_core
Metadata
Release files for floe-core 0.1.0a1
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 |
|---|---|---|---|---|
| floe_core-0.1.0a1.tar.gz | 1.4 MB | Without provenance | Details for floe_core-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| floe_core-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for floe_core-0.1.0a1-py3-none-any.whl |
Total release size: 2.1 MB
Release files / floe_core-0.1.0a1.tar.gz
| Download URL | floe_core-0.1.0a1.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b41c31a67cf52d63329d05e221034e0802d1339b72cbd2e406406c27b0d8d72e
|
|
BLAKE2b-256 checksum How to use checksums |
cde718fda4ce3215629f3b3ff70791610930b3ef1a51f7006d1622dca2cecad4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / floe_core-0.1.0a1-py3-none-any.whl
| Download URL | floe_core-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 673.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbe469cf372861997221173f46bd3a38be4669096dc994d71e50707e15f499d1
|
|
BLAKE2b-256 checksum How to use checksums |
880bc313cc3c71c5644cc666356931ab57341fc0b917ca949fcb8a2437fa67d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for floe-core 0.1.0a1
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.