openai/openai-python
The official Python library for the OpenAI API
GitHub 
111K
lines of main code
1.9K files
76K
lines of test code
313 files
12K
lines of other code
99 files
6y
age
2,133 days
99%
main code touched
1 year (110K LOC)
ABCDE
ease of change
for people*
ABCDE
ease of change
for AI*
111K
py
0.2K
cjs
0.1K
yaml
0.02K
toml
30 days 2026 2025 2024 2023 2022 2021
+47K
-6K
+140K
-15K
+71K
-15K
+28K
-5.6K
+17K
-1.9K
+47
-31
+90
-59
1.3K

4.9K

2.9K

1.4K

475

34

32

139

359

321

328

103

24

27

28

55

22

0

1

0

0

35

47

20

15

22

10

9

2026 2025 2024 2023 2022 2021
Rule-of-thumb estimates

Rebuild value

to rebuild
rebuild value

Maintenance effort

per year to maintain
maintenance cost per year
Rules of thumb, not measurements: one man-year rebuilds about 10,000 lines of main code (design, testing and coordination included), and keeping a code base alive takes about 15% of its rebuild value per year (20 man-years of rebuild value need about 3 man-years of maintenance every year). Your changes are remembered in this browser for every report.