Skip to main content

The simplest and easiest to use Brainfuck interpreter in Python.

Project description

The simplest and easiest to use Brainfuck interpreter in Python.

Install

pip install brainfuckery

Examples

Converting text to brainfuck code.

from brainfuckery import Brainfuckery

textToConvert = input("text: ")
result = Brainfuckery().convert(textToConvert)

print(result)

Interpret brainfuck code/convert brainfuck to text

from brainfuckery import Brainfuckery

codeToInterpret = input("code: ")
result = Brainfuckery().interpret(codeToInterpret)

print(result)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brainfuckery-1.0.1.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file brainfuckery-1.0.1.tar.gz.

File metadata

  • Download URL: brainfuckery-1.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for brainfuckery-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5171d1651393aa6d963f60df1a72356f01fcfb406d9f41b36a1f9b5adf2e59c1
MD5 521db9aa8c86763c2648de305c14b516
BLAKE2b-256 23bf6a4be34aa9ce1b4992cc7b541756df692e26ac0215d81e9f0cfd8f105de7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page