Cog: A content generator for executing Python snippets in source files.
Maintained. Last release 2 weeks ago, commits in 11 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install cogapp| |license| |versions| |status|
| |ci-status| |kit| |format|
| |sponsor| |bluesky-nedbat| |mastodon-nedbat|
===
Cog
===
Cog content generation tool. Small bits of computation for static files.
See the `cog docs`_ for details.
.. _cog docs: https://cog.readthedocs.io/en/latest/
Code repository and issue tracker are at
`GitHub <https://github.com/nedbat/cog>`_.
To run the tests::
$ pip install -r dev-requirements.txt
$ tox
.. |ci-status| image:: https://github.com/nedbat/cog/actions/workflows/ci.yml/badge.svg?branch=master&event=push
:target: https://github.com/nedbat/cog/actions/workflows/ci.yml
:alt: CI status
.. |kit| image:: https://img.shields.io/pypi/v/cogapp.svg
:target: https://pypi.org/project/cogapp/
:alt: PyPI status
.. |format| image:: https://img.shields.io/pypi/format/cogapp.svg
:target: https://pypi.org/project/cogapp/
:alt: Kit format
.. |license| image:: https://img.shields.io/pypi/l/cogapp.svg
:target: https://pypi.org/project/cogapp/
:alt: License
.. |versions| image:: https://img.shields.io/pypi/pyversions/cogapp.svg
:target: https://pypi.org/project/cogapp/
:alt: Python versions supported
.. |status| image:: https://img.shields.io/pypi/status/cogapp.svg
:target: https://pypi.org/project/cogapp/
:alt: Package stability
.. |mastodon-nedbat| image:: https://img.shields.io/badge/dynamic/json?style=flat&labelColor=450657&logo=mastodon&logoColor=ffffff&label=@nedbat&query=followers_count&url=https%3A%2F%2Fhachyderm.io%2Fapi%2Fv1%2Faccounts%2Flookup%3Facct=nedbat
:target: https://hachyderm.io/@nedbat
:alt: nedbat on Mastodon
.. |bluesky-nedbat| image:: https://img.shields.io/badge/dynamic/json?style=flat&color=96a3b0&labelColor=3686f7&logo=icloud&logoColor=white&label=@nedbat&url=https%3A%2F%2Fpublic.api.bsky.app%2Fxrpc%2Fapp.bsky.actor.getProfile%3Factor=nedbat.com&query=followersCount
:target: https://bsky.app/profile/nedbat.com
:alt: nedbat on Bluesky
.. |sponsor| image:: https://img.shields.io/badge/%E2%9D%A4-Sponsor%20me-brightgreen?style=flat&logo=GitHub
:target: https://github.com/sponsors/nedbat
:alt: Sponsor me on GitHub