$npx skillfedfor your agent

pytest-remotedata

Pytest plugin for controlling remote data access.

Worth itPyPI UtilitiesReleased Aug 2026429.0K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_remotedata-0.4.2-py3-none-any.whl
v0.4.2 · released 2026-08-03 · Python >=3.9 · 2 runtime deps: pytest, packaging

Yes. This is a lightweight, actively maintained plugin with no security vulnerabilities, permissive licensing, and low install friction. It solves a real problem for packages with internet-dependent tests. Install it if your test suite includes tests that access remote data and you want to keep local runs fast.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with only pytest and packaging as dependencies.
  • Actively maintained with a release 11 days ago; supports current Python versions (3.9 through 3.14).

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use this in commercial projects with minimal restrictions, provided you include the license notice.

last release 2026-08-03 (11 days) · last repo commit 2026-08-03 · 24 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 429,009 downloads/mo, #6,742 on PyPI

Verify before relying

pip install pytest-remotedata

import pytest
from urllib.request import urlopen

@pytest.mark.remote_data
def test_remote_data():
    urlopen('https://example.org')

# Run with: pytest --remote-data
  • Whether strict remote data checking (remote_data_strict) works with all test runners or only specific configurations.
  • Performance impact of the plugin on large test suites with many marked tests.
Same gist for agents: .md · .json

What it is and what it does

pytest-remotedata is a pytest plugin that provides decorators to mark tests that require internet access or should run only when offline. It originated in the astropy package but is now standalone for general use. The plugin adds a --remote-data command-line option to pytest, allowing you to control whether remote-data tests execute, skip, or run only for specific data sources (like astropy). By default, marked tests are skipped, keeping local test runs fast; you opt in to running them with explicit flags.

The plugin is useful when your package has features that depend on downloading data or calling external APIs, but you want those tests isolated from your regular test suite. It lets you mark individual test functions, methods, or classes with @pytest.mark.remote_data or @pytest.mark.internet_off, then control their execution from the command line without editing test code. It also supports strict mode to catch accidental network access in unmarked tests.

Use it for

  • Mark tests that download datasets or call external APIs, then skip them in CI to keep builds fast.
  • Run only internet-dependent tests on demand with --remote-data, keeping local development cycles quick.
  • Enforce that unmarked tests never access the network by enabling strict mode in setup.cfg.
  • Organize tests by data source (e.g., --remote-data=astropy) to run only tests for specific providers.
  • Test offline behavior by running only @pytest.mark.internet_off tests to verify graceful degradation.

Worth the install?

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

Worth it

Yes.

This is a lightweight, actively maintained plugin with no security vulnerabilities, permissive licensing, and low install friction. It solves a real problem for packages with internet-dependent tests. Install it if your test suite includes tests that access remote data and you want to keep local runs fast.

Install

pytest-remotedata on PyPI

Before you install

Low friction install with only pytest and packaging as dependencies. Actively maintained with a release 11 days ago; supports current Python versions (3.9 through 3.14).

License in practice

BSD-3-Clause is permissive; you can use this in commercial projects with minimal restrictions, provided you include the license notice.

Quickstart

pip install pytest-remotedata

import pytest
from urllib.request import urlopen

@pytest.mark.remote_data
def test_remote_data():
    urlopen('https://example.org')

# Run with: pytest --remote-data

Verify before relying

  • Whether strict remote data checking (remote_data_strict) works with all test runners or only specific configurations.
  • Performance impact of the plugin on large test suites with many marked tests.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pytestpackaging
MaintenanceActively maintained 11 days since the last release
Last repo commit
First released
Downloads429,009 / month, #6,742 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: TestingTopic :: Utilities

Evidence: pytest_remotedata-0.4.2-py3-none-any.whl

Tags

Capabilities
pytest remote data access controlskip internet tests pytestmark tests requiring networkconditional test execution internetpytest internet connectivity plugin
Topics
pytest-plugintest-controlnetwork-isolation
PyPI keywords
remotedatapytestpy.test

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 remote data access control”

  • pytest-remotedataA pytest plugin that lets you mark and selectively run tests…
  • pytest-astropyA meta-package that bundles pytest plugins and testing libraries used…
  • pytest-doctestplusA pytest plugin that runs doctests in Python docstrings and…

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

More Utilities 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
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / 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
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
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also pytest-astropy · pytest-doctestplus · pytest-dependency · pytest-skip-slow · pytest-astropy-header · pytest-filter-subpackage · pytest-skip-markers · pytest-only · pytest-run-parallel · flaky