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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page