Unified developer CLI for Python packages with C and C++ bindings.
Project description
foga is a Python package and CLI for developers maintaining Python packages
with C or C++ bindings. It replaces ad-hoc repository scripts with a
single YAML configuration file that drives build, test, docs, format, lint,
deploy, inspect, and cleanup workflows.
What foga does
- build Python packages and C++ artifacts from one config file
- run Python and C++ test workflows through one CLI
- run Python and C++ format and lint workflows through one CLI
- generate Python and C++ documentation 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 docs --dry-run
foga format --dry-run
foga lint --dry-run
foga deploy --target pypi --dry-run
Python lint targets can use ruff-check or pylint, and C++ lint targets can
use clang-tidy.
Documentation
- Docs site: https://fedluc.github.io/foga/
- Docs source:
docs/ - Example configs:
examples/
Start with:
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.2.tar.gz.
File metadata
- Download URL: foga-0.2.2.tar.gz
- Upload date:
- Size: 61.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0813d1b555ff95f37dce82cdf4d4e11a7c44b6bafd873334f7370fa8ec7c5c15
|
|
| MD5 |
f03589d797b2d8190913f35d1f81e5c8
|
|
| BLAKE2b-256 |
c5d720e3e8df42dd347fb303013ce4d76b45b35232319fb47170805f9f5bc51c
|
Provenance
The following attestation bundles were made for foga-0.2.2.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.2.tar.gz -
Subject digest:
0813d1b555ff95f37dce82cdf4d4e11a7c44b6bafd873334f7370fa8ec7c5c15 - Sigstore transparency entry: 1297314784
- Sigstore integration time:
-
Permalink:
fedluc/foga@144d9a12d71996173970f369de75a76d7a7680e3 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/fedluc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@144d9a12d71996173970f369de75a76d7a7680e3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file foga-0.2.2-py3-none-any.whl.
File metadata
- Download URL: foga-0.2.2-py3-none-any.whl
- Upload date:
- Size: 46.6 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 |
1a68588bb9d4a76824525c9036a8dbccf02749eb1e9b040686489ad8ff4c29c7
|
|
| MD5 |
66560b42ab713ef5ddc45c2171a5c9e8
|
|
| BLAKE2b-256 |
d471c6f67367b5365073b93bc5c9fff7c23949fb91c636d79cf9d700df4efad1
|
Provenance
The following attestation bundles were made for foga-0.2.2-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.2-py3-none-any.whl -
Subject digest:
1a68588bb9d4a76824525c9036a8dbccf02749eb1e9b040686489ad8ff4c29c7 - Sigstore transparency entry: 1297314887
- Sigstore integration time:
-
Permalink:
fedluc/foga@144d9a12d71996173970f369de75a76d7a7680e3 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/fedluc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@144d9a12d71996173970f369de75a76d7a7680e3 -
Trigger Event:
push
-
Statement type: