Metadata-Version: 2.1
Name: ng.pybf
Version: 1.0.1
Summary: py.bf: Python interpreter and C transpiler/compiler for brainfuck
Author-email: Yuanhao 'Nyoeghau' Chen <nyoeghau@nyoeghau.com>
License: # MIT License
        
        Copyright (c) 2022 Yuanhao Chen <nyoeghau@nyoeghau.com>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/edward-martyr/test.pypi
Project-URL: Bug Tracker, https://github.com/edward-martyr/test.pypi/issues
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 1 - Planning
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Interpreters
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: setuptools (>=62)
Provides-Extra: lint
Requires-Dist: black (<23,>=22.6.0) ; extra == 'lint'
Requires-Dist: flake8 (<5,>=4.0.1) ; extra == 'lint'
Requires-Dist: isort (<6,>=5.10.1) ; extra == 'lint'
Requires-Dist: mypy (<1,>=0.971) ; extra == 'lint'

# `pybf`

`pybf` contains a Python interpreter and a C transpiler/compiler for brainfuck.

## Installation

```bash
pip install ng.pybf
```

## Usage

### CLI

```text
usage: pybf [-h] [-p] [-c] [--compile] [-r] [filename]

Python interpreter and C transpiler/compiler for brainfuck

positional arguments:
  filename      path to bf file; leave blank to read from stdin

options:
  -h, --help    show this help message and exit
  -p, --python  use Python to interpret and run
  -c            transpile to C
  --compile     compile the transpiled C file
  -r, --run     execute
```

You may also call it as a Python module

```bash
python3 -m pybf [-h] [-p] [-c] [--compile] [-r] [filename]
```
