https://github.com/astropy/pytest-filter-subpackage
Simple pytest plugin to allow sub-packages to test to be selected with e.g. -P io.fits,modeling
Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
1 of 6 committers (16.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Keywords from Contributors
Repository
Simple pytest plugin to allow sub-packages to test to be selected with e.g. -P io.fits,modeling
Basic Info
- Host: GitHub
- Owner: astropy
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Size: 63.5 KB
Statistics
- Stars: 5
- Watchers: 8
- Forks: 7
- Open Issues: 4
- Releases: 1
Metadata Files
README.rst
========================
pytest-filter-subpackage
========================
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10779130.svg
:target: https://doi.org/10.5281/zenodo.10779130
:alt: 10.5281/zenodo.10779130
.. image:: https://github.com/astropy/pytest-filter-subpackage/actions/workflows/python-tests.yml/badge.svg?branch=main
:target: https://github.com/astropy/pytest-filter-subpackage/actions/workflows/python-tests.yml
:alt: CI
This package contains a simple plugin for the `pytest`_ framework that provides a
shortcut to testing all code and documentation for a given sub-package.
.. _pytest: https://pytest.org/en/latest/
Installation
------------
The ``pytest-filter-subpackage`` plugin can be installed using ``pip``::
$ pip install pytest-filter-subpackage
It is also possible to install the latest development version from the source
repository::
$ git clone https://github.com/astropy/pytest-filter-subpackage
$ cd pytest-filter-subpackage
$ pip install .
In either case, the plugin will automatically be registered for use with
``pytest``.
Usage
-----
This plugin provides a ``-P`` option which takes a comma-separated list
of sub-package names (without the top-level package name)::
pytest -P wcs,io.fits
which is equivalent to::
pytest **/wcs **/io/fits
When used in conjunction with `pytest-doctestplus
`_ this will result in both
the narrative documentation and code being tested for a given sub-package.
License
-------
This plugin is licensed under a 3-clause BSD style license - see the
``LICENSE.rst`` file.
Owner
- Name: The Astropy Project
- Login: astropy
- Kind: organization
- Website: http://www.astropy.org
- Repositories: 88
- Profile: https://github.com/astropy
GitHub Events
Total
- Issues event: 1
- Watch event: 1
- Delete event: 7
- Push event: 8
- Pull request review comment event: 3
- Pull request review event: 6
- Pull request event: 17
- Fork event: 1
- Create event: 7
Last Year
- Issues event: 1
- Watch event: 1
- Delete event: 7
- Push event: 8
- Pull request review comment event: 3
- Pull request review event: 6
- Pull request event: 17
- Fork event: 1
- Create event: 7
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| P. L. Lim | 2****m | 18 |
| Thomas Robitaille | t****e@g****m | 12 |
| Brigitta Sipőcz | b****z@g****m | 8 |
| dependabot[bot] | 4****] | 6 |
| Marten van Kerkwijk | m****k@a****a | 1 |
| Clément Robert | c****2@p****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 11
- Total pull requests: 34
- Average time to close issues: about 1 year
- Average time to close pull requests: about 1 month
- Total issue authors: 5
- Total pull request authors: 8
- Average comments per issue: 1.18
- Average comments per pull request: 0.79
- Merged pull requests: 27
- Bot issues: 0
- Bot pull requests: 13
Past Year
- Issues: 2
- Pull requests: 20
- Average time to close issues: 4 days
- Average time to close pull requests: about 6 hours
- Issue authors: 2
- Pull request authors: 3
- Average comments per issue: 1.5
- Average comments per pull request: 0.2
- Merged pull requests: 17
- Bot issues: 0
- Bot pull requests: 13
Top Authors
Issue Authors
- pllim (4)
- bsipocz (4)
- yurivict (1)
- Cadair (1)
- olebole (1)
Pull Request Authors
- dependabot[bot] (13)
- pllim (8)
- bsipocz (5)
- MridulS (2)
- ConorMacBride (2)
- neutrinoceros (2)
- astrofrog (1)
- mhvk (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 4
-
Total downloads:
- pypi 245,896 last-month
- Total docker downloads: 7,628
-
Total dependent packages: 5
(may contain duplicates) -
Total dependent repositories: 96
(may contain duplicates) - Total versions: 8
- Total maintainers: 5
pypi.org: pytest-filter-subpackage
Pytest plugin for filtering based on sub-packages
- Homepage: https://github.com/astropy/pytest-filter-subpackage
- Documentation: https://pytest-filter-subpackage.readthedocs.io/
- License: BSD
-
Latest release: 0.2.0
published about 2 years ago
Rankings
Maintainers (4)
spack.io: py-pytest-filter-subpackage
Pytest plugin for filtering based on sub-packages.
- Homepage: https://github.com/astropy/pytest-filter-subpackage
- License: []
-
Latest release: 0.1.2
published over 2 years ago
Rankings
Maintainers (1)
conda-forge.org: pytest-filter-subpackage
This package contains a simple plugin for the pytest framework that provides a shortcut to testing all code and documentation for a given sub-package.
- Homepage: https://github.com/astropy/pytest-filter-subpackage
- License: BSD-3-Clause
-
Latest release: 0.1.1
published over 5 years ago
Rankings
anaconda.org: pytest-filter-subpackage
This package contains a simple plugin for the pytest framework that provides a shortcut to testing all code and documentation for a given sub-package.
- Homepage: https://github.com/astropy/pytest-filter-subpackage
- License: BSD-3-Clause
-
Latest release: 0.2.0
published about 1 year ago
Rankings
Dependencies
- actions/checkout v2 composite
- actions/setup-python v2 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite