File tree Expand file tree Collapse file tree 1 file changed +30
-18
lines changed
Expand file tree Collapse file tree 1 file changed +30
-18
lines changed Original file line number Diff line number Diff line change 11{
2- "cells" : [
3- {
4- "cell_type" : " code" ,
5- "source" : " from codegen import Codebase\n\n # Initialize codebase\n codebase = Codebase('../../')\n\n # Print out stats\n print(\" \ud83d\udd0d Codebase Analysis\" )\n print(\" =\" * 50)\n print(f\" \ud83d\udcda Total Files: {len(codebase.files)}\" )\n print(f\" \u26a1 Total Functions: {len(codebase.functions)}\" )\n print(f\" \ud83d\udd04 Total Imports: {len(codebase.imports)}\" )" ,
6- "metadata" : {},
7- "execution_count" : null ,
8- "outputs" : []
9- }
10- ],
11- "metadata" : {
12- "kernelspec" : {
13- "display_name" : " Python 3" ,
14- "language" : " python" ,
15- "name" : " python3"
16- }
17- },
18- "nbformat" : 4 ,
19- "nbformat_minor" : 4
2+ "cells" : [
3+ {
4+ "cell_type" : " code" ,
5+ "execution_count" : null ,
6+ "metadata" : {},
7+ "outputs" : [],
8+ "source" : [
9+ " from codegen import Codebase\n " ,
10+ " \n " ,
11+ " # Initialize codebase\n " ,
12+ " codebase = Codebase(\" ../../\" )\n " ,
13+ " \n " ,
14+ " # Print out stats\n " ,
15+ " print(\" 🔍 Codebase Analysis\" )\n " ,
16+ " print(\" =\" * 50)\n " ,
17+ " print(f\" 📚 Total Files: {len(codebase.files)}\" )\n " ,
18+ " print(f\" ⚡ Total Functions: {len(codebase.functions)}\" )\n " ,
19+ " print(f\" 🔄 Total Imports: {len(codebase.imports)}\" )"
20+ ]
21+ }
22+ ],
23+ "metadata" : {
24+ "kernelspec" : {
25+ "display_name" : " Python 3" ,
26+ "language" : " python" ,
27+ "name" : " python3"
28+ }
29+ },
30+ "nbformat" : 4 ,
31+ "nbformat_minor" : 4
2032}
You can’t perform that action at this time.
0 commit comments