attrs VS transitions

Compare attrs vs transitions and see what are their differences.

attrs

Python Classes Without Boilerplate (by python-attrs)

transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions (by pytransitions)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
attrs transitions
11 7
5,056 5,304
1.2% 1.4%
9.2 7.4
8 days ago 3 months ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

attrs

Posts with mentions or reviews of attrs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-29.

transitions

Posts with mentions or reviews of transitions. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-26.

What are some alternatives?

When comparing attrs and transitions you can also consider the following projects:

xstate-python - XState for Python

blinker - A fast Python in-process signal/event dispatching system.

Tenacity - Retrying library for Python

riprova - Versatile async-friendly retry package with multiple backoff strategies

Blinker Herald - The Blinker Herald includes helpers to easily emit signals using the excellent blinker library.

cppimport - Import C++ files directly from Python!

import_string

itsdangerous - Safely pass trusted data to untrusted environments and back.

pluginbase - A simple but flexible plugin system for Python.

Pychievements - The Python Achievements Framework!

Throttler - 🔀⏳ Easy throttling with asyncio support