cattrs
Convert Python records to and from simple dictionary data.
python-attrs · Web and apps
GitHub projectOpen source Open on GitHubHow to try it
In a Python virtual environment, install cattrs==26.2.1. Load a fictional supply entry into a dataclass and turn it back into a dictionary.
What we tested
26.2.1. Load a fictional supply entry into a dataclass and turn it back into a dictionary. Converted the text count to an integer and preserved both fields.
Reviews
Rate this repoMore to explore
- h2 for PythonBuild and parse HTTP/2 messages from Python.GitHub projectOpen source
- Go QuerystringBuild URL query parameters from fields of a Go structure.GitHub projectOpen source
- Minify for GoReduce the size of web assets while keeping their meaning.GitHub projectOpen source