transitions VS parsimonious

Compare transitions vs parsimonious and see what are their differences.

transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions (by pytransitions)

parsimonious

The fastest pure-Python PEG parser I can muster (by erikrose)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
transitions parsimonious
7 5
5,358 1,759
1.7% -
6.4 3.3
14 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.

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.

parsimonious

Posts with mentions or reviews of parsimonious. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-11.
  • How would I solve this?
    1 project | /r/learnpython | 6 Dec 2022
    Oh sorry, I grabbed the wrong PEG parser… I’ve used this one: https://github.com/erikrose/parsimonious
  • Not Your Grandfather’s Perl
    2 projects | /r/programming | 11 Sep 2022
    A grammar provides the high level constructs you need to define the "shape" of your data, and it largely takes care of the rest. Grammar libraries exist in other language (eg. lark or Parsimonius in Python) and they weren't created just to make XML parsing easier.
  • Do programmers save chunks of code for repeated use?
    6 projects | /r/learnpython | 27 Apr 2021
    I'm honestly shocked that you are being downvoted heavily for this. I was literally reading a pip module a few days ago that cites stackoverflow in the code. It may not be for code snips but it it's not wild to think that someone would do this for code they pulled from SO.
  • Advent of Code 2020: Day 25 with Generators in Python
    2 projects | dev.to | 24 Dec 2020
    Parsimonious
  • Advent of Code 2020: Day 07 using Python PEG grammars + NetworkX
    1 project | dev.to | 7 Dec 2020
    Since the input comes in the form of well-formatted text with with variable-width lines, this seems a perfect fit for a PEG parser, as described in Day 04. Using a PEG parser with a node visitor also lets us process each each node as it is being parsed, saving a loop or two. As usual, I will be using the parsimonious library for Python. Importing it with from parsimonious.grammar import Grammar

What are some alternatives?

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

xstate-python - XState for Python

pip - The Python package installer

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

Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.

Tenacity - Retrying library for Python

Bash-Utilities - A few bash scripts I've written that I wanted to share

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

NumPy - The fundamental package for scientific computing with Python.

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

attrs - Python Classes Without Boilerplate