Touch's Brainf**k Interpreter!
Installation
Using the Interpreter
-
From the terminal:
- Run
touch-brainf <filename>in your terminal - If that doesn't work, use
python -m touch_brainf <filename> - You can also do
touch-brainf -horpython -m touch_brainf -hfor help
- Run
-
In a Python File:
- The
main.pyfile is an example of a way to use the package in a Python file. The example below is a very simple example. -
import touch_brainf as bf runner = bf.Runner("+++.") runner.run()
- If you want to import from a file, you can also do...
-
import touch_brainf as bf runner = bf.Runner(bf.get_code_from_file("file.bf")) runner.run()
-
- I don't know why someone would do this, but it's their choice
- The
Uninstallation
Just run pip uninstall touch-brainf!
Examples
Look at the examples folder for any help!
Changelog:
25.3.20
- Work on console application
- Change the versioning system
25.3.19.1
- Add
utils.py, helping with managing files, etc.
25.3.19
- Preparing to upload on PyPI
- PyPI uploading and making code more friendly
Metadata
Release files for touch-brainf 25.3.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| touch_brainf-25.3.20.tar.gz | 5.9 kB | Without provenance | Details for touch_brainf-25.3.20.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| touch_brainf-25.3.20-py3-none-any.whl | Python 3 | none | any | Details for touch_brainf-25.3.20-py3-none-any.whl |
Total release size: 12.4 kB
Release files / touch_brainf-25.3.20.tar.gz
| Download URL | touch_brainf-25.3.20.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d41af97c5c89acf0798bf17abf2a601f3aa8ac2570766e852769e49967264e7b
|
|
BLAKE2b-256 checksum How to use checksums |
08103304bc5243642becd574f2eb37ed13586baaedf6abcb02aeb70c01450c53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.6
|
Release files / touch_brainf-25.3.20-py3-none-any.whl
| Download URL | touch_brainf-25.3.20-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4126f7a5053a1b1b6f1cfd0e07335dfd6c26e7a88d6e3146abef39c2af5ef3d5
|
|
BLAKE2b-256 checksum How to use checksums |
966c5391d9b42d4d524980809e4527dc780b5ef67915c701d66b63cbd12aaa1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.6
|
Security for touch-brainf 25.3.20
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.