attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder methods).
copied from cf-staging / attrsconda install conda-forge::attrs
conda install conda-forge/label/broken::attrs
conda install conda-forge/label/cf201901::attrs
conda install conda-forge/label/cf202003::attrs
conda install conda-forge/label/gcc7::attrs
attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder methods). Its main goal is to help you to write concise and correct software without slowing down your code. For that, it gives you a class decorator and a way to declaratively define the attributes on that class: