{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"}],"enrichment":{"capability":"A pure-Python interpreter for Brainfuck that compiles source code into an optimized intermediate form for faster execution than direct interpretation.","skillfed_tags":["esoteric-languages","interpreter","compiler"],"use_cases":["Run Brainfuck programs from the command line without installing a separate interpreter or compiler","Execute Brainfuck code programmatically from Python, capturing output or providing custom input","Learn or teach esoteric language design and compilation techniques through a working pure-Python example","Benchmark or compare Brainfuck interpreter performance across implementations"],"what_it_does":"bfi is a pure-Python interpreter for Brainfuck, an esoteric programming language. It works by first compiling Brainfuck source code into an intermediate bytecode form that collapses common instruction sequences\u2014such as runs of cell pointer movements\u2014into single optimized operations. This compilation step allows bfi to execute Brainfuck programs significantly faster than naive interpreters that process each source character individually.\n\nThe package supports both Python 2 and Python 3, has no external runtime dependencies, and can be used either from the command line (via the `bfi` command) or imported as a module in your own code. It includes configurable tape size (default 30,000 cells) and wrapping overflow/underflow behavior. The package ships with example Brainfuck programs demonstrating various algorithms and games.","worth_installing":"Yes, if you need to run or study Brainfuck code. The package is lightweight, dependency-free, and genuinely faster than comparable pure-Python alternatives. However, maintenance is aging (last release 279 days ago), so treat it as stable but not actively developed. Not relevant for production systems or non-Brainfuck use cases."},"id":"bfi","links":{"html":"https://skillfed.io/packages/bfi","md":"https://skillfed.io/packages/bfi.md","pypi":"https://pypi.org/project/bfi/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-08","license_spdx":null,"license_treatment":"permissive","name":"bfi","python_support":"unspecified","summary":"A fast optimizing Brainfuck interpreter in pure python"},"popularity":{"monthly_downloads":338545,"position":7430,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.1"}
