You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tomli package is faster and more standards compliant than the toml package.
tomli is fully compatible with TOML v1.0.0, while toml is not. tomli is the fastest pure Python parser at 2.4x as fast as toml. tomli is used by major packages like jupyterlab and pytest. tomli is even included in the Python Standard Library as tomllib starting in Python 3.11.
The change should be straightforward. Replace all import toml with import tomli, and replace all toml.load with tomli.load.
The
tomli
package is faster and more standards compliant than thetoml
package.tomli
is fully compatible with TOML v1.0.0, whiletoml
is not.tomli
is the fastest pure Python parser at 2.4x as fast astoml
.tomli
is used by major packages likejupyterlab
andpytest
.tomli
is even included in the Python Standard Library astomllib
starting in Python 3.11.The change should be straightforward. Replace all
import toml
withimport tomli
, and replace alltoml.load
withtomli.load
.tomli
is hosted on PyPI at https://pypi.org/project/tomli/The text was updated successfully, but these errors were encountered: