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.5.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

mergeron_extra-2024.739148.5-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mergeron_extra-2024.739148.5.tar.gz
Algorithm Hash digest
SHA256 b6a1283e1832c1fc61eea125cd0d00e09d35d64a0a9d9b5d51ba7c336b472b25
MD5 3f87da784cc083a93b4891ee0dca0e6e
BLAKE2b-256 a37d5bb3db2027d5c6d5ed1933a489690735c70cde3a101f8adabfc3cb7ca939

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mergeron_extra-2024.739148.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c0978e0a33d213247b7a3a96654a5b862ce0cb4a6c0bea3c37e99445621b766b
MD5 1cfb0d2bba82165b593dd686f27e6637
BLAKE2b-256 8364729d9a694c21898f4e75f4e17cc866ad9ee2a3a794d4e26c1b318b78726d

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