$npx skillfedfor your agent

pytest-helpers-namespace

Pytest Helpers Namespace Plugin

With conditionsPyPI TestingReleased Dec 2021230.6K downloads / moApache Software License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_helpers_namespace-2021.12.29-py3-none-any.whl
v2021.12.29 · released 2021-12-29 · Python >=3.5.6 · 1 runtime deps: pytest

Yes, if you are using an older pytest version and your test suite is stable. The plugin is simple, has no external dependencies beyond pytest, and solves a real organizational problem. However, do not use it in new projects or if you need active maintenance—the package is abandoned and may break with future pytest releases. Consider alternatives or inline helpers in conftest.py for new work.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single runtime dependency (pytest).
  • However, the package is abandoned—last release was 2021-12-29 and last commit 2022-10-10.
  • No active maintenance means bugs or compatibility issues with newer pytest versions will not be addressed.

License · maintenance · safety

Apache Software License 2.0 (permissive) — Licensed under Apache Software License 2.0, a permissive open-source license. You may use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

last release 2021-12-29 (1689 days) · last repo commit 2022-10-10 · 58 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 230,571 downloads/mo, #9,105 on PyPI

Verify before relying

pip install pytest-helpers-namespace

# In conftest.py:
import pytest

@pytest.helpers.register
def my_helper(value):
    return value

# In test file:
def test_example():
    assert pytest.helpers.my_helper(True) is True
  • Compatibility with pytest versions released after 2022-10-10 is unknown and untested.
  • Whether nested helper namespaces (pytest.helpers.can.haz) work reliably with current pytest is unverified.
Same gist for agents: .md · .json

What it is and what it does

pytest-helpers-namespace is a pytest plugin that creates a shared namespace accessible via pytest.helpers, allowing you to register helper functions in conftest.py and call them directly from test files without importing them. This reduces boilerplate in test files and centralizes helper definitions. The plugin supports nested namespaces, so you can organize helpers hierarchically (e.g., pytest.helpers.can.haz.foo).

The package depends only on pytest and installs with low friction. However, it has been abandoned since late 2022 with no active maintenance. The last release was 2021-12-29, meaning it may not be tested or compatible with recent pytest versions or Python releases beyond those listed in its classifiers.

Use it for

  • Centralize test utilities in conftest.py and access them via pytest.helpers without import statements in every test file.
  • Organize related helper functions into nested namespaces (e.g., pytest.helpers.database.connect) for better code structure.
  • Share common test setup functions across a large test suite without polluting the global namespace or test file imports.
  • Reduce test file boilerplate by making frequently used helper functions available through a single pytest.helpers entry point.

Worth the install?

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

With conditions

Yes, if you are using an older pytest version and your test suite is stable.

The plugin is simple, has no external dependencies beyond pytest, and solves a real organizational problem. However, do not use it in new projects or if you need active maintenance—the package is abandoned and may break with future pytest releases. Consider alternatives or inline helpers in conftest.py for new work.

Install

pytest-helpers-namespace on PyPI

Before you install

Low friction install with a single runtime dependency (pytest). However, the package is abandoned—last release was 2021-12-29 and last commit 2022-10-10. No active maintenance means bugs or compatibility issues with newer pytest versions will not be addressed.

License in practice

Licensed under Apache Software License 2.0, a permissive open-source license. You may use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

Quickstart

pip install pytest-helpers-namespace

# In conftest.py:
import pytest

@pytest.helpers.register
def my_helper(value):
    return value

# In test file:
def test_example():
    assert pytest.helpers.my_helper(True) is True

Verify before relying

  • Compatibility with pytest versions released after 2022-10-10 is unknown and untested.
  • Whether nested helper namespaces (pytest.helpers.can.haz) work reliably with current pytest is unverified.

Package facts

LicenseApache Software License 2.0 permissive
Python supportSupports the current Python release >=3.5.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pytest
MaintenanceAbandoned 1,689 days since the last release
Last repo commit
First released
Downloads230,571 / month, #9,105 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: pytest_helpers_namespace-2021.12.29-py3-none-any.whl

Tags

Capabilities
pytest helper functions namespacepytest conftest helperspytest shared test utilitiespytest plugin helperspytest test fixtures helpers
Topics
pytest-plugintest-helpersabandoned

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 › “pytest helper functions namespace”

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

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-datafiles · pytest-logging · pytest-socket · pytest-xml · pytest-cython · pytest-find-dependencies · pytest-error-for-skips · apipkg · pytest-variables · pytest-astropy-header