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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mergeron_extra-2024.739148.0.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.739148.0.tar.gz
Algorithm Hash digest
SHA256 3a5489394fc0d6b4e7dfed1632b87a5e6b4ead029632f0156808886a0ad6d88f
MD5 73ddff07f54237d134bebd3e370a05dd
BLAKE2b-256 4b7d6680f1e2306486aa914bc7accbbe23cc2f3fdebcbf48ffb914e8e40ac850

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mergeron_extra-2024.739148.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56ad6cb5b0994618c38e2a57ef2b86e72fe199fcac68755b441e6fc5c1f24d4d
MD5 17d43364feeca628bfa68f068aba73cc
BLAKE2b-256 53ef3f677ed45a3791e42f26030dc23e0a94975e3c3019e6c897261d32256029

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