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

Metapackage for all the testing machinery used by the Astropy Project

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

Science Score: 46.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
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 9 committers (11.1%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.6%) to scientific vocabulary

Keywords from Contributors

astronomy astropy astrophysics advanced-scientific-data-format asdf notebook blackhole closember sphinx linked-data
Last synced: 7 months ago · JSON representation

Repository

Metapackage for all the testing machinery used by the Astropy Project

Basic Info
  • Host: GitHub
  • Owner: astropy
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Size: 83 KB
Statistics
  • Stars: 5
  • Watchers: 16
  • Forks: 13
  • Open Issues: 1
  • Releases: 3
Created over 8 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.rst

==============
pytest-astropy
==============

.. image:: https://zenodo.org/badge/104255122.svg
   :target: https://zenodo.org/badge/latestdoi/104255122
   :alt: Zenodo DOI

This is a meta-package that pulls in the dependencies that are used by
`astropy`_ and some `affiliated packages`_ for testing. It can also be used for
testing packages that are not affiliated with the Astropy project.

This package also provides pytest markers for cpu and memory intensive tests
(``pytest.mark.slow`` and ``pytest.mark.hugemem``). Tests marked with those
markers are not run by default, can be run with the other tests with
``--run-slow`` and ``--run-hugemem``, and can be run separately with ``-m slow``
and ``-m hugemem``.

The package also provides the short option ``-R`` for ``--remote-data``.

.. _astropy: https://docs.astropy.org/en/latest/
.. _affiliated packages: https://astropy.org/affiliated

Dependencies
------------

The following dependencies are installed by this package:

* The `pytest`_ testing framework for Python.
* `pytest-astropy-header`_, a ``pytest`` plugin used for custom test header.
* `pytest-remotedata`_, a ``pytest`` plugin used for controlling access to data
  files hosted online.
* `pytest-doctestplus`_, a ``pytest`` plugin that provides advanced features
  for testing example code in documentation.
* `pytest-arraydiff`_, a ``pytest`` plugin that enables the generation and
  comparison of data arrays produced during unit tests.
* `pytest-filter-subpackage`_, a ``pytest`` plugin that adds a ``-P`` option to
  pytest to filter by sub-package.
* `pytest-mock`_,  a thin-wrapper around the mock package for easier use
  with ``pytest``.
* `pytest-cov`_, a ``pytest`` plugin to measure test coverage.
* `hypothesis`_, a Python library for property based testing.

.. _pytest: https://doc.pytest.org
.. _pytest-astropy-header: https://github.com/astropy/pytest-astropy-header
.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata
.. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus
.. _pytest-arraydiff: https://github.com/astropy/pytest-arraydiff
.. _pytest-filter-subpackage: https://github.com/astropy/pytest-filter-subpackage
.. _pytest-mock: https://github.com/pytest-dev/pytest-mock
.. _pytest-cov: https://github.com/pytest-dev/pytest-cov
.. _hypothesis: https://hypothesis.readthedocs.io

Installation
------------

The ``pytest-astropy`` plugin can be installed using ``pip``::

    $ pip install pytest-astropy

It is also possible to install the latest development version from the source
repository::

    $ git clone https://github.com/astropy/pytest-astropy
    $ cd pytest-astropy
    $ python ./setup.py install

In either case, the plugin will automatically be registered for use with
``pytest``.

Development Status
------------------

Questions, bug reports, and feature requests can be submitted on `github`_.

.. _github: https://github.com/astropy/pytest-astropy

License
-------
This package 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
  • Watch event: 1
  • Delete event: 6
  • Issue comment event: 1
  • Push event: 7
  • Pull request review event: 5
  • Pull request event: 14
  • Fork event: 1
  • Create event: 7
Last Year
  • Watch event: 1
  • Delete event: 6
  • Issue comment event: 1
  • Push event: 7
  • Pull request review event: 5
  • Pull request event: 14
  • Fork event: 1
  • Create event: 7

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 94
  • Total Committers: 9
  • Avg Commits per committer: 10.444
  • Development Distribution Score (DDS): 0.681
Past Year
  • Commits: 10
  • Committers: 3
  • Avg Commits per committer: 3.333
  • Development Distribution Score (DDS): 0.2
Top Committers
Name Email Commits
Daniel D'Avella d****a@s****u 30
P. L. Lim 2****m 17
Brigitta Sipőcz b****z@g****m 14
Thomas Robitaille t****e@g****m 12
dependabot[bot] 4****] 9
Simon Conseil s****l@i****r 6
Eero Vaher e****r@a****e 4
Stuart Mumford s****t@c****m 1
Ben Greiner c****e@b****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 27
  • Total pull requests: 46
  • Average time to close issues: 10 months
  • Average time to close pull requests: 11 days
  • Total issue authors: 8
  • Total pull request authors: 9
  • Average comments per issue: 3.67
  • Average comments per pull request: 1.7
  • Merged pull requests: 40
  • Bot issues: 0
  • Bot pull requests: 13
Past Year
  • Issues: 0
  • Pull requests: 12
  • Average time to close issues: N/A
  • Average time to close pull requests: about 4 hours
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.08
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 11
Top Authors
Issue Authors
  • pllim (12)
  • drdavella (5)
  • bsipocz (5)
  • keflavich (1)
  • mcepl (1)
  • mhvk (1)
  • miurahr (1)
  • astrofrog (1)
Pull Request Authors
  • dependabot[bot] (17)
  • pllim (14)
  • drdavella (6)
  • eerovaher (4)
  • bsipocz (4)
  • astrofrog (3)
  • bnavigator (1)
  • Cadair (1)
  • saimn (1)
Top Labels
Issue Labels
enhancement (4) question (4) upstream fix required (2) maintenance (2) docs (1) help wanted (1) bug (1) wontfix (1)
Pull Request Labels
dependencies (17) Build wheels (5) github_actions (4) no-changelog-entry-needed (3) maintenance (3) docs (2) bug (1) enhancement (1)

Packages

  • Total packages: 4
  • Total downloads:
    • pypi 175,160 last-month
  • Total docker downloads: 12,216
  • Total dependent packages: 123
    (may contain duplicates)
  • Total dependent repositories: 3,580
    (may contain duplicates)
  • Total versions: 32
  • Total maintainers: 4
pypi.org: pytest-astropy

Meta-package containing dependencies for testing

  • Versions: 12
  • Dependent Packages: 112
  • Dependent Repositories: 3,394
  • Downloads: 175,160 Last month
  • Docker Downloads: 12,216
Rankings
Dependent repos count: 0.2%
Dependent packages count: 0.2%
Docker downloads count: 1.1%
Downloads: 1.5%
Average: 6.1%
Forks count: 10.5%
Stargazers count: 23.1%
Maintainers (3)
Last synced: 7 months ago
spack.io: py-pytest-astropy

Meta-package containing dependencies for testing.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 24.9%
Average: 28.3%
Stargazers count: 30.5%
Dependent packages count: 57.9%
Maintainers (1)
Last synced: 7 months ago
conda-forge.org: pytest-astropy

This is a meta-package that pulls in the dependencies that are used by astropy and some affiliated packages for testing. It can also be used for testing packages that are not affiliated with the Astropy project.

  • Versions: 9
  • Dependent Packages: 11
  • Dependent Repositories: 93
Rankings
Dependent repos count: 3.6%
Dependent packages count: 5.5%
Average: 28.7%
Forks count: 43.7%
Stargazers count: 62.0%
Last synced: 8 months ago
anaconda.org: pytest-astropy

This is a meta-package that pulls in the dependencies that are used by astropy and some affiliated packages for testing. It can also be used for testing packages that are not affiliated with the Astropy project.

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 93
Rankings
Dependent repos count: 19.2%
Average: 44.9%
Dependent packages count: 51.2%
Forks count: 51.6%
Stargazers count: 57.5%
Last synced: 7 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
pyproject.toml pypi
setup.py pypi