$npx skillfedfor your agent

cucumber-expressions

Cucumber Expressions - a simpler alternative to Regular Expressions

Worth itPyPI Python ModulesReleased Aug 20263.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cucumber_expressions-20.1.0-py3-none-any.whl
v20.1.0 · released 2026-08-05 · Python >=3.10

Yes. The package is actively maintained, has no dependencies, supports current Python versions, carries a permissive MIT license, and fills a genuine need in BDD testing by offering a more readable alternative to regex for test step definitions. Install it if you're building or using BDD test frameworks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with no runtime dependencies.
  • Actively maintained with a recent release (9 days old) and steady repository activity.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2026-08-05 (9 days) · last repo commit 2026-08-14 · 199 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,558,089 downloads/mo, #2,577 on PyPI

Verify before relying

pip install cucumber-expressions

from cucumber_expressions import CucumberExpressionParser

parser = CucumberExpressionParser()
expression = parser.parse("I have {count} cucumbers")
  • Whether the parser handles custom parameter types beyond built-in types
  • Performance characteristics when parsing complex expressions at scale
  • Integration examples with specific BDD frameworks (pytest-bdd, behave, etc.)
Same gist for agents: .md · .json

What it is and what it does

Cucumber Expressions is a pattern-matching library designed for behavior-driven development that replaces regular expressions with a more intuitive, human-readable syntax. It parses expressions like "I have {count} cucumbers" into structured patterns that can extract and validate test step parameters, making test definitions easier to write and understand compared to regex-based approaches.

The library has no external runtime dependencies and supports modern Python versions (3.10 through 3.14). It is actively maintained by the Cucumber project and positioned as a core component for BDD test frameworks that need readable, maintainable step definitions.

Use it for

  • Write readable step definitions in BDD test suites without learning complex regex syntax
  • Parse and extract parameters from Gherkin-style test steps in behavior-driven tests
  • Build custom test frameworks that need human-friendly pattern matching for step matching
  • Integrate with Cucumber-based testing tools to standardize step expression syntax

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no dependencies, supports current Python versions, carries a permissive MIT license, and fills a genuine need in BDD testing by offering a more readable alternative to regex for test step definitions. Install it if you're building or using BDD test frameworks.

Install

cucumber-expressions on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained with a recent release (9 days old) and steady repository activity.

Requires Python 3.10 or later.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install cucumber-expressions

from cucumber_expressions import CucumberExpressionParser

parser = CucumberExpressionParser()
expression = parser.parse("I have {count} cucumbers")

Verify before relying

  • Whether the parser handles custom parameter types beyond built-in types
  • Performance characteristics when parsing complex expressions at scale
  • Integration examples with specific BDD frameworks (pytest-bdd, behave, etc.)

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 9 days since the last release
Last repo commit
First released
Downloads3,558,089 / month, #2,577 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing

Evidence: cucumber_expressions-20.1.0-py3-none-any.whl

Tags

Capabilities
BDD step definition patternscucumber expressions alternative to regexbehavior driven development testingreadable test step matchingcucumber gherkin expressions
Topics
bdd-testingpattern-matching
PyPI keywords
cucumberBDDtestingexpressions

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “BDD step definition patterns”

  • cucumber-expressionsCucumber Expressions provides a simpler, more readable alternative to…
  • radish-bddradish is a Behavior Driven Development (BDD) test framework written…
  • pytest-bddpytest-bdd implements Gherkin-based behavior-driven development…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also cucumber-tag-expressions · behave · gherkin-official · pytest-bdd · behave-django · radish-bdd · exrex · behavex · allure-behave · regress