Skip to main content

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 C or C++ bindings. It replaces ad-hoc repository scripts with a single YAML configuration file that drives build, test, docs, format, lint, install, 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
  • install local packages and external dependencies 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 install --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

Start with:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foga-0.3.3.tar.gz (67.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

foga-0.3.3-py3-none-any.whl (51.5 kB view details)

Uploaded Python 3

File details

Details for the file foga-0.3.3.tar.gz.

File metadata

  • Download URL: foga-0.3.3.tar.gz
  • Upload date:
  • Size: 67.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for foga-0.3.3.tar.gz
Algorithm Hash digest
SHA256 d4c5cf9b3d8199650d6d4eadd7fb406b37cacf54ef6f8b1a166e625c35ff89b4
MD5 61671be210f199aef3ba98803607ccee
BLAKE2b-256 c3b2ca8d9afd773848cb4d419de1328c842bb6132798c4503e089eb08ef259b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for foga-0.3.3.tar.gz:

Publisher: publish.yml on fedluc/foga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file foga-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: foga-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 51.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for foga-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 60032ddbb8e74837a7d702b71bee01e9aa28d7d0135a50de2189dda6f01ec414
MD5 2efe8ff89c030f172730b4fb881b5b5f
BLAKE2b-256 126d934263bd38397c035118d21ac5093f0c8e22b7875480371a4b7a5878d7c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for foga-0.3.3-py3-none-any.whl:

Publisher: publish.yml on fedluc/foga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page