1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-05 19:55:46 +00:00
Files
fep/scripts/impl_count.py
T

17 lines
514 B
Python
Raw Normal View History

2025-09-21 20:18:39 +02:00
#!/usr/bin/env python
2025-11-01 08:40:20 +01:00
from fep_tools import index
2025-09-21 20:18:39 +02:00
result = []
print("| Title | Status | Count |")
print("| ----- | ------ | ----- |")
for fep in index():
slug = fep.parsed_frontmatter["slug"]
status = fep.parsed_frontmatter["status"]
typ = fep.parsed_frontmatter.get("type") or "-"
2025-11-01 08:40:20 +01:00
if fep.implementation_count == 0:
2025-09-21 20:18:39 +02:00
continue
2025-11-01 08:40:20 +01:00
print(
f"| [{fep.title}](https://codeberg.org/fediverse/fep/src/branch/main/fep/{slug}/fep-{slug}.md) | {status} | {fep.implementation_count} |"
)