aboutlaava 1.0.1__py3-none-any.whl

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.
aboutlaava/__init__.py ADDED
@@ -0,0 +1,10 @@
1
+ """About Laava — Python edition."""
2
+
3
+ __version__ = "1.0.1"
4
+
5
+ from .data import PROFILE
6
+ from .cli import run
7
+
8
+ def profile():
9
+ """Return the About Laava profile data."""
10
+ return PROFILE
aboutlaava/cli.py ADDED
@@ -0,0 +1,95 @@
1
+ """CLI for About Laava."""
2
+
3
+ import json
4
+ import sys
5
+ import webbrowser
6
+ from .data import PROFILE
7
+ from .ui import show_logo
8
+
9
+ COMMANDS = {
10
+ "about": "About Laava / LaavaBee",
11
+ "services": "Services",
12
+ "projects": "Projects",
13
+ "stack": "Tech stack",
14
+ "socials": "Socials",
15
+ "contact": "Contact",
16
+ "now": "What Laava is working on now",
17
+ "github": "GitHub",
18
+ "values": "Values",
19
+ "timeline": "Timeline",
20
+ "fun": "Fun facts",
21
+ }
22
+
23
+ def _data(command):
24
+ p = PROFILE
25
+ return {
26
+ "about": {
27
+ "name": p["name"], "brand": p["brand"],
28
+ "description": "Independent builder and creator behind Laava Studios."
29
+ },
30
+ "services": ["Web development", "AI tooling", "CLI/software projects", "Creative technology"],
31
+ "projects": ["Laava Code", "Laava Studios", "@laavastudios/aboutlaava"],
32
+ "stack": ["Python", "Node.js", "TypeScript", "Next.js", "AI APIs"],
33
+ "socials": {"instagram": p["contact"]["instagram"], "github": "laavastudios"},
34
+ "contact": p["contact"],
35
+ "now": ["Building Laava projects", "Learning and improving software engineering"],
36
+ "github": "https://github.com/laavastudios",
37
+ "values": ["Build", "Learn", "Improve", "Ship"],
38
+ "timeline": ["Laava Studios", "Node.js package", "Python port"],
39
+ "fun": ["Made in India", "Built with code and curiosity"],
40
+ }.get(command)
41
+
42
+ def run(command=None):
43
+ if command is None:
44
+ return interactive()
45
+ if command == "open instagram":
46
+ webbrowser.open("https://instagram.com/laavabee")
47
+ return
48
+ if command == "json":
49
+ print(json.dumps(PROFILE, indent=2, ensure_ascii=False))
50
+ return
51
+ if command == "github":
52
+ print("GitHub: https://github.com/laavastudios")
53
+ return
54
+ if command not in COMMANDS:
55
+ print(f"Unknown command: {command}")
56
+ print("Run `aboutlaava` to open the menu.")
57
+ return
58
+ value = _data(command)
59
+ print(f"\n{COMMANDS[command]}\n")
60
+ if isinstance(value, (dict, list)):
61
+ if isinstance(value, dict):
62
+ for k, v in value.items():
63
+ print(f"{k}: {v}")
64
+ else:
65
+ for item in value:
66
+ print(f"• {item}")
67
+ else:
68
+ print(value)
69
+
70
+ def interactive():
71
+ show_logo()
72
+ names = list(COMMANDS)
73
+ while True:
74
+ print("\nSelect an option:")
75
+ for i, name in enumerate(names, 1):
76
+ print(f"{i}. {name}")
77
+ print("0. exit")
78
+ try:
79
+ choice = input("\n> ").strip()
80
+ except (EOFError, KeyboardInterrupt):
81
+ print()
82
+ return
83
+ if choice == "0":
84
+ return
85
+ if choice.isdigit() and 1 <= int(choice) <= len(names):
86
+ run(names[int(choice) - 1])
87
+ else:
88
+ print("Invalid choice.")
89
+
90
+ def main():
91
+ command = " ".join(sys.argv[1:]).strip().lower()
92
+ run(command or None)
93
+
94
+ if __name__ == "__main__":
95
+ main()
aboutlaava/data.py ADDED
@@ -0,0 +1,14 @@
1
+ """Profile data for About Laava."""
2
+
3
+ PROFILE = {
4
+ "name": "LaavaBee",
5
+ "brand": "Laava Studios",
6
+ "contact": {
7
+ "email": "kalounideepanshu@gmail.com",
8
+ "instagram": "@laavabee",
9
+ },
10
+ "commands": [
11
+ "about", "services", "projects", "stack", "socials", "contact",
12
+ "now", "github", "values", "timeline", "fun",
13
+ ],
14
+ }
aboutlaava/ui.py ADDED
@@ -0,0 +1,14 @@
1
+ """Terminal UI helpers."""
2
+
3
+ LOGO = r"""
4
+ ██╗ █████╗ █████╗ ██╗ ██╗ █████╗
5
+ ██║ ██╔══██╗██╔══██╗██║ ██║██╔══██╗
6
+ ██║ ███████║███████║██║ ██║███████║
7
+ ██║ ██╔══██║██╔══██║╚██╗ ██╔╝██╔══██║
8
+ ███████╗██║ ██║██║ ██║ ╚████╔╝ ██║ ██║
9
+ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝
10
+ """
11
+
12
+ def show_logo():
13
+ print(LOGO)
14
+ print("Laava Studios • About Laava")
@@ -0,0 +1,61 @@
1
+ Metadata-Version: 2.4
2
+ Name: aboutlaava
3
+ Version: 1.0.1
4
+ Summary: About Laava — the Python CLI companion to @laavastudios/aboutlaava.
5
+ Author: Laava Studios
6
+ License: MIT
7
+ Keywords: laava,laavastudios,cli,about,portfolio
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Environment :: Console
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: license-file
15
+
16
+ # About Laava — Python
17
+
18
+ Python port of `@laavastudios/aboutlaava`, keeping the same CLI command names and menu-first behavior.
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ pip install aboutlaava
24
+ ```
25
+
26
+ ## Run
27
+
28
+ ```bash
29
+ aboutlaava
30
+ ```
31
+
32
+ The default command opens the interactive selector.
33
+
34
+ ## Commands
35
+
36
+ ```text
37
+ aboutlaava about
38
+ aboutlaava services
39
+ aboutlaava projects
40
+ aboutlaava stack
41
+ aboutlaava socials
42
+ aboutlaava contact
43
+ aboutlaava now
44
+ aboutlaava github
45
+ aboutlaava values
46
+ aboutlaava timeline
47
+ aboutlaava fun
48
+ aboutlaava open instagram
49
+ aboutlaava json
50
+ ```
51
+
52
+ ## Python API
53
+
54
+ ```python
55
+ from aboutlaava import profile, run
56
+
57
+ print(profile())
58
+ run("about")
59
+ ```
60
+
61
+ Made by Laava Studios.
@@ -0,0 +1,10 @@
1
+ aboutlaava/__init__.py,sha256=Tvfm3dGcyKNaj_AAeprTk6kdLq-dPTc_t8B9PRAK544,191
2
+ aboutlaava/cli.py,sha256=pk6R_r9xbbgH8FGV_FhkNZ5NT3DY_IELGhz3skSTQTA,2963
3
+ aboutlaava/data.py,sha256=ppkwlETjRvu43rp90OAhO7GmDERY6Pl-FUvOEExTv2k,361
4
+ aboutlaava/ui.py,sha256=cqqvrscEwS046r2yUpc74grpbeOsC6cUIgpWMIF40nQ,756
5
+ aboutlaava-1.0.1.dist-info/licenses/LICENSE,sha256=F26c3nQJDwcnL1LT-bFY4q9RiffktML-ziTBBTkukyA,1070
6
+ aboutlaava-1.0.1.dist-info/METADATA,sha256=UREEVtlTcYDAZ7AeCdRU38El5AaDKMf3BIitVF_8Xjc,1169
7
+ aboutlaava-1.0.1.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
8
+ aboutlaava-1.0.1.dist-info/entry_points.txt,sha256=StHeszYc_YysHly-S3QmbmMS7WJxRGduiT9s3rsNCuc,51
9
+ aboutlaava-1.0.1.dist-info/top_level.txt,sha256=ibMllTy4rhf-lc1idm12iP4QzYXL9ri3TQ35jl0O4QU,11
10
+ aboutlaava-1.0.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ aboutlaava = aboutlaava.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Laava Studios
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 @@
1
+ aboutlaava