{"id":19176016,"url":"https://github.com/astropy/pytest-filter-subpackage","last_synced_at":"2025-04-15T06:51:19.467Z","repository":{"id":45302214,"uuid":"230742856","full_name":"astropy/pytest-filter-subpackage","owner":"astropy","description":"Simple pytest plugin to allow sub-packages to test to be selected with e.g. -P io.fits,modeling","archived":false,"fork":false,"pushed_at":"2025-04-01T20:24:55.000Z","size":61,"stargazers_count":5,"open_issues_count":3,"forks_count":7,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-12T00:22:05.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astropy.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"numfocus","custom":"https://numfocus.org/donate-to-astropy"}},"created_at":"2019-12-29T11:48:51.000Z","updated_at":"2025-04-01T20:24:58.000Z","dependencies_parsed_at":"2024-01-09T02:44:25.575Z","dependency_job_id":"67bb1d47-0b22-4932-b6b4-c8edfe56c84c","html_url":"https://github.com/astropy/pytest-filter-subpackage","commit_stats":{"total_commits":40,"total_committers":7,"mean_commits":5.714285714285714,"dds":0.55,"last_synced_commit":"fb1e8d767f9d2969190054c022dce7ab5c9b3b2e"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Fpytest-filter-subpackage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Fpytest-filter-subpackage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Fpytest-filter-subpackage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Fpytest-filter-subpackage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astropy","download_url":"https://codeload.github.com/astropy/pytest-filter-subpackage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249023708,"owners_count":21199958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T10:26:53.240Z","updated_at":"2025-04-15T06:51:19.449Z","avatar_url":"https://github.com/astropy.png","language":"Python","funding_links":["https://github.com/sponsors/numfocus","https://numfocus.org/donate-to-astropy"],"categories":[],"sub_categories":[],"readme":"========================\npytest-filter-subpackage\n========================\n\n.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10779130.svg\n    :target: https://doi.org/10.5281/zenodo.10779130\n    :alt: 10.5281/zenodo.10779130\n\n.. image:: https://github.com/astropy/pytest-filter-subpackage/actions/workflows/python-tests.yml/badge.svg?branch=main\n    :target: https://github.com/astropy/pytest-filter-subpackage/actions/workflows/python-tests.yml\n    :alt: CI\n\nThis package contains a simple plugin for the `pytest`_ framework that provides a\nshortcut to testing all code and documentation for a given sub-package.\n\n.. _pytest: https://pytest.org/en/latest/\n\nInstallation\n------------\n\nThe ``pytest-filter-subpackage`` plugin can be installed using ``pip``::\n\n    $ pip install pytest-filter-subpackage\n\nIt is also possible to install the latest development version from the source\nrepository::\n\n    $ git clone https://github.com/astropy/pytest-filter-subpackage\n    $ cd pytest-filter-subpackage\n    $ pip install .\n\nIn either case, the plugin will automatically be registered for use with\n``pytest``.\n\nUsage\n-----\n\nThis plugin provides a ``-P`` option which takes a comma-separated list\nof sub-package names (without the top-level package name)::\n\n    pytest -P wcs,io.fits\n\nwhich is equivalent to::\n\n    pytest **/wcs **/io/fits\n\nWhen used in conjunction with `pytest-doctestplus\n\u003chttp://github.com/astropy/pytest-doctestplus\u003e`_ this will result in both\nthe narrative documentation and code being tested for a given sub-package.\n\nLicense\n-------\nThis plugin is licensed under a 3-clause BSD style license - see the\n``LICENSE.rst`` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastropy%2Fpytest-filter-subpackage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastropy%2Fpytest-filter-subpackage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastropy%2Fpytest-filter-subpackage/lists"}