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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mergeron_extra-2024.739148.6.tar.gz
Algorithm Hash digest
SHA256 6a10d17dd2fc98bcd27ad52b5edb368a760dc4e34f000391dfca63cd45c58ec6
MD5 2de3983878a318901c7e113bcbdc4702
BLAKE2b-256 6f4ab78482bf56760bf9d34a0f847dcd65cdc11043721e945c84815b87898b09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mergeron_extra-2024.739148.6-py3-none-any.whl
Algorithm Hash digest
SHA256 deae44eafc6c661727196edb06cb3201fb0c597881979b7d075b79cfdfe73657
MD5 4c8152edeee3936b3f4f332f1c42f40d
BLAKE2b-256 38b2b9e57c0b037caf0d2b6c8d7bc65ec379b4600af297a726e448ffebf7e713

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