Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobdotcom/bftools
A brainfuck toolbox for python.
https://github.com/bobdotcom/bftools
Last synced: 3 months ago
JSON representation
A brainfuck toolbox for python.
- Host: GitHub
- URL: https://github.com/bobdotcom/bftools
- Owner: BobDotCom
- License: mit
- Created: 2021-09-14T18:28:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-05T23:39:25.000Z (5 months ago)
- Last Synced: 2024-10-06T13:35:31.400Z (3 months ago)
- Language: Python
- Size: 104 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===================
bftools
===================|Mypy| |Pylint| |Black|
|Codecov| |Checks| |Lint| |Tests|
|PyPI| |Versions| |Docs badge| |Downloads badge| |GitHub|
A brainfuck toolbox for python.
.. |Mypy| image:: http://www.mypy-lang.org/static/mypy_badge.svg
:target: http://mypy-lang.org/
:alt: Checked with mypy
.. |Pylint| image:: https://img.shields.io/badge/linting-pylint-yellowgreen
:target: https://github.com/PyCQA/pylint
:alt: linting: pylint
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code style: black.. |Codecov| image:: https://codecov.io/gh/BobDotCom/bftools/branch/main/graph/badge.svg?token=3FTK3MPDBI
:target: https://codecov.io/gh/BobDotCom/bftools
:alt: Codecov
.. |Checks| image:: https://github.com/BobDotCom/bftools/actions/workflows/check.yml/badge.svg
:target: https://github.com/BobDotCom/bftools/actions/workflows/check.yml
:alt: Checks
.. |Lint| image:: https://github.com/BobDotCom/bftools/actions/workflows/lint.yml/badge.svg
:target: https://github.com/BobDotCom/bftools/actions/workflows/lint.yml
:alt: Type Check and Lint
.. |Tests| image:: https://github.com/BobDotCom/bftools/actions/workflows/test.yml/badge.svg
:target: https://github.com/BobDotCom/bftools/actions/workflows/test.yml
:alt: Unit Tests.. |PyPI| image:: https://img.shields.io/pypi/v/bftools.svg?logo=pypi&color=yellowgreen&logoColor=white
:target: https://pypi.python.org/pypi/py-cord
:alt: PyPI version info
.. |Versions| image:: https://img.shields.io/pypi/pyversions/bftools.svg?logo=python&logoColor=white
:target: https://pypi.python.org/pypi/py-cord
:alt: PyPI supported Python versions
.. |Docs badge| image:: https://readthedocs.org/projects/bftools/badge/?version=latest
:target: https://bftools.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. |Downloads badge| image:: https://static.pepy.tech/personalized-badge/bftools?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads
:target: https://pepy.tech/project/bftools
:alt: Download Counter
.. |GitHub| image:: https://img.shields.io/github/v/release/BobDotCom/bftools?include_prereleases&label=Latest%20Release&logo=github&sort=semver&logoColor=white
:target: https://github.com/BobDotCom/bftools/releases
:alt: Latest releasePyPI: https://pypi.org/project/bftools/
Docs: https://bftools.rtfd.io/
Installation
############
You can install released versions of bftools from the Python Package Index via pip or a similar tool:**Stable Release:** ``pip install bftools``
**Working Version:** ``pip install git+https://github.com/BobDotCom/bftools.git``
Usage
#####.. code-block:: python
import bftools
comp = bftools.BrainfuckTools()
py = comp.compile("++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>>++++++++++++++++.---------------.++++++++++++++.+.")
print(py.code)