Skip to main content

BrainFuckInterpreter

standard usage:

from brainFuckInterpreter import BrainF

easily get outputs:

for msg in BrainF(code='yourcodehere'):
    print(msg)  #msg is what the '.' outputs

or use a comprehension

meg=[i for i in BrainF(code='yourcodehere') if i]

or just run it at once

print(BrainF(code='yourcodehere').run()) #what run() returns is a string

attributes

in the iterator called BrainF:

def __init__(self,code,*,print_memory=True, print_func=None, input_func=None)
  • print_memory => bool(is initially set to True)
  • input_func => function fot input(is initially set as BrainF.input_in_ASCII)
  • print_func => function for printing memory(is not needed when print_memory is set to False)

PrettyPrint!!!

from brainFuckInterpreter import prettyprint
prettyprint(ur list representing memory to print, the index of cell (aka element) u want to emphasize)

Metadata

Release files for BrainpyFuck 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BrainpyFuck 0.1.1
File Size Uploaded Provenance Actions
BrainpyFuck-0.1.1.tar.gz 4.6 kB Without provenance Details for BrainpyFuck-0.1.1.tar.gz

Release files / BrainpyFuck-0.1.1.tar.gz

Download URL BrainpyFuck-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cbfc866c8c7dce732cad2dd8bc5d0073eabad9168cf5f8aaab42924841db5270
BLAKE2b-256 checksum
How to use checksums
4ae44cbb09a6061c63d776afeca3d39d6923a5235457c7b6b157fc0fc5b6247b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

Security for BrainpyFuck 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page