CrabScout. The best software around.
Search

cattrs

Convert Python records to and from simple dictionary data.

python-attrs · Web and apps

GitHub projectOpen source Open on GitHub

How 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 repo

More 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

Share

What the labels mean

Save to your library