Get this up to daaaaate and start the experimenting!
%uMFR/GkbzG2kP58Vtom+reJztqOmF262mINl42ht/Mc=.sha256
master
from ini-file
closing_remark.py | changed |
kriya-helper.py | changed |
breath_of_fire.py | deleted |
asanas/__init__.py | added |
asanas/breath_of_fire.py | added |
asanas/cat_cow.py | added |
asanas/hollow_body.py | added |
asanas/intertwingled.py | added |
asanas/mantra.py | added |
asanas/meditation.py | added |
asanas/sounds/__init__.py | added |
asanas/sounds/kriya_chime.wav | added |
asanas/sounds/starting_bell-old1.wav | added |
asanas/sounds/starting_bell.wav | added |
cat_cow.py | deleted |
hollow_body.py | deleted |
config-fun.py | added |
intertwingled.py | deleted |
mantra.py | deleted |
morning-kriya.ini | added |
meditation.py | deleted |
possible_func.py | added |
sounds/kriya_chime.wav | deleted |
sounds/starting_bell-old1.wav | deleted |
sounds/starting_bell.wav | deleted |
closing_remark.py | ||
---|---|---|
@@ -1,7 +1,7 @@ | ||
1 | 1 … | |
2 | 2 … | def main(): |
3 | - print """ | |
3 … | + yag = """ | |
4 | 4 … | |
5 | 5 … | |
6 | 6 … | |
7 | 7 … | |
@@ -34,8 +34,9 @@ | ||
34 | 34 … | |
35 | 35 … | |
36 | 36 … | |
37 | 37 … | |
38 | -""" | |
38 … | + """ | |
39 … | + print(yag) | |
39 | 40 … | |
40 | 41 … | if __name__ == "__main__": |
41 | 42 … | main() |
kriya-helper.py | ||
---|---|---|
@@ -1,16 +1,11 @@ | ||
1 | 1 … | import time |
2 | 2 … | import pyglet |
3 | -import intertwingled | |
4 | -import breath_of_fire | |
5 | -import hollow_body | |
6 | -import cat_cow | |
7 | -import mantra | |
8 | -import meditation | |
3 … | +from asanas import * | |
9 | 4 … | import closing_remark |
10 | 5 … | |
11 | 6 … | def main(): |
12 | - print """ | |
7 … | + splashpage = """ | |
13 | 8 … | |
14 | 9 … | |
15 | 10 … | |
16 | 11 … | |
@@ -24,9 +19,9 @@ | ||
24 | 19 … | 888 Y88b 888 888 Y88b 888 888 888 |
25 | 20 … | 888 Y88b 888 888 "Y88888 "Y888888 |
26 | 21 … | 888 |
27 | 22 … | Y8b d88P |
28 | - "Y88P" | |
23 … | + 'Y88P" | |
29 | 24 … | 888 888 888 |
30 | 25 … | 888 888 888 |
31 | 26 … | 888 888 888 |
32 | 27 … | 8888888888 .d88b. 888 88888b. .d88b. 888d888 |
@@ -41,16 +36,17 @@ | ||
41 | 36 … | |
42 | 37 … | |
43 | 38 … | |
44 | 39 … | """ |
45 | - begin = raw_input("Press Enter > ") | |
40 … | + print(splashpage) | |
41 … | + begin = input("Press Enter > ") | |
46 | 42 … | if begin == "": |
47 | 43 … | intertwingled.beginning() |
48 | - summary() | |
44 … | + intention() | |
49 | 45 … | closing_remark.main() |
50 | 46 … | |
51 | -def summary(): | |
52 | - print """ | |
47 … | +def intention(): | |
48 … | + summary = """ | |
53 | 49 … | |
54 | 50 … | |
55 | 51 … | |
56 | 52 … | |
@@ -81,10 +77,11 @@ | ||
81 | 77 … | |
82 | 78 … | |
83 | 79 … | |
84 | 80 … | """ |
85 | - print ("Start your Kriya? [y/N]") | |
86 | - run = raw_input("> ") | |
81 … | + print(intention) | |
82 … | + print("Start your Kriya? [y/N]") | |
83 … | + run = input("> ") | |
87 | 84 … | # only run if the user types y |
88 | 85 … | if run == "y": |
89 | 86 … | kriya() |
90 | 87 … |
breath_of_fire.py | ||
---|---|---|
@@ -1,47 +1,0 @@ | ||
1 | -import time | |
2 | -import intertwingled | |
3 | - | |
4 | -def main(duration): | |
5 | - mins = 0 | |
6 | - print """ | |
7 | - | |
8 | - | |
9 | - | |
10 | - | |
11 | - | |
12 | - | |
13 | -888888b. 888 888 | |
14 | -888 "88b 888 888 | |
15 | -888 .88P 888 888 | |
16 | -8888888K. 888d888 .d88b. 8888b. 888888 88888b. | |
17 | -888 "Y88b 888P" d8P Y8b "88b 888 888 "88b | |
18 | -888 888 888 88888888 .d888888 888 888 888 | |
19 | -888 d88P 888 Y8b. 888 888 Y88b. 888 888 | |
20 | -8888888P" 888 "Y8888 "Y888888 "Y888 888 888 | |
21 | - | |
22 | - | |
23 | - | |
24 | - .d888 8888888888 d8b | |
25 | - d88P" 888 Y8P | |
26 | - 888 888 | |
27 | - .d88b. 888888 8888888 888 888d888 .d88b. | |
28 | -d88""88b 888 888 888 888P" d8P Y8b | |
29 | -888 888 888 888 888 888 88888888 | |
30 | -Y88..88P 888 888 888 888 Y8b. | |
31 | - "Y88P" 888 888 888 888 "Y8888 | |
32 | - | |
33 | - | |
34 | - | |
35 | - | |
36 | - | |
37 | - | |
38 | - | |
39 | - | |
40 | - """ | |
41 | - while mins != duration: | |
42 | - time.sleep(60) | |
43 | - mins += 1 | |
44 | - intertwingled.transition() | |
45 | - | |
46 | -if __name__ == "__main__": | |
47 | - main() |
asanas/__init__.py | ||
---|---|---|
@@ -1,0 +1,1 @@ | ||
1 … | +__all__ = ["breath_of_fire", "cat_cow", "intertwingled", "hollow_body", "mantra", "meditation"] |
asanas/breath_of_fire.py | ||
---|---|---|
@@ -1,0 +1,36 @@ | ||
1 … | +import time | |
2 … | +import intertwingled | |
3 … | + | |
4 … | +def main(): | |
5 … | + mins = 0 | |
6 … | + bof = """ | |
7 … | +888888b. 888 888 | |
8 … | +888 "88b 888 888 | |
9 … | +888 .88P 888 888 | |
10 … | +8888888K. 888d888 .d88b. 8888b. 888888 88888b. | |
11 … | +888 "Y88b 888P" d8P Y8b "88b 888 888 "88b | |
12 … | +888 888 888 88888888 .d888888 888 888 888 | |
13 … | +888 d88P 888 Y8b. 888 888 Y88b. 888 888 | |
14 … | +8888888P" 888 "Y8888 "Y888888 "Y888 888 888 | |
15 … | + | |
16 … | + | |
17 … | + | |
18 … | + .d888 8888888888 d8b | |
19 … | + d88P" 888 Y8P | |
20 … | + 888 888 | |
21 … | + .d88b. 888888 8888888 888 888d888 .d88b. | |
22 … | +d88""88b 888 888 888 888P" d8P Y8b | |
23 … | +888 888 888 888 888 888 88888888 | |
24 … | +Y88..88P 888 888 888 888 Y8b. | |
25 … | + "Y88P" 888 888 888 888 "Y8888 | |
26 … | + """ | |
27 … | + print('\n'*6) | |
28 … | + print(bof) | |
29 … | + print('\n'*8) | |
30 … | + while mins != 0: | |
31 … | + time.sleep(60) | |
32 … | + mins += 1 | |
33 … | + intertwingled.transition() | |
34 … | + | |
35 … | +if __name__ == "__main__": | |
36 … | + main() |
asanas/cat_cow.py | ||
---|---|---|
@@ -1,0 +1,49 @@ | ||
1 … | +import time | |
2 … | +from . import intertwingled | |
3 … | + | |
4 … | +def main(duration): | |
5 … | + cc = """ | |
6 … | + | |
7 … | + | |
8 … | + | |
9 … | + | |
10 … | + | |
11 … | + | |
12 … | + | |
13 … | + .d8888b. 888 | |
14 … | +d88P Y88b 888 | |
15 … | +888 888 888 | |
16 … | +888 8888b. 888888 | |
17 … | +888 "88b 888 | |
18 … | +888 888 .d888888 888 | |
19 … | +Y88b d88P 888 888 Y88b. | |
20 … | + "Y8888P" "Y888888 "Y888 | |
21 … | + | |
22 … | + | |
23 … | + | |
24 … | + .d8888b. | |
25 … | +d88P Y88b | |
26 … | +888 888 | |
27 … | +888 .d88b. 888 888 888 | |
28 … | +888 d88""88b 888 888 888 | |
29 … | +888 888 888 888 888 888 888 | |
30 … | +Y88b d88P Y88..88P Y88b 888 d88P | |
31 … | + "Y8888P" "Y88P" "Y8888888P" | |
32 … | + | |
33 … | + | |
34 … | + | |
35 … | + | |
36 … | + | |
37 … | + | |
38 … | + | |
39 … | + """ | |
40 … | + print(cc) | |
41 … | + mins = 0 | |
42 … | + while mins != duration: | |
43 … | + time.sleep(60) | |
44 … | + mins += 1 | |
45 … | + intertwingled.transition() | |
46 … | + | |
47 … | +if __name__ == "__main__": | |
48 … | + main() | |
49 … | + |
asanas/hollow_body.py | ||
---|---|---|
@@ -1,0 +1,47 @@ | ||
1 … | +import time | |
2 … | +from . import intertwingled | |
3 … | + | |
4 … | +def main(duration): | |
5 … | + hb = """ | |
6 … | + | |
7 … | + | |
8 … | + | |
9 … | + | |
10 … | + | |
11 … | + | |
12 … | +888 888 888 888 | |
13 … | +888 888 888 888 | |
14 … | +888 888 888 888 | |
15 … | +8888888888 .d88b. 888 888 .d88b. 888 888 888 | |
16 … | +888 888 d88""88b 888 888 d88""88b 888 888 888 | |
17 … | +888 888 888 888 888 888 888 888 888 888 888 | |
18 … | +888 888 Y88..88P 888 888 Y88..88P Y88b 888 d88P | |
19 … | +888 888 "Y88P" 888 888 "Y88P" "Y8888888P" | |
20 … | + | |
21 … | + | |
22 … | + | |
23 … | +888888b. 888 | |
24 … | +888 "88b 888 | |
25 … | +888 .88P 888 | |
26 … | +8888888K. .d88b. .d88888 888 888 | |
27 … | +888 "Y88b d88""88b d88" 888 888 888 | |
28 … | +888 888 888 888 888 888 888 888 | |
29 … | +888 d88P Y88..88P Y88b 888 Y88b 888 | |
30 … | +8888888P" "Y88P" "Y88888 "Y88888 | |
31 … | + 888 | |
32 … | + Y8b d88P | |
33 … | + "Y88P" | |
34 … | + | |
35 … | + | |
36 … | + | |
37 … | + | |
38 … | + """ | |
39 … | + print(hb) | |
40 … | + mins = 0 | |
41 … | + while mins != duration: | |
42 … | + time.sleep(60) | |
43 … | + mins += 1 | |
44 … | + intertwingled.transition() | |
45 … | + | |
46 … | +if __name__ == "__main__": | |
47 … | + main() |
asanas/intertwingled.py | ||
---|---|---|
@@ -1,0 +1,21 @@ | ||
1 … | +import time | |
2 … | +import pyglet | |
3 … | +import os | |
4 … | + | |
5 … | +'''These are global variables for the whole kriya-helper ''' | |
6 … | +dir_path = os.path.dirname(os.path.realpath(__file__)) | |
7 … | + | |
8 … | +def beginning(): | |
9 … | + pyglet.resource.path = ['@asanas.sounds'] | |
10 … | + chime = pyglet.resource.media('starting_bell.wav', streaming=False) | |
11 … | + chime.play() | |
12 … | + | |
13 … | +def transition(): | |
14 … | + pyglet.resource.path = ['@asanas.sounds'] | |
15 … | + chime = pyglet.resource.media('kriya_chime.wav', streaming=False) | |
16 … | + breath = 0 | |
17 … | + | |
18 … | + chime.play() | |
19 … | + while breath != 1: | |
20 … | + time.sleep(11.2) | |
21 … | + breath += 1 |
asanas/mantra.py | ||
---|---|---|
@@ -1,0 +1,46 @@ | ||
1 … | +import time | |
2 … | +from . import intertwingled | |
3 … | + | |
4 … | +def main(duration): | |
5 … | + mant = """ | |
6 … | + | |
7 … | + | |
8 … | + | |
9 … | + | |
10 … | + | |
11 … | + | |
12 … | + | |
13 … | + | |
14 … | + | |
15 … | + | |
16 … | + | |
17 … | +888b d888 888 | |
18 … | +8888b d8888 888 | |
19 … | +88888b.d88888 888 | |
20 … | +888Y88888P888 8888b. 88888b. 888888 888d888 8888b. | |
21 … | +888 Y888P 888 "88b 888 "88b 888 888P" "88b | |
22 … | +888 Y8P 888 .d888888 888 888 888 888 .d888888 | |
23 … | +888 " 888 888 888 888 888 Y88b. 888 888 888 | |
24 … | +888 888 "Y888888 888 888 "Y888 888 "Y888888 | |
25 … | + | |
26 … | + | |
27 … | + | |
28 … | + | |
29 … | + | |
30 … | + | |
31 … | + | |
32 … | + | |
33 … | + | |
34 … | + | |
35 … | + | |
36 … | + | |
37 … | + """ | |
38 … | + print(mant) | |
39 … | + mins = 0 | |
40 … | + while mins != duration: | |
41 … | + time.sleep(60) | |
42 … | + mins += 1 | |
43 … | + intertwingled.transition() | |
44 … | + | |
45 … | +if __name__ == "__main__": | |
46 … | + main() |
asanas/meditation.py | ||
---|---|---|
@@ -1,0 +1,47 @@ | ||
1 … | +import time | |
2 … | +from . import intertwingled | |
3 … | + | |
4 … | +def main(duration): | |
5 … | + medi = """ | |
6 … | + | |
7 … | + | |
8 … | + | |
9 … | + | |
10 … | + | |
11 … | + | |
12 … | + | |
13 … | + | |
14 … | + | |
15 … | + | |
16 … | + | |
17 … | +888b d888 888 d8b 888 888 d8b | |
18 … | +8888b d8888 888 Y8P 888 888 Y8P | |
19 … | +88888b.d88888 888 888 888 | |
20 … | +888Y88888P888 .d88b. .d88888 888 888888 8888b. 888888 888 .d88b. 88888b. | |
21 … | +888 Y888P 888 d8P Y8b d88" 888 888 888 "88b 888 888 d88""88b 888 "88b | |
22 … | +888 Y8P 888 88888888 888 888 888 888 .d888888 888 888 888 888 888 888 | |
23 … | +888 " 888 Y8b. Y88b 888 888 Y88b. 888 888 Y88b. 888 Y88..88P 888 888 | |
24 … | +888 888 "Y8888 "Y88888 888 "Y888 "Y888888 "Y888 888 "Y88P" 888 888 | |
25 … | + | |
26 … | + | |
27 … | + | |
28 … | + | |
29 … | + | |
30 … | + | |
31 … | + | |
32 … | + | |
33 … | + | |
34 … | + | |
35 … | + | |
36 … | + | |
37 … | + | |
38 … | + """ | |
39 … | + print(medi) | |
40 … | + mins = 0 | |
41 … | + while mins != duration: | |
42 … | + time.sleep(60) | |
43 … | + mins += 1 | |
44 … | + intertwingled.transition() | |
45 … | + | |
46 … | +if __name__ == "__main__": | |
47 … | + main() |
asanas/sounds/__init__.py |
---|