Skip to main content

Brad is a Python package for Bootstrap, permutation tests and other resampling functions.

Project description

Brad

gh-actions codecov PyPI - Python Version PyPI - License

Brad is a Python package for Bootstrap, permutation tests and other resampling functions.

Development

You can install brad and its dependencies from source from the root of this repo with

python -m pip install .

Tests and linters are run with nox. Install with

python -m pip install nox

You can then run one of the pre-configured nox "sessions" with

nox -s lint

The available sessions are:

  • lint: run source code linters (black, flake8, isort, mypy)
  • test: run test suite with PyTest. Will try to run on Python 3.7, 3.8 and 3.9.
  • test-3.x: run tests for only Python 3.x (replace x with 7, 8, or 9)
  • format: format source code with black and isort.

Running only the command

nox

will run lint and test by default (so in particular nox will not format the source code unless explicitly told to do so).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brad-0.1.0a2.tar.gz (9.7 kB view hashes)

Uploaded source

Built Distribution

brad-0.1.0a2-py3-none-any.whl (6.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page