BSD Ports

devel/py-cog 3.1.0_1 DragonFly

Code Generator for any language

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
56.7 KiB, 464.9 KiB installed

Description

Cog transforms files in a very simple way: it finds chunks of Python code embedded in them, executes the Python code, and inserts its output back into the original file. The file can contain whatever text you like around the Python code. It will usually be source code.

Install

Binary package:

pkg install py311-cog

From DPorts:

cd /usr/dports/devel/py-cog && make install clean

Dependencies

Run dependencies 1