Skip to main content

PySATL Criterion

Pysatl_criterion CI Coverage Status Documentation

This repository contains a collection of Python scripts and modules for performing various statistical tests. These tests are designed to help you analyze data, make inferences, and draw conclusions based on statistical methods. The repository is organized to be easy to use, modular, and extensible.

Installation

To use this repository, you need to have Python 3.9 or later installed on your system. You can install the required dependencies by following these steps:

Clone the repository:

git clone https://github.com/PySATL/pysatl-criterion.git

Install dependencies:

poetry install

You're all set! You can now import and use the statistical tests in your Python scripts.

PySATL Criterion module usage example:

Statistic calculation example:

# import needed criterion from pysatl_criterion
from pysatl_criterion.statistics import KolmogorovSmirnovNormalityGofStatistic


# make a criterion object
statistic = KolmogorovSmirnovNormalityGofStatistic(mean=0, var=1)

# initialize test data
x = [0.1, 0.7, 0.5, 0.3]

# then run algorithm
result = statistic.execute_statistic(x)

# print the results
print(f"Statistic result: {result}")
# output:
# Statistic result: 0.539827837277029

Documentation

We invite you to read the bot documentation to ensure you understand how the PySATL Criterion lib is working.

Please find the complete documentation on the PySATL Criterion website.

Support

Bugs / Issues

If you discover a bug in the PySATL criterion lib, please search the issue tracker first. If it hasn't been reported, please create a new issue and ensure you follow the template guide so that the team can assist you as quickly as possible.

For every issue created, kindly follow up and mark satisfaction or reminder to close issue when equilibrium ground is reached.

--Maintain github's community policy--

Feature Requests

Have you a great idea to improve the bot you want to share? Please, first search if this feature was not already discussed. If it hasn't been requested, please create a new request and ensure you follow the template guide so that it does not get lost in the bug reports.

Pull Requests

Feel like the PySATL criterion lib is missing a feature? We welcome your pull requests!

Please read the Contributing document to understand the requirements before sending your pull-requests.

Coding is not a necessity to contribute - maybe start with improving the documentation? Issues labeled good first issue can be good first contributions, and will help get you familiar with the codebase.

Note before starting any major new feature work, please open an issue describing what you are planning to do. This will ensure that interested parties can give valuable feedback on the feature, and let others know that you are working on it.

Important: Always create your PR against the develop branch, not stable.

Software requirements

Development

Install requirements

poetry install --with dev

Pre-commit

Install pre-commit hooks:

poetry run pre-commit install

Starting manually:

poetry run pre-commit run --all-files --color always --verbose --show-diff-on-failure

License

This project is licensed under the terms of the Apache License 2.0 license. See the LICENSE for more information.

Metadata

Release files for pysatl-criterion 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysatl-criterion 1.0.0
File Size Uploaded Provenance Actions
pysatl_criterion-1.0.0.tar.gz 72.3 kB With provenance Details for pysatl_criterion-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysatl-criterion 1.0.0
File Interpreter ABI Platform Actions
pysatl_criterion-1.0.0-py3-none-any.whl Python 3 none any Details for pysatl_criterion-1.0.0-py3-none-any.whl

Total release size: 178.7 kB

Release files / pysatl_criterion-1.0.0.tar.gz

Download URL pysatl_criterion-1.0.0.tar.gz
Size 72.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1cf0925250321d2b934944ee938e014435703f151c76142f9f6e17deafe2e38e
BLAKE2b-256 checksum
How to use checksums
3c4ac7b5bcafc192b3c288f249191e3b3f49b1f7cd2007e1509a9618f26e691d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

Release files / pysatl_criterion-1.0.0-py3-none-any.whl

Download URL pysatl_criterion-1.0.0-py3-none-any.whl
Size 106.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea6a354c20793cc72d343ae3c129d2b873eff38069af3e9a38014b30e5cde4bf
BLAKE2b-256 checksum
How to use checksums
d9174e4ebd5e76b323bdaf6e1b0ff281c3854ea5e3192c99622635a5cfb068fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

Security for pysatl-criterion 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pysatl_criterion-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page