SpBFUltraProMaxAirNeoEx 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 EmoCez
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.4
2
+ Name: SpBFUltraProMaxAirNeoEx
3
+ Version: 0.1.0
4
+ Summary: Super BrainF**k Ultra Professional Max Air Neo Ex
5
+ Author: EMO_123
6
+ License: MIT
7
+ Keywords: emo123,joke,BrainFuck,BF
8
+ Requires-Python: >=3.8
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE.txt
11
+ Dynamic: license-file
12
+
13
+ # Super BrainF\*\*k Ultra Professional Max Air Neo Ex
14
+
15
+ ** Tip: I am not the original author of BrainF\*\*k. **
16
+
17
+ ** Warning: The following content contains some profanity. Please ensure you are over 3 million years old. **
18
+
19
+ # install
20
+ ```bash
21
+ pip install SpBFUltraProMaxAirNeoEx
22
+ ```
23
+ # Run BF in your Python code.
24
+ ```python
25
+ import bf
26
+ bf.fuck("""
27
+ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]
28
+ >++.>+.+++++++..+++.>++.<<+++++++++++++++.
29
+ >.+++.------.--------.>+.>.
30
+ """)
31
+ ```
32
+ # Run BF in your console
33
+ ```bash
34
+ bf -c "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."
35
+ bf helloworld.bf
36
+ ```
37
+ # Install the library
38
+
39
+ Alright, I'm building the webpage.
40
+
41
+ You cannot install it directly from the webpage for now.
42
+
43
+ ```bash
44
+ bf install a_certain_library #I haven't set up the website yet.
45
+ ```
46
+
47
+ However, you can import it locally.
48
+
49
+ ```bash
50
+ cd #(The directory where your library is located)
51
+ bf install -f #(Your library name)
52
+ ```
53
+
54
+ # uninstall
55
+ ```bash
56
+ bf uninstall #(Your library name)
57
+ ```
@@ -0,0 +1,45 @@
1
+ # Super BrainF\*\*k Ultra Professional Max Air Neo Ex
2
+
3
+ ** Tip: I am not the original author of BrainF\*\*k. **
4
+
5
+ ** Warning: The following content contains some profanity. Please ensure you are over 3 million years old. **
6
+
7
+ # install
8
+ ```bash
9
+ pip install SpBFUltraProMaxAirNeoEx
10
+ ```
11
+ # Run BF in your Python code.
12
+ ```python
13
+ import bf
14
+ bf.fuck("""
15
+ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]
16
+ >++.>+.+++++++..+++.>++.<<+++++++++++++++.
17
+ >.+++.------.--------.>+.>.
18
+ """)
19
+ ```
20
+ # Run BF in your console
21
+ ```bash
22
+ bf -c "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."
23
+ bf helloworld.bf
24
+ ```
25
+ # Install the library
26
+
27
+ Alright, I'm building the webpage.
28
+
29
+ You cannot install it directly from the webpage for now.
30
+
31
+ ```bash
32
+ bf install a_certain_library #I haven't set up the website yet.
33
+ ```
34
+
35
+ However, you can import it locally.
36
+
37
+ ```bash
38
+ cd #(The directory where your library is located)
39
+ bf install -f #(Your library name)
40
+ ```
41
+
42
+ # uninstall
43
+ ```bash
44
+ bf uninstall #(Your library name)
45
+ ```
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.4
2
+ Name: SpBFUltraProMaxAirNeoEx
3
+ Version: 0.1.0
4
+ Summary: Super BrainF**k Ultra Professional Max Air Neo Ex
5
+ Author: EMO_123
6
+ License: MIT
7
+ Keywords: emo123,joke,BrainFuck,BF
8
+ Requires-Python: >=3.8
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE.txt
11
+ Dynamic: license-file
12
+
13
+ # Super BrainF\*\*k Ultra Professional Max Air Neo Ex
14
+
15
+ ** Tip: I am not the original author of BrainF\*\*k. **
16
+
17
+ ** Warning: The following content contains some profanity. Please ensure you are over 3 million years old. **
18
+
19
+ # install
20
+ ```bash
21
+ pip install SpBFUltraProMaxAirNeoEx
22
+ ```
23
+ # Run BF in your Python code.
24
+ ```python
25
+ import bf
26
+ bf.fuck("""
27
+ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]
28
+ >++.>+.+++++++..+++.>++.<<+++++++++++++++.
29
+ >.+++.------.--------.>+.>.
30
+ """)
31
+ ```
32
+ # Run BF in your console
33
+ ```bash
34
+ bf -c "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."
35
+ bf helloworld.bf
36
+ ```
37
+ # Install the library
38
+
39
+ Alright, I'm building the webpage.
40
+
41
+ You cannot install it directly from the webpage for now.
42
+
43
+ ```bash
44
+ bf install a_certain_library #I haven't set up the website yet.
45
+ ```
46
+
47
+ However, you can import it locally.
48
+
49
+ ```bash
50
+ cd #(The directory where your library is located)
51
+ bf install -f #(Your library name)
52
+ ```
53
+
54
+ # uninstall
55
+ ```bash
56
+ bf uninstall #(Your library name)
57
+ ```
@@ -0,0 +1,9 @@
1
+ LICENSE.txt
2
+ README.md
3
+ bf.py
4
+ pyproject.toml
5
+ SpBFUltraProMaxAirNeoEx.egg-info/PKG-INFO
6
+ SpBFUltraProMaxAirNeoEx.egg-info/SOURCES.txt
7
+ SpBFUltraProMaxAirNeoEx.egg-info/dependency_links.txt
8
+ SpBFUltraProMaxAirNeoEx.egg-info/entry_points.txt
9
+ SpBFUltraProMaxAirNeoEx.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ bf = bf:bfc
@@ -0,0 +1,159 @@
1
+ import sys
2
+ import os
3
+ import functools
4
+ from pathlib import Path
5
+ import time
6
+ import json
7
+
8
+ bfhome = Path.home() / ".SBFUPMANE"
9
+ bfhome.mkdir(parents=True, exist_ok=True)
10
+ class CheatingLeadsToError(Exception): pass
11
+ try:
12
+ with (bfhome / "lib.json").open("r",encoding="utf-8") as f:
13
+ libs = json.load(f)
14
+ except FileNotFoundError:
15
+ libs = []
16
+ with (bfhome / "lib.json").open("w", encoding="utf-8") as f:
17
+ json.dump(libs, f)
18
+ except Exception:
19
+ raise CheatingLeadsToError("You FUCKING changed my storage file.")
20
+ try:
21
+ libnames = [item["name"] for lib in libs for item in lib["ting"]]
22
+ libexpres = [item["expre"] for lib in libs for item in lib["ting"]]
23
+ if len(libnames) != len(libexpres):
24
+ raise CheatingLeadsToError("You FUCKING changed my storage file.")
25
+ except Exception:
26
+ raise CheatingLeadsToError("You FUCKING changed my storage file.")
27
+
28
+ def w():
29
+ time.sleep(0.3)
30
+ def command(func):
31
+ @functools.wraps(func)
32
+ def wrapper():
33
+ argv = sys.argv[1:]
34
+ positional = []
35
+ keyword = {}
36
+
37
+ for arg in argv:
38
+ if '=' in arg:
39
+ key, value = arg.split('=', 1)
40
+ keyword[key] = value
41
+ else:
42
+ positional.append(arg)
43
+
44
+ return func(*positional, **keyword)
45
+ return wrapper
46
+
47
+ def fuck(code):
48
+ code = code.replace("\n", "").replace(" ","")
49
+
50
+ main = {0: 0}
51
+ now = 0
52
+ ins = []
53
+ text = 0
54
+
55
+ while text < len(code):
56
+ tt = code[text]
57
+
58
+ if tt == ">":
59
+ now += 1
60
+ if now not in main:
61
+ main[now] = 0
62
+ elif tt == "<":
63
+ now -= 1
64
+ if now not in main:
65
+ main[now] = 0
66
+ elif tt == "+":
67
+ main[now] = main.get(now, 0) + 1
68
+ elif tt == "-":
69
+ main[now] = main.get(now, 0) - 1
70
+ elif tt == ".":
71
+ print(chr(main[now]), end="")
72
+ elif tt == ",":
73
+ try:main[now] = ord(input()[0])
74
+ except:main[now] = 0
75
+ elif tt == "[":
76
+ if main[now] == 0:
77
+
78
+ loop = 1
79
+ while loop > 0:
80
+ text += 1
81
+ if code[text] == "[":
82
+ loop += 1
83
+ elif code[text] == "]":
84
+ loop -= 1
85
+ else:
86
+
87
+ ins.append(text)
88
+ elif tt == "]":
89
+ if main[now] != 0:
90
+
91
+ text = ins[-1]
92
+ else:
93
+
94
+ ins.pop()
95
+ else:
96
+ if tt in libnames:
97
+ run = libexpres[libnames.index(tt)]
98
+ temval = 0
99
+ for com in run:
100
+ if isinstance(com,str):
101
+ if com == "l":
102
+ now -= 1
103
+ elif com == "r":
104
+ now += 1
105
+ elif com == "get":
106
+ temval = main[now]
107
+ elif com == "give":
108
+ main[now] = temval
109
+ if now not in main:
110
+ main[now] = 0
111
+ elif isinstance(com,dict):
112
+ if list(com)[0] == "set":
113
+ main[now]=com["set"]
114
+
115
+ text += 1
116
+
117
+ @command
118
+ def bfc(play="main.py",commands=None,commands2=None):
119
+ if play not in ("-c","install","uninstall"):
120
+ try:
121
+ with open("main.bf","r",encoding="utf-8") as f:
122
+ fuck(f.read())
123
+ except Exception as e:
124
+ print(f"{type(e).__name__}: {e}")
125
+ elif play == "c":
126
+ if not commands is None: fuck(commands)
127
+ else: print("Please fill in what you want to execute!")
128
+ elif play == "install":
129
+ if not commands is None and commands != "-f":
130
+ print("This version does not yet have web functionality! Please upgrade (if available).")
131
+ pass
132
+ elif commands == "-f":
133
+ if not commands2 is None:
134
+ try:
135
+ print("Loading...")
136
+ with open(commands2+".json","r",encoding="utf-8") as f:
137
+ data = json.load(f)
138
+ print("Writing in progress...")
139
+ libs.append({"name":commands2,"ting":data})
140
+ print("Covering...")
141
+ with (bfhome / "lib.json").open("w", encoding="utf-8") as f:
142
+ json.dump(libs, f)
143
+ print(f"'{commands2}' has been installed")
144
+ except Exception as e:
145
+ print(f"{type(e).__name__}: {e}")
146
+ else: print("Please fill in what you want to install!")
147
+ else: print("Please fill in what you want to install!")
148
+ elif play=="uninstall":
149
+ if not commands is None:
150
+ if commands in [i["name"] for i in libs]:
151
+ print("Popping up...")
152
+ libs.pop(next((i for i, item in enumerate(libs) if item["name"] == commands), None))
153
+ print("uninstalling...")
154
+ with (bfhome / "lib.json").open("w", encoding="utf-8") as f:
155
+ json.dump(libs, f)
156
+ print(f'"{commands}" has been deleted.')
157
+ else: print(f'{commands} does not exist')
158
+
159
+ else: print("Please fill in what you want to uninstall!")
@@ -0,0 +1,19 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "SpBFUltraProMaxAirNeoEx"
7
+ version = "0.1.0"
8
+ description = "Super BrainF**k Ultra Professional Max Air Neo Ex"
9
+ authors = [{name = "EMO_123"}]
10
+ license = {text = "MIT"}
11
+ readme = "README.md"
12
+ requires-python = ">=3.8"
13
+ dependencies = []
14
+ keywords = ["emo123","joke","BrainFuck","BF"]
15
+
16
+ [tool.setuptools]
17
+ py-modules = ["bf"]
18
+ [project.scripts]
19
+ bf = "bf:bfc"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+