sam3360 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.
sam3360-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,107 @@
1
+ Metadata-Version: 2.4
2
+ Name: sam3360
3
+ Version: 0.1.0
4
+ Summary: CLI tool to display personal info directly from GitHub
5
+ Author-email: Samarth Chugh <iforgot3360@gmail.com>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+
9
+ # sam3360
10
+
11
+ A tiny CLI that fetches my public GitHub profile and displays it directly in your terminal.
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ pip install sam3360
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ sam3360 --info
23
+ ```
24
+
25
+ Example output:
26
+
27
+ ```text
28
+ User: sam3360
29
+ Name: Samarth Chugh
30
+ Bio: ...
31
+ Public Repos: ...
32
+ Profile URL: https://github.com/sam3360
33
+ ```
34
+
35
+ The information is fetched **live from GitHub**, so changes to my profile can appear without requiring a new package release.
36
+
37
+ ## What It Shows
38
+
39
+ * 👤 GitHub username
40
+ * 🪪 Name
41
+ * 📝 Bio
42
+ * 📦 Public repository count
43
+ * 🔗 GitHub profile URL
44
+
45
+ ## How It Works
46
+
47
+ `sam3360` uses GitHub's public API:
48
+
49
+ ```text
50
+ https://api.github.com/users/sam3360
51
+ ```
52
+
53
+ The CLI retrieves the public profile data and displays the selected information in your terminal.
54
+
55
+ No GitHub token or authentication is required.
56
+
57
+ ## Requirements
58
+
59
+ * Python 3.8+
60
+ * Internet connection
61
+
62
+ ## Dependencies
63
+
64
+ None.
65
+
66
+ The package uses Python's built-in:
67
+
68
+ * `argparse`
69
+ * `json`
70
+ * `urllib`
71
+
72
+ ## Project Structure
73
+
74
+ ```text
75
+ sam3360/
76
+ ├── sam3360/
77
+ │ ├── __init__.py
78
+ │ └── cli.py
79
+ ├── pyproject.toml
80
+ └── README.md
81
+ ```
82
+
83
+ ## Example
84
+
85
+ ```bash
86
+ $ pip install sam3360
87
+
88
+ $ sam3360 --info
89
+
90
+ User: sam3360
91
+ Name: Samarth Chugh
92
+ Bio: ...
93
+ Public Repos: ...
94
+ Profile URL: https://github.com/sam3360
95
+ ```
96
+
97
+ ## GitHub
98
+
99
+ GitHub: https://github.com/sam3360
100
+
101
+ ## License
102
+
103
+ See the repository for license information.
104
+
105
+ ---
106
+
107
+ Made by **Samarth Chugh**
@@ -0,0 +1,99 @@
1
+ # sam3360
2
+
3
+ A tiny CLI that fetches my public GitHub profile and displays it directly in your terminal.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install sam3360
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ sam3360 --info
15
+ ```
16
+
17
+ Example output:
18
+
19
+ ```text
20
+ User: sam3360
21
+ Name: Samarth Chugh
22
+ Bio: ...
23
+ Public Repos: ...
24
+ Profile URL: https://github.com/sam3360
25
+ ```
26
+
27
+ The information is fetched **live from GitHub**, so changes to my profile can appear without requiring a new package release.
28
+
29
+ ## What It Shows
30
+
31
+ * 👤 GitHub username
32
+ * 🪪 Name
33
+ * 📝 Bio
34
+ * 📦 Public repository count
35
+ * 🔗 GitHub profile URL
36
+
37
+ ## How It Works
38
+
39
+ `sam3360` uses GitHub's public API:
40
+
41
+ ```text
42
+ https://api.github.com/users/sam3360
43
+ ```
44
+
45
+ The CLI retrieves the public profile data and displays the selected information in your terminal.
46
+
47
+ No GitHub token or authentication is required.
48
+
49
+ ## Requirements
50
+
51
+ * Python 3.8+
52
+ * Internet connection
53
+
54
+ ## Dependencies
55
+
56
+ None.
57
+
58
+ The package uses Python's built-in:
59
+
60
+ * `argparse`
61
+ * `json`
62
+ * `urllib`
63
+
64
+ ## Project Structure
65
+
66
+ ```text
67
+ sam3360/
68
+ ├── sam3360/
69
+ │ ├── __init__.py
70
+ │ └── cli.py
71
+ ├── pyproject.toml
72
+ └── README.md
73
+ ```
74
+
75
+ ## Example
76
+
77
+ ```bash
78
+ $ pip install sam3360
79
+
80
+ $ sam3360 --info
81
+
82
+ User: sam3360
83
+ Name: Samarth Chugh
84
+ Bio: ...
85
+ Public Repos: ...
86
+ Profile URL: https://github.com/sam3360
87
+ ```
88
+
89
+ ## GitHub
90
+
91
+ GitHub: https://github.com/sam3360
92
+
93
+ ## License
94
+
95
+ See the repository for license information.
96
+
97
+ ---
98
+
99
+ Made by **Samarth Chugh**
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"
@@ -0,0 +1,27 @@
1
+ import argparse
2
+ import json
3
+ import urllib.request
4
+
5
+ def main():
6
+ parser = argparse.ArgumentParser(description="Fetch sam3360 info.")
7
+ parser.add_argument("--info", action="store_true", help="Display profile info from GitHub")
8
+ args = parser.parse_args()
9
+
10
+ if args.info:
11
+ url = "https://api.github.com/users/sam3360"
12
+ req = urllib.request.Request(url, headers={"User-Agent": "sam3360-cli"})
13
+ try:
14
+ with urllib.request.urlopen(req) as response:
15
+ data = json.loads(response.read().decode())
16
+ print(f"User: {data.get('login')}")
17
+ print(f"Name: {data.get('name', 'N/A')}")
18
+ print(f"Bio: {data.get('bio', 'N/A')}")
19
+ print(f"Public Repos: {data.get('public_repos')}")
20
+ print(f"Profile URL: {data.get('html_url')}")
21
+ except Exception as e:
22
+ print(f"Error fetching GitHub data: {e}")
23
+ else:
24
+ parser.print_help()
25
+
26
+ if __name__ == "__main__":
27
+ main()
@@ -0,0 +1,17 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "sam3360"
7
+ version = "0.1.0"
8
+ description = "CLI tool to display personal info directly from GitHub"
9
+ readme = "README.md"
10
+ authors = [
11
+ { name = "Samarth Chugh", email = "iforgot3360@gmail.com" }
12
+ ]
13
+ requires-python = ">=3.8"
14
+ dependencies = []
15
+
16
+ [project.scripts]
17
+ sam3360 = "sam3360.cli:main"
@@ -0,0 +1,107 @@
1
+ Metadata-Version: 2.4
2
+ Name: sam3360
3
+ Version: 0.1.0
4
+ Summary: CLI tool to display personal info directly from GitHub
5
+ Author-email: Samarth Chugh <iforgot3360@gmail.com>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+
9
+ # sam3360
10
+
11
+ A tiny CLI that fetches my public GitHub profile and displays it directly in your terminal.
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ pip install sam3360
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ sam3360 --info
23
+ ```
24
+
25
+ Example output:
26
+
27
+ ```text
28
+ User: sam3360
29
+ Name: Samarth Chugh
30
+ Bio: ...
31
+ Public Repos: ...
32
+ Profile URL: https://github.com/sam3360
33
+ ```
34
+
35
+ The information is fetched **live from GitHub**, so changes to my profile can appear without requiring a new package release.
36
+
37
+ ## What It Shows
38
+
39
+ * 👤 GitHub username
40
+ * 🪪 Name
41
+ * 📝 Bio
42
+ * 📦 Public repository count
43
+ * 🔗 GitHub profile URL
44
+
45
+ ## How It Works
46
+
47
+ `sam3360` uses GitHub's public API:
48
+
49
+ ```text
50
+ https://api.github.com/users/sam3360
51
+ ```
52
+
53
+ The CLI retrieves the public profile data and displays the selected information in your terminal.
54
+
55
+ No GitHub token or authentication is required.
56
+
57
+ ## Requirements
58
+
59
+ * Python 3.8+
60
+ * Internet connection
61
+
62
+ ## Dependencies
63
+
64
+ None.
65
+
66
+ The package uses Python's built-in:
67
+
68
+ * `argparse`
69
+ * `json`
70
+ * `urllib`
71
+
72
+ ## Project Structure
73
+
74
+ ```text
75
+ sam3360/
76
+ ├── sam3360/
77
+ │ ├── __init__.py
78
+ │ └── cli.py
79
+ ├── pyproject.toml
80
+ └── README.md
81
+ ```
82
+
83
+ ## Example
84
+
85
+ ```bash
86
+ $ pip install sam3360
87
+
88
+ $ sam3360 --info
89
+
90
+ User: sam3360
91
+ Name: Samarth Chugh
92
+ Bio: ...
93
+ Public Repos: ...
94
+ Profile URL: https://github.com/sam3360
95
+ ```
96
+
97
+ ## GitHub
98
+
99
+ GitHub: https://github.com/sam3360
100
+
101
+ ## License
102
+
103
+ See the repository for license information.
104
+
105
+ ---
106
+
107
+ Made by **Samarth Chugh**
@@ -0,0 +1,9 @@
1
+ README.md
2
+ pyproject.toml
3
+ Sam3360/__init__.py
4
+ Sam3360/cli.py
5
+ sam3360.egg-info/PKG-INFO
6
+ sam3360.egg-info/SOURCES.txt
7
+ sam3360.egg-info/dependency_links.txt
8
+ sam3360.egg-info/entry_points.txt
9
+ sam3360.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ sam3360 = sam3360.cli:main
@@ -0,0 +1 @@
1
+ Sam3360
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+