# mathialo/bython

Python with braces. Because python is awesome, but whitespace is awful.

Repository: https://github.com/mathialo/bython
Canonical: https://ross.abutalabs.com/products/bython
Language: Python
License: MIT
License Family: permissive
Topics: python, whitespace, braces, indentation, bython
Last push: 2020-11-26T05:23:59+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3801, "days_push": 2106, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2687, forks 109 (observed 2026-08-28T04:07:10.737448+00:00)

## What it is
Bython is a Python preprocessor that lets you write Python code using curly braces instead of significant indentation. It translates .by files into standard Python files and runs them with the regular Python interpreter, so existing modules still work.

## Use cases
- write python with braces instead of indentation
- convert python files to brace syntax
- run python code without worrying about tabs and spaces
- preprocess curly bracket code into valid python
- use python libraries with brace-delimited syntax

## When to choose
- you strongly prefer braces over significant whitespace
- you want to mix indentation styles without breaking python code
- you need a lightweight transpiler from braces to python

## When to avoid
- you are happy with standard python indentation
- you need a full standalone language with tooling and debugger support
- you need actively maintained software with recent releases

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: parser, programming-language, developer-tools
- domain: programming-languages, developer-tools
- platform: python, cli, cross-platform
- tags: python-preprocessor, braces, transpiler, whitespace, command-line

## Member repositories
- mathialo/bython (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:10.737448+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-30T02:17:46.372035+00:00, confidence not recorded.
  - readme: https://github.com/mathialo/bython (fetched 2026-08-28T04:07:10.737448+00:00, sha e8cf74e9c7c6)
  - registry_pypi: https://pypi.org/pypi/bython/json (fetched 2026-08-29T09:59:50.950022+00:00, sha a58749ddb631)
- Data as of 2026-08-30T08:39:29.467469+00:00.
