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

https://github.com/astropy/pytest-filter-subpackage

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

region astronomy astropy astrophysics simulations dynamics sphinx ccd wx tk
Last synced: 6 months ago · JSON representation

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
Created about 6 years ago · Last pushed 10 months ago
Metadata Files
Readme Changelog License

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

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

All Time
  • Total Commits: 46
  • Total Committers: 6
  • Avg Commits per committer: 7.667
  • Development Distribution Score (DDS): 0.609
Past Year
  • Commits: 10
  • Committers: 3
  • Avg Commits per committer: 3.333
  • Development Distribution Score (DDS): 0.4
Top Committers
Name Email 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
bug (3) enhancement (2)
Pull Request Labels
dependencies (13) github_actions (5) bug (2) Build wheels (2)

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

  • Versions: 4
  • Dependent Packages: 2
  • Dependent Repositories: 94
  • Downloads: 245,896 Last month
  • Docker Downloads: 7,628
Rankings
Dependent repos count: 1.5%
Downloads: 1.6%
Docker downloads count: 1.7%
Dependent packages count: 3.2%
Average: 7.7%
Forks count: 15.4%
Stargazers count: 23.1%
Last synced: 6 months ago
spack.io: py-pytest-filter-subpackage

Pytest plugin for filtering based on sub-packages.

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 29.1%
Average: 29.7%
Stargazers count: 31.6%
Dependent packages count: 57.9%
Maintainers (1)
Last synced: 6 months ago
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.

  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 1
Rankings
Dependent packages count: 19.6%
Dependent repos count: 24.3%
Average: 40.4%
Forks count: 54.1%
Stargazers count: 63.6%
Last synced: 6 months ago
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.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 1
Rankings
Dependent packages count: 51.0%
Dependent repos count: 51.1%
Average: 53.7%
Forks count: 55.4%
Stargazers count: 57.3%
Last synced: 6 months ago

Dependencies

.github/workflows/publish.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/python-tests.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
pyproject.toml pypi
setup.py pypi