From 5f4f59a50c5d011a78f71989d4046de8a5b7656f Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 13 Aug 2024 18:25:27 +0000 Subject: [PATCH] chore: Update README.md with badges and links --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 90241fa..57e9023 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ # Swizzle Decorator +[![PyPI version](https://badge.fury.io/py/swizzle.svg)](https://badge.fury.io/py/swizzle) +[![Downloads](https://pepy.tech/badge/swizzle)](https://pepy.tech/project/swizzle) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/janthmueller/swizzle/blob/main/LICENSE) +[![GitHub Stars](https://img.shields.io/github/stars/janthmueller/swizzle.svg)](https://github.com/janthmueller/swizzle/stargazers) The **Swizzle Decorator** for Python enhances attribute lookup methods (`__getattr__` or `__getattribute__`) to facilitate dynamic and flexible retrieval of multiple attributes based on specified arrangements of their names. This concept is reminiscent of swizzling in computer graphics, where it allows efficient access to components of vectors or coordinates in various orders: