patsy

Describing statistical models in Python using symbolic formulas

https://github.com/pydata/patsy

Science Score: 59.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 22 committers (4.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.7%) to scientific vocabulary

Keywords from Contributors

closember flexible alignment prediction cython wx survival-analysis gtk qt timeseries-analysis
Last synced: 6 months ago · JSON representation

Repository

Describing statistical models in Python using symbolic formulas

Basic Info
  • Host: GitHub
  • Owner: pydata
  • License: other
  • Language: Python
  • Default Branch: master
  • Size: 2.06 MB
Statistics
  • Stars: 970
  • Watchers: 34
  • Forks: 103
  • Open Issues: 75
  • Releases: 15
Created over 13 years ago · Last pushed 7 months ago
Metadata Files
Readme License Code of conduct

README.md

Patsy

Notice: patsy is no longer under active development. As of August 2021, Matthew Wardrop (@matthewwardrop) and Tomás Capretto (@tomicapretto) have taken on responsibility from Nathaniel Smith (@njsmith) for keeping the lights on, but no new feature development is planned. The spiritual successor of this project is Formulaic, and we recommend that users migrate when possible. For the time being, until major software packages have successfully transitioned, we will attempt to keep patsy working in its current state with current releases in the Python ecosystem.


Patsy is a Python library for describing statistical models (especially linear models, or models that have a linear component) and building design matrices. Patsy brings the convenience of R "formulas" to Python.

PyPI - Version PyPI - Python Version https://patsy.readthedocs.io/ PyPI - Status https://coveralls.io/r/pydata/patsy?branch=master https://doi.org/10.5281/zenodo.592075

Dependencies

  • Python (3.6+)
  • numpy
  • Optional:
    • pytest/pytest-cov: needed to run tests
    • scipy: needed for spline-related functions like bs

Installation

pip install patsy (or, for traditionalists: python setup.py install)

License

2-clause BSD, see LICENSE.txt for details.

Owner

  • Name: Python for Data
  • Login: pydata
  • Kind: organization

GitHub Events

Total
  • Create event: 3
  • Release event: 2
  • Issues event: 6
  • Watch event: 35
  • Delete event: 1
  • Issue comment event: 49
  • Push event: 51
  • Pull request review event: 14
  • Pull request review comment event: 15
  • Pull request event: 28
  • Fork event: 2
Last Year
  • Create event: 3
  • Release event: 2
  • Issues event: 6
  • Watch event: 35
  • Delete event: 1
  • Issue comment event: 49
  • Push event: 51
  • Pull request review event: 14
  • Pull request review comment event: 15
  • Pull request event: 28
  • Fork event: 2

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 533
  • Total Committers: 22
  • Avg Commits per committer: 24.227
  • Development Distribution Score (DDS): 0.188
Past Year
  • Commits: 19
  • Committers: 5
  • Avg Commits per committer: 3.8
  • Development Distribution Score (DDS): 0.474
Top Committers
Name Email Commits
Nathaniel J. Smith n****s@p****m 433
Matthew Wardrop m****p@g****m 31
Christian Hudon c****h@p****g 15
broessli b****r@g****m 15
pre-commit-ci[bot] 6****] 10
thequackdaddy p****k@g****m 6
broessli t****r@a****e 4
Kevin Sheppard b****e 3
Alexandre Detiste a****e@g****m 2
Skipper Seabold j****d@g****m 2
Adam Chainz a****m@a****u 1
Andrey Portnoy a****y@u****u 1
Benjamin A. Beasley c****e@m****t 1
Cameron Davidson-Pilon c****n@g****m 1
Hassan Kibirige h****1@g****m 1
Katrin Leinweber 9****r 1
Max Humber m****r 1
Maximilien Colange 1****x 1
Michael Hudson-Doyle m****n@c****m 1
Miloššš Korenčiak m****k 1
OTABI Tomoya t****i@g****m 1
Tim Gates t****s@i****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 85
  • Total pull requests: 61
  • Average time to close issues: about 1 year
  • Average time to close pull requests: 4 months
  • Total issue authors: 77
  • Total pull request authors: 23
  • Average comments per issue: 3.55
  • Average comments per pull request: 3.02
  • Merged pull requests: 38
  • Bot issues: 0
  • Bot pull requests: 16
Past Year
  • Issues: 3
  • Pull requests: 23
  • Average time to close issues: about 6 hours
  • Average time to close pull requests: 3 days
  • Issue authors: 3
  • Pull request authors: 5
  • Average comments per issue: 4.33
  • Average comments per pull request: 0.65
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 16
Top Authors
Issue Authors
  • njsmith (3)
  • memeplex (3)
  • kloczek (2)
  • mgorny (2)
  • bashtage (2)
  • szs8 (2)
  • knathanieltucker (1)
  • chkothe (1)
  • spillz (1)
  • adityaraute (1)
  • Julian (1)
  • BrianMiner (1)
  • alexhallam (1)
  • matthewwardrop (1)
  • musicinmybrain (1)
Pull Request Authors
  • pre-commit-ci[bot] (21)
  • matthewwardrop (10)
  • bashtage (8)
  • thequackdaddy (7)
  • a-detiste (4)
  • njsmith (3)
  • EpigeneMax (3)
  • pgajdos (2)
  • ceholden (2)
  • natsukium (2)
  • ossdev07 (1)
  • louispotok (1)
  • arbazkhan002 (1)
  • musicinmybrain (1)
  • yarikoptic (1)
Top Labels
Issue Labels
fixed in formulaic (8) wontfix (6) enhancement (4) moved to formulaic (2) well-defined-task-definitely-do-this (1) duplicate (1) bug (1)
Pull Request Labels
fixed in formulaic (3) wontfix (1)

Packages

  • Total packages: 17
  • Total downloads:
    • pypi 20,515,474 last-month
  • Total docker downloads: 415,281,549
  • Total dependent packages: 212
    (may contain duplicates)
  • Total dependent repositories: 18,986
    (may contain duplicates)
  • Total versions: 76
  • Total maintainers: 5
pypi.org: patsy

A Python package for describing statistical models and for building design matrices.

  • Versions: 15
  • Dependent Packages: 166
  • Dependent Repositories: 17,860
  • Downloads: 20,515,474 Last month
  • Docker Downloads: 415,281,549
Rankings
Dependent repos count: 0.1%
Downloads: 0.1%
Dependent packages count: 0.1%
Docker downloads count: 0.3%
Average: 1.5%
Stargazers count: 2.8%
Forks count: 5.8%
Maintainers (3)
Last synced: 6 months ago
alpine-v3.18: py3-patsy-pyc

Precompiled Python bytecode for py3-patsy

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 4.9%
Stargazers count: 8.5%
Forks count: 11.2%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.18: py3-patsy

Describing statistical models in Python using symbolic formulas

  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 4.9%
Stargazers count: 8.5%
Forks count: 11.2%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/pydata/patsy
  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Stargazers count: 2.1%
Forks count: 2.5%
Average: 6.3%
Dependent packages count: 9.6%
Dependent repos count: 10.8%
Last synced: 6 months ago
spack.io: py-patsy

A Python package for describing statistical models and for building design matrices.

  • Versions: 4
  • Dependent Packages: 6
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 6.6%
Stargazers count: 7.7%
Dependent packages count: 8.4%
Forks count: 10.3%
Maintainers (1)
Last synced: over 1 year ago
conda-forge.org: patsy
  • Versions: 5
  • Dependent Packages: 33
  • Dependent Repositories: 563
Rankings
Dependent repos count: 1.1%
Dependent packages count: 2.1%
Average: 8.7%
Stargazers count: 13.6%
Forks count: 18.0%
Last synced: 6 months ago
alpine-edge: py3-patsy

Describing statistical models in Python using symbolic formulas

  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 9.1%
Stargazers count: 9.7%
Forks count: 11.9%
Dependent packages count: 14.6%
Maintainers (1)
Last synced: 7 months ago
alpine-edge: py3-patsy-pyc

Precompiled Python bytecode for py3-patsy

  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 9.1%
Stargazers count: 10.2%
Forks count: 12.7%
Dependent packages count: 13.4%
Maintainers (1)
Last synced: 6 months ago
anaconda.org: patsy

Patsy is a Python library for describing statistical models (especially linear models, or models that have a linear component) and building design matrices.

  • Versions: 7
  • Dependent Packages: 5
  • Dependent Repositories: 563
Rankings
Dependent repos count: 6.9%
Dependent packages count: 8.6%
Average: 17.7%
Stargazers count: 24.7%
Forks count: 30.5%
Last synced: 6 months ago
alpine-v3.19: py3-patsy-pyc

Precompiled Python bytecode for py3-patsy

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.20: py3-patsy

Describing statistical models in Python using symbolic formulas

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.20: py3-patsy-pyc

Precompiled Python bytecode for py3-patsy

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.21: py3-patsy

Describing statistical models in Python using symbolic formulas

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.22: py3-patsy

Describing statistical models in Python using symbolic formulas

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.22: py3-patsy-pyc

Precompiled Python bytecode for py3-patsy

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.21: py3-patsy-pyc

Precompiled Python bytecode for py3-patsy

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.19: py3-patsy

Describing statistical models in Python using symbolic formulas

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/publish.yml actions
  • actions/checkout v1 composite
  • actions/setup-python v1 composite
.github/workflows/tox.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v1.0.10 composite
doc/sphinxext/requirements.txt pypi
  • ipython *
  • jsonschema *
  • mistune *
  • numpy *
  • pandas *
  • scipy *
setup.py pypi
  • Possibly *
  • need *
  • numpy *
  • six *