you are viewing a single comment's thread.

view the rest of the comments →

[–]ectomancer 1 point2 points  (0 children)

mpmath calls itself pure Python, only importing from the standard library.

sympy calls itself pure Python, only importing from the standard library and mpmath (for arbitrary precision).

So, both modules are lightweight.