pytest-astropy
Meta-package containing dependencies for testing
Decision gist · record as of 2026-08-14
Yes. This is a low-friction, actively maintained meta-package with no security issues and broad Python version support. Install it if you're working with Astropy, affiliated packages, or any project that would benefit from the bundled testing plugins. The only caveat is verifying that all 10 bundled dependencies align with your project's needs—if you only need a subset, installing individual plugins may be lighter.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- Low friction install with a wheel distribution.
- Actively maintained with a recent release 11 days ago and an active repository.
License · maintenance · safety
BSD (permissive) — Licensed under BSD (permissive), allowing use in most projects without significant restrictions.
last release 2026-08-03 (11 days) · last repo commit 2026-08-03 · 5 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 303,718 downloads/mo, #7,810 on PyPI
Alternatives
Verify before relying
pip install pytest-astropy
Then in your test file:
import pytest
# Your tests automatically gain access to all bundled pytest plugins- Whether the bundled plugins work well together in all use cases or if conflicts can arise between them.
- Performance impact of loading all 10 runtime dependencies for projects that only need a subset.
What it is and what it does
pytest-astropy is a meta-package that installs a curated collection of pytest plugins and testing libraries in one go. Rather than managing individual pytest extensions separately, you install pytest-astropy and get pytest itself, plus plugins for remote data handling, advanced doctesting, array comparison, test filtering, coverage measurement, mocking, slow test marking, and the hypothesis property-based testing library.
It's designed primarily for Astropy and its affiliated packages but works for any Python project. The package is actively maintained, supports Python 3.8 through 3.12, and carries no known security vulnerabilities. Installation is straightforward via pip with low friction.
Use it for
- Set up a complete testing environment for an Astropy-affiliated package without manually specifying each pytest plugin.
- Add property-based testing via hypothesis to an existing pytest suite alongside standard unit tests.
- Enable remote data file testing and docstring example verification in scientific Python projects.
- Measure test coverage and filter tests by subpackage in a single unified configuration.
- Standardize testing practices across multiple related Python packages by using the same plugin bundle.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a low-friction, actively maintained meta-package with no security issues and broad Python version support. Install it if you're working with Astropy, affiliated packages, or any project that would benefit from the bundled testing plugins. The only caveat is verifying that all 10 bundled dependencies align with your project's needs—if you only need a subset, installing individual plugins may be lighter.
Install
pytest-astropy on PyPI
Before you install
Low friction install with a wheel distribution. Actively maintained with a recent release 11 days ago and an active repository.
Requires Python 3.8 or later.
License in practice
Licensed under BSD (permissive), allowing use in most projects without significant restrictions.
Quickstart
pip install pytest-astropy
Then in your test file:
import pytest
# Your tests automatically gain access to all bundled pytest plugins
Verify before relying
- Whether the bundled plugins work well together in all use cases or if conflicts can arise between them.
- Performance impact of loading all 10 runtime dependencies for projects that only need a subset.
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 10 packagespytestpytest-doctestpluspytest-remotedatapytest-astropy-headerpytest-arraydiffpytest-filter-subpackagepytest-covpytest-mockpytest-skip-slowhypothesis |
| Maintenance | Actively maintained 11 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 303,718 / month, #7,810 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: HypothesisFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating 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.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: TestingTopic :: Utilities |
Evidence: pytest_astropy-0.12.0-py3-none-any.whl
Tags
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 plugins bundle”
- pytest-astropyA meta-package that bundles pytest plugins and testing libraries used…
- deadline-cloud-test-fixturesProvides pytest fixtures and test utilities for AWS Deadline Cloud…
- pytest-enablerA pytest plugin that conditionally enables other pytest plugins based…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
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.
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.
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.
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.
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.
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.
See also pytest-astropy-header · pytest-filter-subpackage · pytest-remotedata · pytest-mock · pytest-doctestplus · pytest-arraydiff · pytest-cov · pytest-cover · hegel-core · pytest-selenium