Unified developer CLI for Python packages with C and C++ bindings.
Project description
foga
foga is a Python package and CLI for developers maintaining Python packages
with native C or C++ bindings. It replaces ad-hoc repository scripts with a
single YAML configuration file that drives build, test, deploy, inspect, and
cleanup workflows.
What foga does
- build Python packages and native artifacts from one config file
- run Python and native test workflows through one CLI
- switch environment-specific settings with named profiles
- inspect the resolved config before running anything
- keep escape hatches explicit through structured hooks
Install
pip install foga
Minimal example
project:
name: demo
build:
python:
backend: python-build
test:
runners:
unit:
backend: pytest
path: tests
Quick start
foga validate
foga inspect
foga build --dry-run
foga test --dry-run
foga deploy --target pypi --dry-run
Documentation
- Docs site: https://fedluc.github.io/foga/
- Docs source:
docs/ - Example configs:
examples/
Start with:
Development
pip install -e .[dev,docs]
ruff check .
pytest
python -m build
sphinx-build -W --keep-going -b html docs docs/_build/html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file foga-0.2.0.tar.gz.
File metadata
- Download URL: foga-0.2.0.tar.gz
- Upload date:
- Size: 51.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7cb0548b4b4bd69c6a836f215178701159c0a22af2349391a1158fbf209520b
|
|
| MD5 |
c9eacd20d20def9a26a9352d6193d09d
|
|
| BLAKE2b-256 |
24af6c607e8f81da1d54bf99929b0f020c71e8fb721bb8df4014c1569ce4b6c9
|
Provenance
The following attestation bundles were made for foga-0.2.0.tar.gz:
Publisher:
publish.yml on fedluc/foga
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
foga-0.2.0.tar.gz -
Subject digest:
c7cb0548b4b4bd69c6a836f215178701159c0a22af2349391a1158fbf209520b - Sigstore transparency entry: 1289332608
- Sigstore integration time:
-
Permalink:
fedluc/foga@dff6829d7cfdc456e73df6bc1f80f1edc7e589aa -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/fedluc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dff6829d7cfdc456e73df6bc1f80f1edc7e589aa -
Trigger Event:
push
-
Statement type:
File details
Details for the file foga-0.2.0-py3-none-any.whl.
File metadata
- Download URL: foga-0.2.0-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
263f84a0f62bd2fce12eb3bec1ec4a3eb3a0ed70bfafdf86092c942fa8ed0a52
|
|
| MD5 |
f5603bccbe14f80775dbff0320b74a96
|
|
| BLAKE2b-256 |
fc6ec4fe5ed4bea241c58a6edc51cc5fda86e4a0deda990f674d112d3408f345
|
Provenance
The following attestation bundles were made for foga-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on fedluc/foga
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
foga-0.2.0-py3-none-any.whl -
Subject digest:
263f84a0f62bd2fce12eb3bec1ec4a3eb3a0ed70bfafdf86092c942fa8ed0a52 - Sigstore transparency entry: 1289332707
- Sigstore integration time:
-
Permalink:
fedluc/foga@dff6829d7cfdc456e73df6bc1f80f1edc7e589aa -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/fedluc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dff6829d7cfdc456e73df6bc1f80f1edc7e589aa -
Trigger Event:
push
-
Statement type: