hyppo is an open-source software package for multivariate hypothesis testing.

Overview

hyppo

CircleCI Codecov Netlify PythonVersion PyPi arXivshield

hyppo (HYPothesis Testing in PythOn, pronounced "Hippo") is an open-source software package for multivariate hypothesis testing. We decided to develop hyppo for the following reasons:

  • With the increase in the amount of data in many fields, hypothesis testing for high dimensional and nonlinear data is important
  • Libraries in R exist, but their interfaces are inconsistent and most are not available in Python

hyppo intends to be a comprehensive multivariate hypothesis testing package and runs on all major versions of operating systems. It also includes novel tests not found in other packages. It is quick to install and free of charge. If you need to use multivariate hypothesis testing, be sure to give hyppo a try!

Website: https://hyppo.neurodata.io/

Installation

Dependencies

hyppo requires the following:

User installation

The easiest way to install hyppo is using pip:

pip install hyppo

To upgrade to a newer release use the --upgrade flag:

pip install --upgrade hyppo

The documentation includes more detailed installation instructions. hyppo is free software; you can redistribute it and/or modify it under the terms of the license.

Changelog

See the changelog for a history of notable changes to hyppo.

Development

We welcome new contributors of all experience levels. The hyppo community goals are to be helpful, welcoming, and effective. The contributor guide has detailed information about contributing code, documentation and tests.

Note: We have recently moved our benchmarks (with relevant figure replication code for our papers) folder to a new repo! We aim to add test development code and paper figure replication code there, and will add relevant tests (with tutorials) to hyppo.

Project History

hyppo is a rebranding of mgcpy, which was founded in Novemember 2018. mgcpy was designed and written by Satish Palaniappan, Sambit Panda, Junhao Xiong, Sandhya Ramachandran, and Ronak Mehtra. hyppo was designed and written by Sambit Panda and first released February 2020.

Comments
  • MGC redundancy warning (#125)

    MGC redundancy warning (#125)

    Reference issue

    Add warning when X or Y have redundant rows; close #125

    Type of change

    Documentation

    What does this implement/fix?

    Added a function check_redundancy in mgc.py to check if redundancies are present in x or y and report a warning to the user.

    Additional information

    I used the following code to find if redundant rows exist

        def check_redundancy(self, x, y):
            """Check if there are redundant rows in input arrays x and y"""
    
            combined = np.column_stack([x, y])
            unique_rows = np.unique(combined, axis=0)
            redundancy_flag = combined.shape != unique_rows.shape
            if redundancy_flag:
                warnings.warn("Redundant rows exist")
    

    Added a test in test_mgc.py for checking if UserWarning is printed successfully.

    opened by Verathagnus 24
  • Add discriminability (one sample and two sample)

    Add discriminability (one sample and two sample)

    Closes https://github.com/sampan501/mgc/issues/13.

    Added functionality for one sample test (@sampan501 ). This performs a one-sample test for whether the discriminability differs from random chance, as described in: https://www.biorxiv.org/content/10.1101/802629v1.full

    enhancement 
    opened by jdey4 13
  • Redundancy check for MGC

    Redundancy check for MGC

    Reference issue

    Add warning when X or Y have redundant rows; close #125

    Type of change

    Documentation

    What does this implement/fix?

    Added a function _check_redundancy in mgc.py to check if redundancies are present in x or y and report a warning to the user.

    Additional information

    I used the following code to find if redundant rows exist

        def _check_redundancy(self, x, y, mgc_dict):
            """Check if there are redundant rows in input arrays x and y"""
            if x.shape[0] == 1:
                return
    
            if [len(x), len(y)] > mgc_dict["opt_scale"]:
                warnings.warn("Redundant rows exist")
    

    Added a test in test_mgc.py for checking if UserWarning is printed successfully.

    opened by Verathagnus 10
  • Allow for passing a random state to test objects and use rng instead of np.random

    Allow for passing a random state to test objects and use rng instead of np.random

    Is your feature request related to a problem? Please describe. I don't see any way to control the random state for most tests (e.g. dcorr)

    Is there some way that I am missing?

    Describe the solution you'd like Be able to pass a random state/seed to the independence (or other) test object to enable reproducibility

    Describe alternatives you've considered setting the global numpy random state - but I'm not sure how this plays with parallelization, different platforms, etc. and have found this to be unreliable in the past.

    Example https://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html as an example of passing a random state

    enhancement question 
    opened by bdpedigo 10
  • Discriminability `y` should allow arbitrary type or make docs more clear

    Discriminability `y` should allow arbitrary type or make docs more clear

    Is your feature request related to a problem? Please describe. Currently, the y argument to Discriminability.test(x, y) will raise an error if a vector of strings is passed. The error is just that a string array cannot be cast to float.

    The docs currently just say nd.array and don't clarify what type of values are accepted. (See here)

    Describe the solution you'd like I don't see why the y argument needs to be cast to float (here), but maybe I'm missing something? From a quick look at the code I don't think anything would break if you just didn't cast this array. Especially since most of the time, these will be ints, i'd imagine.

    Describe alternatives you've considered If you disagree or I'm wrong, the docs should at least be clarified as to what types are accepted, and a check for that data type in the array seems reasonable.

    documentation good first issue hyppo.discrim 
    opened by bdpedigo 10
  • Added kernel goodness of fit

    Added kernel goodness of fit

    Reference issue

    Close #103

    Type of change

    Addition of functionality

    What does this implement/fix?

    This will implement the kernel goodness of fit (Jitkrittum, Xu, Szabo, Fukumizu & Gretton 2017): https://proceedings.neurips.cc/paper/2017/file/979d472a84804b9f647bc185a877a8b5-Paper.pdf. A new module "kgof" is added in hyppo/tools, I am attaching a .txt file with the code

    kgof in hyppo demonstration.txt to demonstrate it. All credit goes to Jitkrittum et al. for the kernel goodness of fit. Note: This comes with an added setup requirement for hyppo: autograd>=1.1.7 since it computes derivatives for optimization and replaces NumPy.

    Additional information

    This is only the implementation of the first link given in #103 -- the second, (Jitkrittum, Szabo & Gretton 2017), is not implemented.

    Why I think CircleCI "run code linting" is failing for tools: Since now there is a new requirement of autograd, I linted goftest.py (where the error originated) to find 2 errors: E: 15, 0: Unable to import 'autograd' (import-error) E: 16, 0: Unable to import 'autograd.numpy' (import-error)

    But I've added autograd in the setup.py and requirements.txt. So I'm guessing CircleCI isn't still considering autograd a requirement.. or I'm missing another spot to specify autograd as the new requirement (apart from setup.py and requirements.txt). Runs fine locally.

    enhancement 
    opened by GM-git-dotcom 9
  • Edited the types in the documentation section.

    Edited the types in the documentation section.

    Reference issue

    closes #140 closes #245

    Type of change

    Documentation

    What does this implement/fix?

    As of issue #140 the types of both x and y are changed to ndarray of floats in the documentation.

    Additional information

    opened by ghost 8
  • potential k-sample tests to add

    potential k-sample tests to add

    • [x] https://projecteuclid.org/euclid.aos/1176344722
    • [x] https://arxiv.org/abs/1506.04725
    • [x] http://papers.nips.cc/paper/6148-interpretable-distribution-features-with-maximum-testing-power
    enhancement ndd hyppo.ksample 
    opened by sampan501 8
  • Fix #228

    Fix #228

    Adds rng.permutation reproducibility to perm_test @kareef928 from issue #228 . Should all work, but someone can PR to this or extend the modifications.

    opened by rflperry 7
  • [BUG] scipy 1.8 breaks hyppo import

    [BUG] scipy 1.8 breaks hyppo import

    Reproducing code example:

    import hyppo.discrim
    

    Error message

    /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/hyppo/discrim/__init__.py:1: in <module>
        from .discrim_one_samp import DiscrimOneSample
    /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/hyppo/discrim/discrim_one_samp.py:5: in <module>
        from ._utils import _CheckInputs
    /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/hyppo/discrim/_utils.py:4: in <module>
        from ..tools import check_ndarray_xy, check_reps, contains_nan, convert_xy_float64
    /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/hyppo/tools/__init__.py:1: in <module>
        from .common import *
    /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/hyppo/tools/common.py:6: in <module>
        from scipy.stats.stats import _contains_nan
    E   ImportError: cannot import name '_contains_nan' from 'scipy.stats.stats' (/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/scipy/stats/stats.py)
    

    The function _contains_nan() was moved to a different file in scipy 1.8. In general, this is why it's a bad idea to rely on importing private functions.

    Recommend just copy-pasting the private function into hyppo explicitly.

    bug 
    opened by bdpedigo 6
  • Fast HHG Test

    Fast HHG Test

    Reference issue

    Aims to close #106: Add Fast HHG.

    Type of change

    Added fast version of independence test into hhg.py and edited independence tutorial.

    What does this implement/fix?

    Adds fast HHG independence test.

    Additional information

    Compared to fast Dcorr, I made fast HHG opt-in rather than auto performing on 1D data due to low relative power of fast HHG in most scenarios. Ran through Black formatting check and successfully built through Sphinx.

    opened by TacticalFallacy 6
  • Discriminability for a multivariate measure (64k vertices)

    Discriminability for a multivariate measure (64k vertices)

    Hi there,

    I've got a measure of shape (subjects, sessions, vertices). That is, the measure consists of multiple values per session per subject. The input shape required by hyppo.discrim.DiscrimOneSample is (subjects, sessions) which implies a univariate measure per session, as far as I understood it. What would you recommend to circumvent this?

    Also, it would be useful if code examples in the documentation involved data resembling real data (e.g. fMRI, connectivity) and an example of a research question concerning reproducibility assessment.

    Thanks in advance

    question 
    opened by victoris93 0
  • Energy statistic is wrong

    Energy statistic is wrong

    I was trying to compare the energy statistic implemented in hyppo with the one implemented in my own package, dcor. However, I found that the statistic in hyppo implements the energy statistic based in Theorem 2 from https://arxiv.org/pdf/1910.08883.pdf, but does it in a wrong way.

    In https://github.com/neurodata/hyppo/blob/d0450180d0717a2f73ae55e1f8c1c8413e048a5e/hyppo/ksample/energy.py#L118 the coefficient should be inverted (as one implements the energy from the distance correlation, and not otherwise). Moreover the x passed to distance covariance should be the concatenation of x and y, and the y passed should be a label containing zero for samples in x and 1 for samples in y.

    Reproducing code example:

    from hyppo.ksample import Energy
    import dcor
    import numpy as np
    
    x = np.arange(100.0)
    y = x**2
    
    print("dcor", dcor.energy_distance(x, y))
    print("paper formula", dcor.distance_covariance_sqr(np.concatenate([x, y]), np.concatenate([np.zeros(len(x)), np.ones(len(y))])) * 200**4 / (2 * 100**2 * 100**2))
    print("hyppo", hyppo.ksample.Energy(bias=True).statistic(x[:, None], y[:, None]))
    

    Results

    dcor 3146.5236000000004
    paper formula 3146.5235999999986
    hyppo 5501.374807500008
    

    Version information

    • OS: Any
    • Python Version: Any
    • Package Version: 0.3.2
    bug 
    opened by vnmabus 1
  • Conditional distance correlation for conditional independence?

    Conditional distance correlation for conditional independence?

    Is your feature request related to a problem? Please describe. Wondering what jovo / your thoughts are on including a submodule for CI based testing?

    Describe the solution you'd like E.g. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4749041/

    I skimmed it and it introduces the conditional dcorr function which could be used for CI tests.

    Describe alternatives you've considered

    Additional context (e.g. screenshots)

    enhancement 
    opened by adam2392 0
  • Add Range of Friedman Rafsky Test Statistic

    Add Range of Friedman Rafsky Test Statistic

    My issue is about ... Updating the documentation to include the range of the Friedman Rafsky test statistic

    Snapshot of documentation error:

    Additional context

    This is a sub-issue of issue 121.

    I have been investigating the ranges of some test statistics, and I have made some progress. I would like to contribute the ranges I have determined, starting with Friedman Rafsky.

    documentation 
    opened by oakla 0
Releases(v0.3.2)
  • v0.3.2(Feb 10, 2022)

    This release just fixes the bug of using emojis in the long description so the package can build on Windows.

    Authors

    Issues Closed

    N/A

    PRs Merged

    N/A

    Source code(tar.gz)
    Source code(zip)
  • v0.3.1(Feb 10, 2022)

  • v0.3.0(Feb 10, 2022)

    hyppo v0.3.0 is the culmination of 12 months of hard work. It contains many new features, numerous bug-fixes, improved test coverage and better documentation. All users are encouraged to upgrade to this release, as there are a large number of bug-fixes and optimizations.

    This release requires Python 3.6+.

    Highlights of this release

    New features

    • Added goodness of fit module with FSSD
    • Added d-variate independence testing module with dHsic
    • Added fast HHG
    • Added Friedman Rafsky test
    • Added Smooth CF Test
    • Added Mean Embedding Test

    Bug fixes

    • Copy _contains_nan function from SciPy since it is gone

    Documentation

    • Made documentation more accessible with a new theme
    • Added example for block permutation
    • Mentioned types of inputs of ndarrays

    Maintenance

    • Drafted PR to include Dcorr in SciPy
    • Bumped iPython for security reasons

    Authors

    Issues Closed

    • #103: Create a goodness of fit module in hyppo
    • #104: Add dHsic to hyppo
    • #106: Add fast HHG
    • #140: Discriminability y should allow arbitrary type or make docs more clear
    • #187: potential k-sample tests to add
    • #211: Fast Two-Sample Testing with Analytic Representations of Probability Measures
    • #235: Add existing permutation tree simulation notebook to docs
    • #245: Add more description about types of ndarray in all methods in documentation
    • #249: Add contributors to README
    • #303: [BUG] scipy 1.8 breaks hyppo import

    PRs Merged

    • #232: Creating a goodness-of-fit module in hyppo
    • #233: Adding dHSIC
    • #234: Fast tstest
    • #238: Fast HHG Test
    • #239: Friedman Rafsky PR
    • #242: add permutation test example to docs
    • #244: Edited the types in the documentation section.
    • #299: Bump ipython from 7.19.0 to 7.31.1 in /docs
    • #304: Copy SciPy private _contains_nan function
    Source code(tar.gz)
    Source code(zip)
  • v0.2.2(Dec 7, 2021)

    Note: People with a "+" by their names contributed a patch for the first time.

    Release date: 7 December 2021 Supports: Python 3.6+.

    New features

    • Functions now can be reproducible using a random_state parameter
    • Add warning for redundant rows when running :class:hyppo.independence.MGC
    • Tests now also retun a namedtuple

    Bug Fixes

    • Change from L1 to L2 distance for the median heuristic
    • Make median heuristic default for RBF and Gaussian kernels

    Documentation

    • Update license in setup.py
    • Change reference style and store reference in a refs.bib file
    • Updated papers in documentation from preprint to published versions
    • Rename badges in README

    Maintenance

    • Added support for Python 3.9
    • Update pytest orbs version
    • Make repository citeable with the new GitHub feature

    Authors

    • @sampan501
    • @kareef928 +
    • @rflperry
    • @Verathagnus +
    • @PSSF23 +
    • @hadasarik +
    Source code(tar.gz)
    Source code(zip)
  • v0.2.1(Feb 25, 2021)

    Note: People with a "+" by their names contributed a patch for the first time.

    Release date: 25 February 2021 Supports: Python 3.6+.

    Bug Fixes

    • hyppo.independence.Dcorr and hyppo.independence.Hsic when auto=True had low finite power, fixed.
    • Fast exact statistic for hyppo.independence.Dcorr was incorrect, fixed

    Documentation

    • Fix PyPi description rendering issues
    • Add more descriptive contributing guidelines
    • Add ROLES.md for specification about maintainers
    • Added power computation for independence increasing sample size and dimension
    • Add benchmark section and move relevant examples there
    • Add base classes

    Maintenance

    • Fix gaussian kernel to prevent division by 0
    • Add checks for Type I error

    Authors

    • Sambit Panda
    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Feb 8, 2021)

    Note: People with a "+" by their names contributed a patch for the first time.

    Release date: 08 February 2021 Supports: Python 3.6+.

    New features

    • Added restricted permutation functionality for Dcorr
    • Kernel functions now wrap scikit-learn and support keyword arguments
    • hyppo.ksample.Energy
    • hyppo.ksample.DISCO
    • hyppo.ksample.MMD
    • Fast 1D exact Dcorr O(n log n)
    • hyppo.ksample.Hotelling
    • hyppo.ksample.MANOVA
    • hyppo.independence.MaxMargin

    Bug Fixes

    • Fixed error check for k-sample tests to be between samples instead of within
    • Time series doesn't clip negative values
    • Fix docs not building on netlify
    • Fix p-value calculations for permutation tests to be more in line with the literature
    • Fix hyppo.independence.Dcorr and hyppo.independence.Hsic incorrect stats

    Documentation

    • Update badges and README to FIRM guidelines
    • Incorrect equation in :meth:hyppo.tools.circle docstring
    • Update README to be in line with scikit-learn
    • Remove literature reference section in docstrings, add links to papers
    • Add docstrings for :mod:hyppo.tools functions
    • Add overview.py file for an overview of the package
    • Add tutorials folder, rewrite so it is more user-friendly (port independence, k-sample, time series)
    • Add examples folder with more information about unique features
    • Move to sphinx-gallery instead of nbconvert
    • Use automodule instead of autoclass
    • Make clear about the package requirements and docs requirements
    • Make changelog into a single file
    • Add external links to neurodata and code of conduct
    • Add citing page to cite the package papers
    • Make index page a clone of README
    • Update MakeFile for more options
    • Add intersphinx mapping with links externally (numpy, scipy, etc.) and internally
    • Add docs for statistic function
    • Add discriminability tutorial

    Maintenance

    • Fix typos in warning commits
    • Updated tests to precalculate distance matrix
    • Moved from Travis CI to Circle CI
    • Raise base requirements.txt to fix failing tests on CircleCI
    • Add code coverage config files
    • Add documentation folders and files to .gitignore
    • Remove reps warning test
    • Cache numba after first call to speed up runs
    • Fix netlify config to new doc build structure

    Authors

    • Sambit Panda
    • Vivek Gopalakrishnan +
    • Ronak Mehta
    • Ronan Perry +
    Source code(tar.gz)
    Source code(zip)
  • v0.1.3(Jul 24, 2020)

    hyppo 0.1.3 does not include any new features, just fixes. This release requires Python 3.6+.

    Fixes

    k-sample testing

    Prevent division by zero when calculating using default gaussian median kernel.

    Other

    Used chi2.sf instead of 1 - chi2.cdf

    Authors

    This release contains work by the following people (contributed at least one patch to this release, names in alphabetical order by last name):

    • Benjamin Pedigo +
    • Anton Alayakin +

    People with a "+" by their names contributed a patch for the first time.

    Source code(tar.gz)
    Source code(zip)
  • v0.1.2(May 6, 2020)

    hyppo 0.1.2 does not include any new features, just fixes. This release requires Python 3.6+.

    Fixes

    k-sample testing

    Fixed MMD/k-samp;e Hsic not running bug.

    Authors

    This release contains work by the following people (contributed at least one patch to this release, names in alphabetical order by last name):

    • Sambit Panda

    A total of 1 person contributed to this release. People with a "+" by their names contributed a patch for the first time.

    Source code(tar.gz)
    Source code(zip)
  • v0.1.1(Apr 29, 2020)

    hyppo 0.1.1 does not include any new features, just removal of extraneous features.

    Release highlights:

    • Kernel matrices calculated once before calculating p-values
    • Pearson, Kendall, and Spearman are no longer tests

    This release requires Python 3.6+.

    Improvements

    Independence testing

    Null distribution added as a class atribute. Calculate kernel once before calculating p-value.

    k-sample testing

    Null distribution added as a class atribute. Calculate kernel once before calculating p-value. Upper and lower-case inputs are available for indep_test.

    Time series

    Reference docs and tutorials added to Time Series module.

    Other changes

    OS/Software requirements and license changes updated in ReadME. pairwise_distances from sklearn used instead of cdist from scipy.

    Removed features

    Pearson, Spearman, and Kendall are no longer tests within the package. arXiv badge added to docs. Python 3.5 no longer supported.

    Authors

    This release contains work by the following people (contributed at least one patch to this release, names in alphabetical order by last name):

    • Ronak Mehta +
    • Sambit Panda
    • Bijan Varjavand +

    A total of 3 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Feb 26, 2020)

    hyppo 0.1.0 is the culmination of 8 months of hard work. It contains many new features, numerous bug-fixes, improved test coverage and better documentation. All users are encouraged to use this release instead of the mgcpy, which this package is replacing, are a large number of bug-fixes and optimizations. Moreover, our development attention will now shift to bug-fix releases on this branch, and on adding new features on the development master branch.

    Release highlights (as compared to mgcpy):

    • New time series and discriminability modules
    • More user-friendly implementation of k-Sample Testing

    This release requires Python 3.5+.

    New features

    Independence testing

    Tests have been given a unique class as compared to mgcpy. Parallelization in this module makes tests faster and Hsic has been added as a standalone test within this package (uses exact equivalence implementation).

    k-sample testing

    k-Sample testing is now organized within a class that is modeled similarly to how independence tests are run. More information about the specifics of how this works can be found in the docs.

    Time series

    Time series based independence tests have been included as a separate module from independence tests.

    Simulations

    Simulations have been included as a separate module and hyppo.sims now includes k-sample simulations and time series simulations.

    Discriminability

    Discriminability has been included from the r-mgc package and has been changed so it conforms to the hyppo API.

    Benchmarks

    A benchmarks folder as been added that contains notebooks comparing statistical power, algorithm wall times, and test statistics comparisons between the algorithms and sometimes between the respective R implementations. Many of those notebooks have been condensed into tutorials in the documentation.

    Other changes

    API has been changed as compared to mgcpy and is modeled after scikit-learn with the inclusion of the base.py containing an abstract class within each module and energy with a .test method calculating test statistic in p-value.

    Authors

    This release contains work by the following people (contributed at least one patch to this release, names in alphabetical order by last name):

    • Jayanta Dey +
    • Sambit Panda +

    A total of 2 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

    Source code(tar.gz)
    Source code(zip)
Plugin for generating HTML reports for pytest results

pytest-html pytest-html is a plugin for pytest that generates a HTML report for test results. Resources Documentation Release Notes Issue Tracker Code

pytest-dev 548 Dec 28, 2022
pytest splinter and selenium integration for anyone interested in browser interaction in tests

Splinter plugin for the pytest runner Install pytest-splinter pip install pytest-splinter Features The plugin provides a set of fixtures to use splin

pytest-dev 238 Nov 14, 2022
Automatic SQL injection and database takeover tool

sqlmap sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of

sqlmapproject 25.7k Jan 04, 2023
A collection of benchmarking tools.

Benchmark Utilities About A collection of benchmarking tools. PYPI Package Table of Contents Using the library Installing and using the library Manual

Kostas Georgiou 2 Jan 28, 2022
Python Rest Testing

pyresttest Table of Contents What Is It? Status Installation Sample Test Examples Installation How Do I Use It? Running A Simple Test Using JSON Valid

Sam Van Oort 1.1k Dec 28, 2022
A test fixtures replacement for Python

factory_boy factory_boy is a fixtures replacement based on thoughtbot's factory_bot. As a fixtures replacement tool, it aims to replace static, hard t

FactoryBoy project 3k Jan 05, 2023
Automating the process of sorting files in my downloads folder by file type.

downloads-folder-automation Automating the process of sorting files in a user's downloads folder on Windows by file type. This script iterates through

Eric Mahasi 27 Jan 07, 2023
frwk_51pwn is an open-sourced remote vulnerability testing and proof-of-concept development framework

frwk_51pwn Legal Disclaimer Usage of frwk_51pwn for attacking targets without prior mutual consent is illegal. frwk_51pwn is for security testing purp

51pwn 4 Apr 24, 2022
Test for generating stylized circuit traces from images

I test of an image processing idea to take an image and make neat circuit board art automatically. Inspired by this twitter post by @JackRhysider

Miller Hooks 3 Dec 12, 2022
A simple Python script I wrote that scrapes NASA's James Webb Space Telescope tracker website using Selenium and returns its current status and location.

A simple Python script I wrote that scrapes NASA's James Webb Space Telescope tracker website using Selenium and returns its current status and location.

9 Feb 10, 2022
A pure Python script to easily get a reverse shell

easy-shell A pure Python script to easily get a reverse shell. How it works? After sending a request, it generates a payload with different commands a

Cristian Souza 48 Dec 12, 2022
Thin-wrapper around the mock package for easier use with pytest

pytest-mock This plugin provides a mocker fixture which is a thin-wrapper around the patching API provided by the mock package: import os class UnixF

pytest-dev 1.5k Jan 05, 2023
Enabling easy statistical significance testing for deep neural networks.

deep-significance: Easy and Better Significance Testing for Deep Neural Networks Contents ⁉️ Why 📥 Installation 🔖 Examples Intermezzo: Almost Stocha

Dennis Ulmer 270 Dec 20, 2022
Docker-based integration tests

Docker-based integration tests Description Simple pytest fixtures that help you write integration tests with Docker and docker-compose. Specify all ne

Avast 326 Dec 27, 2022
A simple serverless create api test repository. Please Ignore.

serverless-create-api-test A simple serverless create api test repository. Please Ignore. Things to remember: Setup workflow Change Name in workflow e

Sarvesh Bhatnagar 1 Jan 18, 2022
Minimal example of how to use pytest with automated 'devops' style automated test runs

Pytest python example with automated testing This is a minimal viable example of pytest with an automated run of tests for every push/merge into the m

Karma Computing 2 Jan 02, 2022
This project demonstrates selenium's ability to extract files from a website.

This project demonstrates selenium's ability to extract files from a website. I've added the challenge of connecting over TOR. This package also includes a personal archive site built in NodeJS and A

2 Jan 16, 2022
This project is used to send a screenshot by email of your MyUMons schedule using Selenium python lib (headless mode)

MyUMonsSchedule Use MyUMonsSchedule python script to send a screenshot by email (Gmail) of your MyUMons schedule. If you use it on Windows, take care

Pierre-Louis D'Agostino 6 May 12, 2022
Tools for test driven data-wrangling and data validation.

datatest: Test driven data-wrangling and data validation Datatest helps to speed up and formalize data-wrangling and data validation tasks. It impleme

269 Dec 16, 2022