Skip to main content

Tools for users of the mergeron package.

Project description

Modules potentially useful to users of the mergeron package, but which do not implement the principal functions of the package, and are hence considered “extras” or “external” modules. One of these modules is, in fact, repackaged here although published independently.

The module mergeron_extra.proportions_tests provides methods for estimating confidence intervals for proportions and for contrasts (differences) in proportions. This module is coded for conformance to the literature and to results from the corresponding modules in R. Although written from scratch, the APIs implemented in the module included here are designed for consistency with the APIs in, statsmodels.stats.proportion from the package, statsmodels (https://pypi.org/project/statsmodels/). To access these directly:

import mergeron_extra.proportions_tests as prci

Module mergeron_extra.xlsxw_helper is useful for writing highly formatted output to spreadsheets with xlsx format. The class, mergeron_extra.xlsxw_helper.CFmt and function, mergeron_extra.xlsxw_helper.array_to_sheet are of particular interest, and can be accessed as xlh.CFmt and xlh.array_to_sheet with the following import:

import mergeron_extra.xlsxw_helper as xlh

A recent version of Paul Tol’s python module, tol_colors.py, which provides high-contrast color schemes for making displays with improved visibility for individuals with color-blindness, is redistributed within this package. Other than re-formatting and type annotation, the mergeron_extra.tol_colors module is re-distributed as downloaded from, https://personal.sron.nl/~pault/data/tol_colors.py. The tol_colors.py module is distributed under the Standard 3-clause BSD license. To access the mergeron_extra.tol_colors module directly:

import mergeron_extra.tol_colors as ptc
Poetry Ruff Checked with mypy License: MIT

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

mergeron_extra-2024.739148.3.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

mergeron_extra-2024.739148.3-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file mergeron_extra-2024.739148.3.tar.gz.

File metadata

  • Download URL: mergeron_extra-2024.739148.3.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.6.52-2.el8.x86_64

File hashes

Hashes for mergeron_extra-2024.739148.3.tar.gz
Algorithm Hash digest
SHA256 cba0c697e49dddee41a424901798c758d6636168cc4f3ad892eb5c700dc3ce9f
MD5 f9a63ac0f18b54e10d26f123a6d5ae1e
BLAKE2b-256 49693a3d66d9a80c2916647bb8a312f42fbe363a4aac989b3fac843b0b79f12f

See more details on using hashes here.

File details

Details for the file mergeron_extra-2024.739148.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mergeron_extra-2024.739148.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5216172df0ca6ef01c374c431de557b49a733ec3120bb778b7812f143f0053b5
MD5 c967e7b9a89e7fc8a940857c67faeda6
BLAKE2b-256 96dc378822b6e266c8f46b434bff3182f33d0759345061610326001dbb827c5c

See more details on using hashes here.

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