FICHA · MANJARO

python-cogapp

A code generator for executing Python snippets in source files

  • console-application
  • CLI
  • Dev
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 28, 2026 description in en

Description

Generate parts of source files by executing embedded Python snippets. It helps maintainers keep repetitive code, tables, or documentation sections synchronized with small generation scripts.

This tool modifies generated output inside files, so it should be used with version control and review. Running snippets from untrusted files is unsafe because they are Python code and can perform arbitrary actions.

How to run

cog

Commands: cog

Permissions

Permissions not analysed for this source yet.