https://catalogartifact.azureedge.net/publicartifacts/pcloudhosting.attrs-7c838ae5-08e0-4f53-86c7-be3eb3331a59/image3_plarge.png
Attrs
por pcloudhosting
Just a moment, logging you in...
Version 26.1.0 + Free Support on Ubuntu 24.04
Attrs is a Python library designed to simplify class creation by automatically generating common methods such as __init__, __repr__, and __eq__. It enables developers to write cleaner, more maintainable, and boilerplate-free object-oriented code. Attrs is widely used for data modeling, configuration management, and simplifying codebases in Python projects.
- Eliminates boilerplate code by automatically generating initialization and comparison methods.
- Provides type annotations and default values for class attributes.
- Supports data validation and conversion through attribute metadata.
- Highly extensible and compatible with modern Python features like dataclasses.
- Lightweight and dependency-free, making it ideal for use in both small scripts and large-scale projects.
- Fully open-source and integrates seamlessly into any Python environment or virtual environment setup.
To verify the working of Attrs in your shell:
$sudo su$cd /opt
$source /opt/attrs-venv/bin/activate
$python3 -c "import attrs; print(attrs.__version__)"