dev-dna 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.
- dev_dna-0.1.0/LICENSE +21 -0
- dev_dna-0.1.0/PKG-INFO +147 -0
- dev_dna-0.1.0/README.md +118 -0
- dev_dna-0.1.0/pyproject.toml +47 -0
- dev_dna-0.1.0/setup.cfg +4 -0
- dev_dna-0.1.0/src/dev_dna/__init__.py +11 -0
- dev_dna-0.1.0/src/dev_dna/analyzer.py +597 -0
- dev_dna-0.1.0/src/dev_dna/cli.py +509 -0
- dev_dna-0.1.0/src/dev_dna.egg-info/PKG-INFO +147 -0
- dev_dna-0.1.0/src/dev_dna.egg-info/SOURCES.txt +12 -0
- dev_dna-0.1.0/src/dev_dna.egg-info/dependency_links.txt +1 -0
- dev_dna-0.1.0/src/dev_dna.egg-info/entry_points.txt +2 -0
- dev_dna-0.1.0/src/dev_dna.egg-info/requires.txt +2 -0
- dev_dna-0.1.0/src/dev_dna.egg-info/top_level.txt +1 -0
dev_dna-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 dev-dna contributors
|
|
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.
|
dev_dna-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dev-dna
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: 23andMe for developers — analyze any GitHub user's developer DNA
|
|
5
|
+
Author: dev-dna contributors
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/lakshmisravyavedantham/dev-dna
|
|
8
|
+
Project-URL: Repository, https://github.com/lakshmisravyavedantham/dev-dna
|
|
9
|
+
Project-URL: Issues, https://github.com/lakshmisravyavedantham/dev-dna/issues
|
|
10
|
+
Keywords: github,developer,analytics,cli,profile
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Topic :: Utilities
|
|
23
|
+
Requires-Python: >=3.8
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Requires-Dist: click>=8.0
|
|
27
|
+
Requires-Dist: rich>=13.0
|
|
28
|
+
Dynamic: license-file
|
|
29
|
+
|
|
30
|
+
# dev-dna
|
|
31
|
+
|
|
32
|
+
**23andMe for developers.** Point it at any GitHub username and get a rich terminal report of their Developer DNA — dominant languages, evolution over time, commit personality archetype, specialization vs. generalist score, star power, and a shareable summary.
|
|
33
|
+
|
|
34
|
+
## Install
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install dev-dna
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Or install from source:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
git clone https://github.com/lakshmisravyavedantham/dev-dna
|
|
44
|
+
cd dev-dna
|
|
45
|
+
pip install -e .
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Usage
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# Analyze any public GitHub profile
|
|
52
|
+
dev-dna torvalds
|
|
53
|
+
|
|
54
|
+
# Output raw JSON
|
|
55
|
+
dev-dna torvalds --json
|
|
56
|
+
|
|
57
|
+
# Pass a GitHub token for higher rate limits (60 → 5000 req/hr)
|
|
58
|
+
dev-dna torvalds --token ghp_xxx
|
|
59
|
+
# or set the env var:
|
|
60
|
+
export GITHUB_TOKEN=ghp_xxx
|
|
61
|
+
dev-dna torvalds
|
|
62
|
+
|
|
63
|
+
# Compare two developers side-by-side
|
|
64
|
+
dev-dna gvanrossum --compare torvalds
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Sample Output
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
╔══════════════════════════════════════════════════════════╗
|
|
71
|
+
║ DEV DNA ANALYSIS ║
|
|
72
|
+
║ github.com/lakshmisravyavedantham ║
|
|
73
|
+
╚══════════════════════════════════════════════════════════╝
|
|
74
|
+
|
|
75
|
+
ARCHETYPE: The Toolsmith
|
|
76
|
+
"Ships fast. Builds tools that make other developers' lives
|
|
77
|
+
easier. Prefers CLI over GUI. Has opinions about your commit
|
|
78
|
+
messages."
|
|
79
|
+
|
|
80
|
+
LANGUAGE DNA
|
|
81
|
+
Python ████████████████████ 67%
|
|
82
|
+
TypeScript ██████░░░░░░░░░░░░░░ 18%
|
|
83
|
+
JavaScript ████░░░░░░░░░░░░░░░░ 10%
|
|
84
|
+
HTML ██░░░░░░░░░░░░░░░░░░ 5%
|
|
85
|
+
|
|
86
|
+
EVOLUTION
|
|
87
|
+
Started with: Python (2022)
|
|
88
|
+
Now building: Python + TypeScript
|
|
89
|
+
Trajectory: Expanding into full-stack
|
|
90
|
+
|
|
91
|
+
VELOCITY
|
|
92
|
+
108 repos over ~24 months = 4.5 repos/month
|
|
93
|
+
That's faster than 94% of GitHub developers
|
|
94
|
+
|
|
95
|
+
STAR POWER
|
|
96
|
+
Total stars: 4
|
|
97
|
+
Best performer: Coherence (1 star)
|
|
98
|
+
Untapped potential: high output, early-stage discovery
|
|
99
|
+
|
|
100
|
+
SCORES
|
|
101
|
+
Specialization ████████████░░░░░░░░ 72/100 (focused depth)
|
|
102
|
+
Documentation ████████░░░░░░░░░░░░ 41/100 (descriptions + readability)
|
|
103
|
+
Open Source ███████░░░░░░░░░░░░░ 38/100 (repos with license)
|
|
104
|
+
Velocity ████████████████████ 96/100 (shipping speed)
|
|
105
|
+
|
|
106
|
+
DEVELOPER TRAITS
|
|
107
|
+
+ Prolific builder — top 5% by repo count
|
|
108
|
+
+ AI-native — 60%+ of recent work involves LLMs
|
|
109
|
+
- Discovery gap — great code, low visibility
|
|
110
|
+
- Documentation debt — many repos lack descriptions
|
|
111
|
+
|
|
112
|
+
DNA INSIGHT
|
|
113
|
+
You build at a rare velocity. The bottleneck isn't output —
|
|
114
|
+
it's surface area. Adding descriptions, PyPI packages, and
|
|
115
|
+
one viral project would unlock the stars your code deserves.
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## What it analyzes
|
|
119
|
+
|
|
120
|
+
| Signal | Description |
|
|
121
|
+
|---|---|
|
|
122
|
+
| **Language DNA** | Top 6 languages by repo count, shown as a terminal bar chart |
|
|
123
|
+
| **Archetype** | Personality classification: Toolsmith, Researcher, Full-Stack Builder, Data Engineer, Hacker, or Craftsperson |
|
|
124
|
+
| **Specialization Score** | 0–100. High = deep in one domain. Low = polyglot generalist |
|
|
125
|
+
| **Velocity** | Repos created per month; scored against a GitHub-wide distribution |
|
|
126
|
+
| **Star Power** | Total stars + top repo; flags discovery gap for prolific but under-starred devs |
|
|
127
|
+
| **Evolution** | Primary language in oldest 20% of repos vs newest 20% — shows trajectory |
|
|
128
|
+
| **Open Source Signal** | % of repos with a license |
|
|
129
|
+
| **Documentation Score** | % of repos with a description |
|
|
130
|
+
|
|
131
|
+
## Architecture
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
src/dev_dna/
|
|
135
|
+
├── __init__.py — public API
|
|
136
|
+
├── cli.py — Click CLI + Rich rendering
|
|
137
|
+
└── analyzer.py — GitHub API calls + metric computation
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
- Uses only `urllib.request` for HTTP (no `requests` library)
|
|
141
|
+
- Zero external dependencies beyond `click` and `rich`
|
|
142
|
+
- Supports `GITHUB_TOKEN` env var or `--token` flag for 5000 req/hr rate limit
|
|
143
|
+
- Gracefully handles: rate limits, private-only accounts, 0-star accounts, missing data
|
|
144
|
+
|
|
145
|
+
## License
|
|
146
|
+
|
|
147
|
+
MIT
|
dev_dna-0.1.0/README.md
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# dev-dna
|
|
2
|
+
|
|
3
|
+
**23andMe for developers.** Point it at any GitHub username and get a rich terminal report of their Developer DNA — dominant languages, evolution over time, commit personality archetype, specialization vs. generalist score, star power, and a shareable summary.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install dev-dna
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or install from source:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
git clone https://github.com/lakshmisravyavedantham/dev-dna
|
|
15
|
+
cd dev-dna
|
|
16
|
+
pip install -e .
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Analyze any public GitHub profile
|
|
23
|
+
dev-dna torvalds
|
|
24
|
+
|
|
25
|
+
# Output raw JSON
|
|
26
|
+
dev-dna torvalds --json
|
|
27
|
+
|
|
28
|
+
# Pass a GitHub token for higher rate limits (60 → 5000 req/hr)
|
|
29
|
+
dev-dna torvalds --token ghp_xxx
|
|
30
|
+
# or set the env var:
|
|
31
|
+
export GITHUB_TOKEN=ghp_xxx
|
|
32
|
+
dev-dna torvalds
|
|
33
|
+
|
|
34
|
+
# Compare two developers side-by-side
|
|
35
|
+
dev-dna gvanrossum --compare torvalds
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Sample Output
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
╔══════════════════════════════════════════════════════════╗
|
|
42
|
+
║ DEV DNA ANALYSIS ║
|
|
43
|
+
║ github.com/lakshmisravyavedantham ║
|
|
44
|
+
╚══════════════════════════════════════════════════════════╝
|
|
45
|
+
|
|
46
|
+
ARCHETYPE: The Toolsmith
|
|
47
|
+
"Ships fast. Builds tools that make other developers' lives
|
|
48
|
+
easier. Prefers CLI over GUI. Has opinions about your commit
|
|
49
|
+
messages."
|
|
50
|
+
|
|
51
|
+
LANGUAGE DNA
|
|
52
|
+
Python ████████████████████ 67%
|
|
53
|
+
TypeScript ██████░░░░░░░░░░░░░░ 18%
|
|
54
|
+
JavaScript ████░░░░░░░░░░░░░░░░ 10%
|
|
55
|
+
HTML ██░░░░░░░░░░░░░░░░░░ 5%
|
|
56
|
+
|
|
57
|
+
EVOLUTION
|
|
58
|
+
Started with: Python (2022)
|
|
59
|
+
Now building: Python + TypeScript
|
|
60
|
+
Trajectory: Expanding into full-stack
|
|
61
|
+
|
|
62
|
+
VELOCITY
|
|
63
|
+
108 repos over ~24 months = 4.5 repos/month
|
|
64
|
+
That's faster than 94% of GitHub developers
|
|
65
|
+
|
|
66
|
+
STAR POWER
|
|
67
|
+
Total stars: 4
|
|
68
|
+
Best performer: Coherence (1 star)
|
|
69
|
+
Untapped potential: high output, early-stage discovery
|
|
70
|
+
|
|
71
|
+
SCORES
|
|
72
|
+
Specialization ████████████░░░░░░░░ 72/100 (focused depth)
|
|
73
|
+
Documentation ████████░░░░░░░░░░░░ 41/100 (descriptions + readability)
|
|
74
|
+
Open Source ███████░░░░░░░░░░░░░ 38/100 (repos with license)
|
|
75
|
+
Velocity ████████████████████ 96/100 (shipping speed)
|
|
76
|
+
|
|
77
|
+
DEVELOPER TRAITS
|
|
78
|
+
+ Prolific builder — top 5% by repo count
|
|
79
|
+
+ AI-native — 60%+ of recent work involves LLMs
|
|
80
|
+
- Discovery gap — great code, low visibility
|
|
81
|
+
- Documentation debt — many repos lack descriptions
|
|
82
|
+
|
|
83
|
+
DNA INSIGHT
|
|
84
|
+
You build at a rare velocity. The bottleneck isn't output —
|
|
85
|
+
it's surface area. Adding descriptions, PyPI packages, and
|
|
86
|
+
one viral project would unlock the stars your code deserves.
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## What it analyzes
|
|
90
|
+
|
|
91
|
+
| Signal | Description |
|
|
92
|
+
|---|---|
|
|
93
|
+
| **Language DNA** | Top 6 languages by repo count, shown as a terminal bar chart |
|
|
94
|
+
| **Archetype** | Personality classification: Toolsmith, Researcher, Full-Stack Builder, Data Engineer, Hacker, or Craftsperson |
|
|
95
|
+
| **Specialization Score** | 0–100. High = deep in one domain. Low = polyglot generalist |
|
|
96
|
+
| **Velocity** | Repos created per month; scored against a GitHub-wide distribution |
|
|
97
|
+
| **Star Power** | Total stars + top repo; flags discovery gap for prolific but under-starred devs |
|
|
98
|
+
| **Evolution** | Primary language in oldest 20% of repos vs newest 20% — shows trajectory |
|
|
99
|
+
| **Open Source Signal** | % of repos with a license |
|
|
100
|
+
| **Documentation Score** | % of repos with a description |
|
|
101
|
+
|
|
102
|
+
## Architecture
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
src/dev_dna/
|
|
106
|
+
├── __init__.py — public API
|
|
107
|
+
├── cli.py — Click CLI + Rich rendering
|
|
108
|
+
└── analyzer.py — GitHub API calls + metric computation
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
- Uses only `urllib.request` for HTTP (no `requests` library)
|
|
112
|
+
- Zero external dependencies beyond `click` and `rich`
|
|
113
|
+
- Supports `GITHUB_TOKEN` env var or `--token` flag for 5000 req/hr rate limit
|
|
114
|
+
- Gracefully handles: rate limits, private-only accounts, 0-star accounts, missing data
|
|
115
|
+
|
|
116
|
+
## License
|
|
117
|
+
|
|
118
|
+
MIT
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "dev-dna"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "23andMe for developers — analyze any GitHub user's developer DNA"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { text = "MIT" }
|
|
11
|
+
requires-python = ">=3.8"
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "dev-dna contributors" }
|
|
14
|
+
]
|
|
15
|
+
keywords = ["github", "developer", "analytics", "cli", "profile"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 3 - Alpha",
|
|
18
|
+
"Environment :: Console",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Programming Language :: Python :: 3.8",
|
|
23
|
+
"Programming Language :: Python :: 3.9",
|
|
24
|
+
"Programming Language :: Python :: 3.10",
|
|
25
|
+
"Programming Language :: Python :: 3.11",
|
|
26
|
+
"Programming Language :: Python :: 3.12",
|
|
27
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
28
|
+
"Topic :: Utilities",
|
|
29
|
+
]
|
|
30
|
+
dependencies = [
|
|
31
|
+
"click>=8.0",
|
|
32
|
+
"rich>=13.0",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[project.scripts]
|
|
36
|
+
dev-dna = "dev_dna.cli:main"
|
|
37
|
+
|
|
38
|
+
[project.urls]
|
|
39
|
+
Homepage = "https://github.com/lakshmisravyavedantham/dev-dna"
|
|
40
|
+
Repository = "https://github.com/lakshmisravyavedantham/dev-dna"
|
|
41
|
+
Issues = "https://github.com/lakshmisravyavedantham/dev-dna/issues"
|
|
42
|
+
|
|
43
|
+
[tool.setuptools.packages.find]
|
|
44
|
+
where = ["src"]
|
|
45
|
+
|
|
46
|
+
[tool.setuptools.package-dir]
|
|
47
|
+
"" = "src"
|
dev_dna-0.1.0/setup.cfg
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"""dev-dna — 23andMe for developers.
|
|
2
|
+
|
|
3
|
+
Analyze any GitHub user's developer DNA: dominant languages, evolution
|
|
4
|
+
over time, commit personality archetype, specialization score, star power,
|
|
5
|
+
and a shareable summary.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from dev_dna.analyzer import analyze_user, fetch_repos
|
|
9
|
+
|
|
10
|
+
__version__ = "0.1.0"
|
|
11
|
+
__all__ = ["analyze_user", "fetch_repos"]
|