RustPython
What's Left

RustPython currently supports the full Python syntax. This is “what’s left” from the Python Standard Library.
For each module’s details, check the Python Module Index.

Note that not every module here is critical or feasible for RustPython to implement. For example, the readline Python module is heavily based around the API of GNU readline, but we use rustyline (a different readline implementation), so it probably wouldn’t be worth the effort to emulate GNU readline on top of rustyline just to implement an infrequently used module.

In addition, some modules may just be modules written in Python that we haven’t copied over to the stdlib yet; always be sure to check whether a module is implemented in Python before trying to rewrite it in Rust. You can follow these instructions for copying over files from CPython’s Lib.

What's Left: Public Modules
  1. cProfile
  2. compression
  3. curses
  4. idlelib
  5. imaplib
  6. modulefinder
  7. poplib
  8. profile
  9. pstats
  10. readline
  11. tracemalloc
  12. turtle
  13. turtledemo
  14. xxlimited_35
What's Left: Private Modules
  1. _abc
  2. _ast_unparse
  3. _asyncio
  4. _codecs_cn
  5. _codecs_hk
  6. _codecs_iso2022
  7. _codecs_jp
  8. _codecs_kr
  9. _codecs_tw
  10. _ctypes_test
  11. _curses
  12. _curses_panel
  13. _datetime
  14. _dbm
  15. _decimal
  16. _elementtree
  17. _gdbm
  18. _heapq
  19. _hmac
  20. _interpchannels
  21. _interpqueues
  22. _interpreters
  23. _lsprof
  24. _multibytecodec
  25. _pickle
  26. _py_warnings
  27. _queue
  28. _remote_debugging
  29. _sha2
  30. _sysconfigdata__linux_x86_64-linux-gnu
  31. _testclinic
  32. _testclinic_limited
  33. _testsinglephase
  34. _tkinter
  35. _tokenize
  36. _tracemalloc
  37. _types
  38. _zoneinfo
  39. _zstd
What's left: Built-in Items

NoneType

  1. NoneType.__eq__ (inherited)
  2. NoneType.__ge__ (inherited)
  3. NoneType.__gt__ (inherited)
  4. NoneType.__hash__ (inherited)
  5. NoneType.__le__ (inherited)
  6. NoneType.__lt__ (inherited)
  7. NoneType.__ne__ (inherited)

bytearray

  1. bytearray.__buffer__
  2. bytearray.__release_buffer__
  3. bytearray.__str__ (inherited)
  4. bytearray.resize

bytes

  1. bytes.__buffer__
  2. bytes.__str__ (inherited)

complex

  1. complex.from_number

dict_items

  1. dict_items.__hash__ (inherited)

float

  1. float.from_number

map

  1. map.__setstate__

memoryview

  1. memoryview.__buffer__
  2. memoryview.__class_getitem__
  3. memoryview.__release_buffer__
  4. memoryview._from_flags
  5. memoryview.count
  6. memoryview.index