rthon


Namerthon JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
SummaryR-style probability functions for Python: Normal, Uniform, Binomial, Poisson, Exponential, and Gamma distributions
upload_time2025-08-25 02:10:20
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords r binomial distributions exponential gamma normal poisson probability statistics uniform
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # rthon

R-style probability functions for Python, providing familiar statistical distribution functions with R-compatible interfaces.

## Features

Currently supports these probability distributions:

- **Normal Distribution**: `dnorm`, `pnorm`, `qnorm`, `rnorm`
- **Uniform Distribution**: `dunif`, `punif`, `qunif`, `runif`
- **Binomial Distribution**: `dbinom`, `pbinom`, `qbinom`, `rbinom`
- **Poisson Distribution**: `dpois`, `ppois`, `qpois`, `rpois`
- **Exponential Distribution**: `dexp`, `pexp`, `qexp`, `rexp`
- **Gamma Distribution**: `dgamma`, `pgamma`, `qgamma`, `rgamma`

## Installation

```bash
pip install rprob
```

## Quick Start

```python
from rprob import dnorm, pnorm, qnorm, rnorm

# Normal distribution examples
dnorm(0)        # PDF at x=0
pnorm(1.96)     # CDF at x=1.96
qnorm(0.975)    # Quantile for p=0.975
rnorm(10)       # 10 random samples

# All functions support R-style parameters
pnorm(1.96, lower_tail=False, log=True)
dnorm([0, 1, 2], mean=1, sd=2)
```

## License

MIT License 
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rthon",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "R, binomial, distributions, exponential, gamma, normal, poisson, probability, statistics, uniform",
    "author": null,
    "author_email": "Sam Switz <samuel76@illinois.edu>",
    "download_url": "https://files.pythonhosted.org/packages/71/85/273df84162c6cf75e2136d15baac2f21e14a107312edd453138ec4701a83/rthon-0.3.0.tar.gz",
    "platform": null,
    "description": "# rthon\n\nR-style probability functions for Python, providing familiar statistical distribution functions with R-compatible interfaces.\n\n## Features\n\nCurrently supports these probability distributions:\n\n- **Normal Distribution**: `dnorm`, `pnorm`, `qnorm`, `rnorm`\n- **Uniform Distribution**: `dunif`, `punif`, `qunif`, `runif`\n- **Binomial Distribution**: `dbinom`, `pbinom`, `qbinom`, `rbinom`\n- **Poisson Distribution**: `dpois`, `ppois`, `qpois`, `rpois`\n- **Exponential Distribution**: `dexp`, `pexp`, `qexp`, `rexp`\n- **Gamma Distribution**: `dgamma`, `pgamma`, `qgamma`, `rgamma`\n\n## Installation\n\n```bash\npip install rprob\n```\n\n## Quick Start\n\n```python\nfrom rprob import dnorm, pnorm, qnorm, rnorm\n\n# Normal distribution examples\ndnorm(0)        # PDF at x=0\npnorm(1.96)     # CDF at x=1.96\nqnorm(0.975)    # Quantile for p=0.975\nrnorm(10)       # 10 random samples\n\n# All functions support R-style parameters\npnorm(1.96, lower_tail=False, log=True)\ndnorm([0, 1, 2], mean=1, sd=2)\n```\n\n## License\n\nMIT License ",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "R-style probability functions for Python: Normal, Uniform, Binomial, Poisson, Exponential, and Gamma distributions",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/sdswitz/rthon"
    },
    "split_keywords": [
        "r",
        " binomial",
        " distributions",
        " exponential",
        " gamma",
        " normal",
        " poisson",
        " probability",
        " statistics",
        " uniform"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7d3c074772a974d5c48ed31967872bbb555933013bd483958a77e7525c38e694",
                "md5": "f98d85a93854031b6df70811e9576cc9",
                "sha256": "a7d4c64455b97e806f1cd9c5aa8ab41632aa929f18fc2dcff22d8384c9ad5732"
            },
            "downloads": -1,
            "filename": "rthon-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f98d85a93854031b6df70811e9576cc9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 10228,
            "upload_time": "2025-08-25T02:10:19",
            "upload_time_iso_8601": "2025-08-25T02:10:19.014114Z",
            "url": "https://files.pythonhosted.org/packages/7d/3c/074772a974d5c48ed31967872bbb555933013bd483958a77e7525c38e694/rthon-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7185273df84162c6cf75e2136d15baac2f21e14a107312edd453138ec4701a83",
                "md5": "921b739344e32f49e7bec8051f75efbf",
                "sha256": "d050a8bc4ffe99bf7073e94815a8cf8ff5c8e27b4023898acfa6f5de7802dbd0"
            },
            "downloads": -1,
            "filename": "rthon-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "921b739344e32f49e7bec8051f75efbf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8683,
            "upload_time": "2025-08-25T02:10:20",
            "upload_time_iso_8601": "2025-08-25T02:10:20.544171Z",
            "url": "https://files.pythonhosted.org/packages/71/85/273df84162c6cf75e2136d15baac2f21e14a107312edd453138ec4701a83/rthon-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-25 02:10:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sdswitz",
    "github_project": "rthon",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "rthon"
}
        
Elapsed time: 0.91223s