Working With TOML and Python (Summary)
This is the end of your extensive tour of the TOML format and the ways that you can use it in Python. You’ve seen some of the features that make TOML a flexible and convenient format for configuration files. At the same time, you’ve uncovered some of the limitations that restrict its usefullness in other applications, like data serialization.
In this video course, you’ve:
- Learned about the TOML syntax and which data types it supports
- Parsed TOML documents with
tomli
andtomllib
- Written TOML documents with
tomli_w
- Losslessly updated TOML files with
tomlkit
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
00:00 Well done. You’ve made it to the end of the course. This is the end of your extensive tour of the TOML format and the ways you can use it in Python. You’ve seen some of the features that make TOML a flexible and convenient format for configuration files.
00:13 At the same time, you’ve uncovered some of the limitations that restrict its usefulness in other applications such as data serialization.
00:21
In this course, you’ve learned about the TOML syntax and which data types it supports, parsed TOML documents with tomllib
and tomli
, written TOML documents with tomli_w
and losslessly updated TOML files with tomlkit
.
00:37 With these new skills, where you have an application where you need to have a convenient configuration, TOML might be just what you are looking for. We hope you found this course useful and we’ll see you again soon at realpython.com.
Become a Member to join the conversation.