Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedroombuilds/python2rust
/ functions
Functions
352 in github.com/bedroombuilds/python2rust
⨍
Functions
352
◇
Types & classes
106
↳
Endpoints
3
↓ 1 callers
Function
monte_carlo_pi
(iterations)
15_pymod_in_rust/python/monte_carlo_pi.py:12
↓ 1 callers
Function
multiply
docstring for function.
00_hello_world/python/syntax.py:4
↓ 1 callers
Function
multiply
docstring for module docstring for function
00_hello_world/rust/syntax.rs:4
↓ 1 callers
Method
name
(&self)
0b_traits/rust/supertraits.rs:48
↓ 1 callers
Function
number
(x)
06_pattern_matching/python/pattern_matching.py:21
↓ 1 callers
Function
number
(x: i32)
06_pattern_matching/rust/pattern_matching.rs:21
↓ 1 callers
Method
open
(path: impl AsRef<std::path::Path>)
0d_files/rust/bufread_lines.rs:25
↓ 1 callers
Function
otherstuff
()
12_modules/python/foo/other.py:1
↓ 1 callers
Method
pickup
(self, what)
28_rusty_python/python/pattern_matching.py:9
↓ 1 callers
Function
proc_monte_carlo_pi
(num_cpus, iterations)
15_pymod_in_rust/python/monte_carlo_pi.py:39
↓ 1 callers
Function
quit_game
()
29_pattern_matching_revisited/python/cmd_split.py:4
↓ 1 callers
Function
read_stdin_line
()
23_websockets_client/python/ws_client.py:6
↓ 1 callers
Function
reverse
(pair: tuple)
03_tuples_arrays/python/tuples.py:4
↓ 1 callers
Function
row_to_str_vec
silly way to convert row into Vec of Strings from postgres types see https://docs.rs/postgres/latest/postgres/types/trait.FromSql.html
21_postgresql/rust/pg_async/src/main.rs:16
↓ 1 callers
Function
row_to_str_vec
silly way to convert row into Vec of Strings from postgres types see https://docs.rs/postgres/latest/postgres/types/trait.FromSql.html
21_postgresql/rust/pg_blocking/src/main.rs:16
↓ 1 callers
Function
run
()
1a_logging/rust/logex/src/main.rs:8
↓ 1 callers
Function
scope
()
10_smart_pointers/python/rc.py:7
↓ 1 callers
Method
sender
(self, sender: impl Into<String>)
2b_builder_type_state/rust/email_builder/src/main.rs:175
↓ 1 callers
Function
stdin_to_ws
(websocket)
23_websockets_client/python/ws_client.py:11
↓ 1 callers
Function
subf
()
01_numbers/python/scope.py:8
↓ 1 callers
Function
subscope
()
10_smart_pointers/python/rc.py:13
↓ 1 callers
Function
sum_as_string
(a: i64, b: i64)
15_pymod_in_rust/rust/py_monte_carlo_pi/src/lib.rs:15
↓ 1 callers
Method
take
(self, obj, room)
29_pattern_matching_revisited/python/cmd_split.py:31
↓ 1 callers
Method
take
(&mut self, obj: String, room: &mut Room)
29_pattern_matching_revisited/rust/pattern/src/main.rs:53
↓ 1 callers
Function
user_connected
(ws: WebSocket, users: Users)
22_websockets_server/rust/warp_ws/src/main.rs:35
↓ 1 callers
Function
user_disconnected
(my_id: usize, users: &Users)
22_websockets_server/rust/warp_ws/src/main.rs:87
↓ 1 callers
Function
user_message
(my_id: usize, msg: Message, users: &Users)
22_websockets_server/rust/warp_ws/src/main.rs:68
↓ 1 callers
Method
value
(self)
22_websockets_server/python/atomic.py:24
↓ 1 callers
Method
with
(self: &mut Self, f: F)
14_context_manager/rust/context_manager.rs:19
↓ 1 callers
Method
withdraw
(self, amount: int)
28_rusty_python/python/type_hinting.py:18
↓ 1 callers
Function
ws_next
(websocket)
23_websockets_client/python/ws_client.py:19
Method
__add__
(self, rh)
0b_traits/python/defaults.py:10
Method
__del__
(self)
0b_traits/python/iterators.py:14
Method
__enter__
(self)
14_context_manager/python/context_manager.py:7
Method
__eq__
(self, rh)
0b_traits/python/defaults.py:13
Method
__exit__
(self, exc_type, exc_value, exc_traceback)
14_context_manager/python/context_manager.py:11
Method
__init__
(self)
0b_traits/python/iterators.py:2
Method
__init__
(self, x, y, z=None)
0b_traits/python/defaults.py:2
Method
__init__
(self, name)
0b_traits/python/super.py:13
Method
__init__
(self, name)
0b_traits/python/super.py:27
Method
__init__
(self, name)
0b_traits/python/super.py:35
Method
__init__
(self, name)
0b_traits/python/super.py:48
Method
__init__
(self)
22_websockets_server/python/fastapi_ws.py:10
Method
__init__
Initialize a new atomic counter to given initial value
22_websockets_server/python/atomic.py:6
Method
__init__
(self, uid, email, first_name, last_name)
2b_builder_type_state/python/typed_builder.py:6
Method
__init__
(self, uid)
2b_builder_type_state/python/typed_builder.py:24
Method
__init__
(self, email)
2b_builder_type_state/python/typed_builder.py:31
Method
__init__
(self, uid, email)
2b_builder_type_state/python/typed_builder.py:38
Method
__init__
(self, initial_balance: int = 0)
28_rusty_python/python/type_hinting.py:12
Method
__init__
(self, filename, mode)
14_context_manager/python/context_manager.py:2
Method
__init__
(self)
09_iterators/python/iterators.py:2
Method
__init__
(self, x, y, z=None)
07_structs/python/defaults.py:2
Method
__init__
(self, x, y)
07_structs/python/classes.py:2
Method
__init__
(self, x)
07_structs/python/classes.py:10
Method
__init__
(self, value)
10_smart_pointers/python/bintree.py:4
Method
__init__
(self, uid, email, first_name=None, last_name=None)
2a_builder_pattern/python/default_args.py:4
Method
__init__
(self)
2a_builder_pattern/python/default_args.py:24
Method
__init__
(self, name, age, job, verified, parents)
1d_json/python/person.py:5
Method
__init__
(self, name)
06_pattern_matching/python/pattern_matching.py:2
Method
__init__
(self, age)
06_pattern_matching/python/pattern_matching.py:6
Method
__init__
(self, xpos, ypos, width, height, label)
27_fltk/python/fltk_ex.py:48
Method
__init__
(self, objs=None)
29_pattern_matching_revisited/python/cmd_split.py:8
Method
__init__
(self)
29_pattern_matching_revisited/python/cmd_split.py:29
Method
__iter__
(self)
0b_traits/python/iterators.py:5
Method
__iter__
(self)
09_iterators/python/iterators.py:5
Method
__new__
(self)
27_fltk/python/fltk_ex.py:8
Method
__next__
(self)
0b_traits/python/iterators.py:8
Method
__next__
(self)
09_iterators/python/iterators.py:8
Method
__repr__
(self)
10_smart_pointers/python/bintree.py:10
Method
__str__
(self)
0b_traits/python/defaults.py:7
Method
__str__
(self)
2b_builder_type_state/python/typed_builder.py:12
Method
__str__
(self)
07_structs/python/defaults.py:7
Method
__str__
(self)
1d_json/python/person.py:12
Method
add
(self, rhs: String)
0c_operator_overloading/rust/operator_overloading.rs:17
Method
add1
(self)
27_fltk/python/fltk_ex.py:24
Method
add2
(self)
27_fltk/python/fltk_ex.py:29
Method
area
most efficient way to compute area
02_ecosystem/geo/src/lib.rs:29
Function
ascii_capitalize
(s: &str)
04_strings_unicode/rust/uppercase.rs:11
Function
bar
()
12_modules/python/foo/__init__.py:4
Method
builder
()
2b_builder_type_state/rust/email_builder/src/main.rs:15
Method
builder
(id: impl Into<i32>, email: impl Into<String>)
2a_builder_pattern/rust/builder/src/main.rs:56
Function
calling_next_directly
()
0b_traits/rust/iterators/src/lib.rs:35
Function
calling_next_directly
()
09_iterators/rust/iterators/src/lib.rs:29
Function
checked
in debug builds this will panic!
01_numbers/rust/cast.rs:32
Method
circumference
most efficient way to compute perimeter
02_ecosystem/geo/src/lib.rs:37
Method
closed
(self: &Self)
14_context_manager/rust/context_manager.rs:31
Function
comp_sci
(student: &T)
0b_traits/rust/supertraits.rs:78
Function
comp_sci_vs_programmer
(student: &T, programmer: &U)
0b_traits/rust/supertraits.rs:82
Method
complete
(&self)
2a_builder_pattern/rust/builder/src/main.rs:60
Method
dec
Atomically decrement the counter by num and return the new value
22_websockets_server/python/atomic.py:17
Method
decode
(self, s)
1d_json/python/person.py:22
Method
default
()
07_structs/rust/defaults.rs:20
Method
default
(self, o)
1d_json/python/person.py:17
Method
deposit
(self, amount: int)
28_rusty_python/python/type_hinting.py:15
Function
do_something
(x: u32)
05_functions/rust/functions.rs:1
Method
drop
(&mut self)
0b_traits/rust/iterators/src/lib.rs:25
Method
email
(self, email)
2b_builder_type_state/python/typed_builder.py:27
Method
fav_language
(self)
0b_traits/python/super.py:43
Method
fav_language
(self)
0b_traits/python/super.py:54
Method
fav_language
(&self)
0b_traits/rust/supertraits.rs:29
← previous
next →
101–200 of 352, ranked by callers