# ulope/pyformat.info

Single page cheat-sheet about Python string formatting

Repository: https://github.com/ulope/pyformat.info
Canonical: https://ross.abutalabs.com/products/pyformatinfo
Homepage: https://pyformat.info
Language: Python
License: MIT
License Family: permissive
Topics: cheat-sheets, python, string-formatter, howto
Last push: 2020-12-30T20:33:36+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4160, "days_push": 2072, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1287, forks 135 (observed 2026-08-28T04:04:15.072187+00:00)

## What it is
PyFormat.info is a single-page cheat sheet documenting Python's old-style (%) and new-style (.format()) string formatting with practical, side-by-side examples. The site is statically generated from executable test cases, ensuring all examples are verified to produce the shown output.

## Use cases
- learn python string formatting with examples
- look up how to pad or align strings in python
- compare old-style % formatting with str.format
- find examples of formatting numbers and dates in python
- reference for named placeholders and getitem formatting

## When to choose
- you need quick, practical examples of Python string formatting
- you want verified, executable examples rather than theoretical docs
- you are teaching or learning the differences between % and .format()

## When to avoid
- you need documentation for f-strings (Python 3.6+ formatted string literals)
- you need the complete formal syntax specification of Python formatters
- you need a formatting library or tool rather than a reference page

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, developer-tools
- domain: developer-tools, tutorials, documentation
- platform: python
- tags: cheat-sheet, string-formatting, static-site, python, web

## Member repositories
- ulope/pyformat.info (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:15.072187+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:56:07.034796+00:00, confidence not recorded.
  - readme: https://github.com/ulope/pyformat.info (fetched 2026-08-28T04:04:15.072187+00:00, sha 7bcb317f028a)
  - homepage: https://pyformat.info (fetched 2026-08-29T12:12:08.986361+00:00, sha 30e22128405c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
