MCPcopy Index your code
hub / github.com/bedroombuilds/python2rust

github.com/bedroombuilds/python2rust @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
461 symbols 893 edges 175 files 30 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

From Python to Rust

Source code for my bedroombuilds Youtube series introducing the Rust programming language to Python programmers.

Episodes can be found on the YouTube Playlist: From Python to Rust

Extension points exported contracts — how you extend this code

Person (Interface)
(no doc) [4 implementers]
0b_traits/rust/supertraits.rs
Area (Interface)
# most amazing geometric object library ever This is starting off like clockwork - bullet - points for surface area calc [2 …
02_ecosystem/geo/src/lib.rs
Programmer (Interface)
(no doc) [3 implementers]
0b_traits/rust/supertraits.rs
Perimeter (Interface)
for Perimeter/circumferen calculation of a geometric object [1 implementers]
02_ecosystem/geo/src/lib.rs
Student (Interface)
(no doc) [2 implementers]
0b_traits/rust/supertraits.rs
CompSciStudent (Interface)
(no doc) [1 implementers]
0b_traits/rust/supertraits.rs

Core symbols most depended-on inside this repo

print
called by 216
0a_error_handling/rust/boilerplate.rs
read_line
called by 8
0d_files/rust/bufread_lines.rs
connect
called by 6
22_websockets_server/python/fastapi_ws.py
send
called by 6
2b_builder_type_state/rust/email_builder/src/main.rs
get
called by 5
22_websockets_server/python/fastapi_ws.py
b
called by 5
13_async/python/minimal.py
name
called by 4
0b_traits/python/super.py
a
called by 4
13_async/python/minimal.py

Shape

Function 210
Method 142
Class 93
Enum 7
Interface 6
Route 3

Languages

Rust60%
Python40%

Modules by API surface

0b_traits/python/super.py23 symbols
2b_builder_type_state/rust/email_builder/src/main.rs21 symbols
0b_traits/rust/supertraits.rs19 symbols
2b_builder_type_state/python/typed_builder.py18 symbols
2a_builder_pattern/rust/builder/src/main.rs10 symbols
29_pattern_matching_revisited/python/cmd_split.py9 symbols
27_fltk/python/fltk_ex.py9 symbols
22_websockets_server/python/fastapi_ws.py9 symbols
29_pattern_matching_revisited/rust/pattern/src/main.rs8 symbols
2a_builder_pattern/python/default_args.py7 symbols
1d_json/python/person.py7 symbols
0a_error_handling/rust/more_boilerplate.rs7 symbols

For agents

$ claude mcp add python2rust \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact