altray 1.0.6__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,11 @@
1
+ All Rights Reserved
2
+
3
+ Copyright (c) 2026 Pizeltray Studios
4
+
5
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
8
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
9
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
10
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
11
+ THE SOFTWARE.
altray-1.0.6/PKG-INFO ADDED
@@ -0,0 +1,103 @@
1
+ Metadata-Version: 2.4
2
+ Name: altray
3
+ Version: 1.0.6
4
+ Author: Pizeltray Studios
5
+ Requires-Python: >=3.8
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE.lic
8
+ Dynamic: author
9
+ Dynamic: description
10
+ Dynamic: description-content-type
11
+ Dynamic: license-file
12
+ Dynamic: requires-python
13
+
14
+ # Altray Library
15
+
16
+ Altray is a simple Python utility library made for learning and building small projects. It includes basic tools for text, math, games, patterns, and simple GUI windows.
17
+
18
+ ---
19
+
20
+ # Installation
21
+
22
+ pip install altray
23
+
24
+ ---
25
+
26
+ # Importing
27
+
28
+ from altray.main import *
29
+
30
+ Or import specific functions:
31
+
32
+ from altray import hello, greet, triangle
33
+
34
+ ---
35
+
36
+ # Features
37
+
38
+ ## Basic Functions
39
+
40
+ hello()
41
+ greet("Marco")
42
+ meow()
43
+ bark()
44
+
45
+ ---
46
+
47
+ ## Date and Time
48
+
49
+ date()
50
+ time()
51
+
52
+ ---
53
+
54
+ ## Drawing Tools
55
+
56
+ triangle(5)
57
+ quadrilateral(4, 6, "*")
58
+ bar(10)
59
+
60
+ ---
61
+
62
+ ## Window System
63
+
64
+ window(500, 800, "My App")
65
+
66
+ ---
67
+
68
+ ## Games and Random Tools
69
+
70
+ dice_roll()
71
+ coin_flip()
72
+ timer(5)
73
+
74
+ ---
75
+
76
+ ## Text Tools
77
+
78
+ reverse_text("hello")
79
+ is_even(10)
80
+
81
+ ---
82
+
83
+ # Example Usage
84
+
85
+ from altray.main import *
86
+
87
+ hello()
88
+ triangle(5)
89
+
90
+ print(is_even(7))
91
+ print(reverse_text("Marco"))
92
+
93
+ ---
94
+
95
+ # Notes
96
+
97
+ - Some functions print output directly
98
+ - Some functions return values for reuse
99
+ - Requires Python 3.8+
100
+
101
+ ---
102
+
103
+ All Rights Reserved 2026
altray-1.0.6/README.md ADDED
@@ -0,0 +1,90 @@
1
+ # Altray Library
2
+
3
+ Altray is a simple Python utility library made for learning and building small projects. It includes basic tools for text, math, games, patterns, and simple GUI windows.
4
+
5
+ ---
6
+
7
+ # Installation
8
+
9
+ pip install altray
10
+
11
+ ---
12
+
13
+ # Importing
14
+
15
+ from altray.main import *
16
+
17
+ Or import specific functions:
18
+
19
+ from altray import hello, greet, triangle
20
+
21
+ ---
22
+
23
+ # Features
24
+
25
+ ## Basic Functions
26
+
27
+ hello()
28
+ greet("Marco")
29
+ meow()
30
+ bark()
31
+
32
+ ---
33
+
34
+ ## Date and Time
35
+
36
+ date()
37
+ time()
38
+
39
+ ---
40
+
41
+ ## Drawing Tools
42
+
43
+ triangle(5)
44
+ quadrilateral(4, 6, "*")
45
+ bar(10)
46
+
47
+ ---
48
+
49
+ ## Window System
50
+
51
+ window(500, 800, "My App")
52
+
53
+ ---
54
+
55
+ ## Games and Random Tools
56
+
57
+ dice_roll()
58
+ coin_flip()
59
+ timer(5)
60
+
61
+ ---
62
+
63
+ ## Text Tools
64
+
65
+ reverse_text("hello")
66
+ is_even(10)
67
+
68
+ ---
69
+
70
+ # Example Usage
71
+
72
+ from altray.main import *
73
+
74
+ hello()
75
+ triangle(5)
76
+
77
+ print(is_even(7))
78
+ print(reverse_text("Marco"))
79
+
80
+ ---
81
+
82
+ # Notes
83
+
84
+ - Some functions print output directly
85
+ - Some functions return values for reuse
86
+ - Requires Python 3.8+
87
+
88
+ ---
89
+
90
+ All Rights Reserved 2026
@@ -0,0 +1 @@
1
+ from .main import hello, greet, meow, bark, date, time, bang, bar, triangle, quadrilateral, window, dice_roll, coin_flip, timer, reverse_text, is_even
@@ -0,0 +1,69 @@
1
+ from datetime import datetime as dt
2
+ import tkinter as tk
3
+ import random as rd
4
+ import time as t
5
+
6
+ # Basic Functions
7
+
8
+ def hello():
9
+ print("Hello World!")
10
+
11
+ def greet(name):
12
+ print(f"Hello {name}!")
13
+
14
+ def meow():
15
+ print("Meow!")
16
+
17
+ def bark():
18
+ print("Arf!")
19
+
20
+ # Calendar Functions
21
+
22
+ def date():
23
+ print(dt.now().strftime("%d-%m-%Y"))
24
+
25
+ def time():
26
+ print(dt.now().strftime("%H:%M:%S"))
27
+
28
+ # Utility Fuctions
29
+
30
+ def bang():
31
+ print("* ", end="")
32
+
33
+ def bar(length):
34
+ print("=" * length)
35
+
36
+ def triangle(height):
37
+ n = height
38
+ for i in range(1, n + 1):
39
+ print(' ' * (n - i) + '* ' * i)
40
+
41
+ def quadrilateral(height, length, symbol):
42
+ for i in range(height):
43
+ for j in range(length):
44
+ print(symbol, end='')
45
+ print()
46
+
47
+ def window(height, length, name):
48
+ win = tk.Tk()
49
+ win.geometry(f"{length}x{height}")
50
+ win.title(name)
51
+ win.resizable(False, False)
52
+ win.mainloop()
53
+
54
+ def dice_roll():
55
+ print(rd.randint(1, 6))
56
+
57
+ def coin_flip():
58
+ print(rd.choice(["Heads", "Tails"]))
59
+
60
+ def timer(seconds):
61
+ while seconds > 0:
62
+ t.sleep(1)
63
+ seconds -= 1
64
+
65
+ def reverse_text(text):
66
+ return text[::-1]
67
+
68
+ def is_even(number):
69
+ return number % 2 == 0
@@ -0,0 +1,103 @@
1
+ Metadata-Version: 2.4
2
+ Name: altray
3
+ Version: 1.0.6
4
+ Author: Pizeltray Studios
5
+ Requires-Python: >=3.8
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE.lic
8
+ Dynamic: author
9
+ Dynamic: description
10
+ Dynamic: description-content-type
11
+ Dynamic: license-file
12
+ Dynamic: requires-python
13
+
14
+ # Altray Library
15
+
16
+ Altray is a simple Python utility library made for learning and building small projects. It includes basic tools for text, math, games, patterns, and simple GUI windows.
17
+
18
+ ---
19
+
20
+ # Installation
21
+
22
+ pip install altray
23
+
24
+ ---
25
+
26
+ # Importing
27
+
28
+ from altray.main import *
29
+
30
+ Or import specific functions:
31
+
32
+ from altray import hello, greet, triangle
33
+
34
+ ---
35
+
36
+ # Features
37
+
38
+ ## Basic Functions
39
+
40
+ hello()
41
+ greet("Marco")
42
+ meow()
43
+ bark()
44
+
45
+ ---
46
+
47
+ ## Date and Time
48
+
49
+ date()
50
+ time()
51
+
52
+ ---
53
+
54
+ ## Drawing Tools
55
+
56
+ triangle(5)
57
+ quadrilateral(4, 6, "*")
58
+ bar(10)
59
+
60
+ ---
61
+
62
+ ## Window System
63
+
64
+ window(500, 800, "My App")
65
+
66
+ ---
67
+
68
+ ## Games and Random Tools
69
+
70
+ dice_roll()
71
+ coin_flip()
72
+ timer(5)
73
+
74
+ ---
75
+
76
+ ## Text Tools
77
+
78
+ reverse_text("hello")
79
+ is_even(10)
80
+
81
+ ---
82
+
83
+ # Example Usage
84
+
85
+ from altray.main import *
86
+
87
+ hello()
88
+ triangle(5)
89
+
90
+ print(is_even(7))
91
+ print(reverse_text("Marco"))
92
+
93
+ ---
94
+
95
+ # Notes
96
+
97
+ - Some functions print output directly
98
+ - Some functions return values for reuse
99
+ - Requires Python 3.8+
100
+
101
+ ---
102
+
103
+ All Rights Reserved 2026
@@ -0,0 +1,10 @@
1
+ LICENSE.lic
2
+ README.md
3
+ setup.py
4
+ altray/__init__.py
5
+ altray/main.py
6
+ altray.egg-info/PKG-INFO
7
+ altray.egg-info/SOURCES.txt
8
+ altray.egg-info/dependency_links.txt
9
+ altray.egg-info/entry_points.txt
10
+ altray.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ altray-hello = altray:hello
@@ -0,0 +1 @@
1
+ altray
altray-1.0.6/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
altray-1.0.6/setup.py ADDED
@@ -0,0 +1,22 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ with open("README.md", "r") as f:
4
+ description = f.read()
5
+
6
+ setup(
7
+ name="altray",
8
+ version="1.0.6",
9
+ author="Pizeltray Studios",
10
+ packages=find_packages(),
11
+ python_requires=">=3.8",
12
+ install_requires=[
13
+ # No Requirements
14
+ ],
15
+ entry_points={
16
+ "console_scripts":[
17
+ "altray-hello = altray:hello",
18
+ ],
19
+ },
20
+ long_description=description,
21
+ long_description_content_type="text/markdown",
22
+ )