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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mergeron_extra-2024.739099.8.tar.gz
Algorithm Hash digest
SHA256 452ca1d8c7ccd94ab2ad767078301fcf3c111bc23080138b44ed7cda985e25ce
MD5 3163c6d24b19c1697dcb844abf94d098
BLAKE2b-256 f560687996f6b12e9413a1109776462c134b0990fad6b7ccaac28012c1234eb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mergeron_extra-2024.739099.8-py3-none-any.whl
Algorithm Hash digest
SHA256 34b393b6d651a0d519615ffffa2315d0361238c20d1569ddc5e2f74ba6e5bdb0
MD5 65ce1660c84d94342efce22f683887fe
BLAKE2b-256 e14c76e28beb3728f792f663203d12890af56606cededc5d5e440e6ae9ac4e55

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