{"id":33253373,"url":"https://github.com/pog87/PtitPrince","last_synced_at":"2025-11-21T18:02:54.850Z","repository":{"id":49584498,"uuid":"125640070","full_name":"pog87/PtitPrince","owner":"pog87","description":"python version of raincloud","archived":false,"fork":false,"pushed_at":"2025-10-06T09:20:06.000Z","size":20300,"stargazers_count":300,"open_issues_count":2,"forks_count":60,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-21T19:25:45.247Z","etag":null,"topics":["data-science","hacktoberfest","matplotlib","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pog87.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"pog87","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2018-03-17T14:58:32.000Z","updated_at":"2025-10-21T10:40:19.000Z","dependencies_parsed_at":"2024-05-29T17:48:18.877Z","dependency_job_id":"610f0074-a9ab-4164-a186-dff46d7bc38c","html_url":"https://github.com/pog87/PtitPrince","commit_stats":{"total_commits":87,"total_committers":9,"mean_commits":9.666666666666666,"dds":0.5747126436781609,"last_synced_commit":"e293e878017793922fb9a36fc8fc9b9895319aac"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/pog87/PtitPrince","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pog87%2FPtitPrince","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pog87%2FPtitPrince/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pog87%2FPtitPrince/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pog87%2FPtitPrince/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pog87","download_url":"https://codeload.github.com/pog87/PtitPrince/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pog87%2FPtitPrince/sbom","scorecard":{"id":739700,"data":{"date":"2025-08-11","repo":{"name":"github.com/pog87/PtitPrince","commit":"a084d65862df91d0b27a631d03e2832668622971"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":3,"reason":"Found 7/18 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python_tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_tests.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/pog87/PtitPrince/python_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_tests.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/pog87/PtitPrince/python_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python_tests.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/pog87/PtitPrince/python_tests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python_tests.yml:40","Warn: pipCommand not pinned by hash: .github/workflows/python_tests.yml:41","Warn: pipCommand not pinned by hash: .github/workflows/python_tests.yml:42","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.2.7 not signed: https://api.github.com/repos/pog87/PtitPrince/releases/123457801","Warn: release artifact 0.2.5 not signed: https://api.github.com/repos/pog87/PtitPrince/releases/31426847","Warn: release artifact 0.2.3 not signed: https://api.github.com/repos/pog87/PtitPrince/releases/24101166","Warn: release artifact 0.1.5 not signed: https://api.github.com/repos/pog87/PtitPrince/releases/19713502","Warn: release artifact 0.2.7 does not have provenance: https://api.github.com/repos/pog87/PtitPrince/releases/123457801","Warn: release artifact 0.2.5 does not have provenance: https://api.github.com/repos/pog87/PtitPrince/releases/31426847","Warn: release artifact 0.2.3 does not have provenance: https://api.github.com/repos/pog87/PtitPrince/releases/24101166","Warn: release artifact 0.1.5 does not have provenance: https://api.github.com/repos/pog87/PtitPrince/releases/19713502"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-249 / GHSA-9jmq-rx5f-8jwq","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2020-73","Warn: Project is vulnerable to: PYSEC-2019-156 / GHSA-xp76-357g-9wqq","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T17:05:37.861Z","repository_id":49584498,"created_at":"2025-08-22T17:05:37.861Z","updated_at":"2025-08-22T17:05:37.861Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285663972,"owners_count":27210638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-21T02:00:06.175Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","hacktoberfest","matplotlib","python"],"created_at":"2025-11-17T01:00:33.918Z","updated_at":"2025-11-21T18:02:54.845Z","avatar_url":"https://github.com/pog87.png","language":"Jupyter Notebook","readme":"[![Python tests](https://github.com/pog87/PtitPrince/actions/workflows/python_tests.yml/badge.svg)](https://github.com/pog87/PtitPrince/actions/workflows/python_tests.yml)\n[![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)\n[![Latest PyPI release](https://img.shields.io/pypi/v/ptitprince.svg)](https://pypi.org/project/ptitprince/)\n[![Downloads](https://pepy.tech/badge/ptitprince)](https://pepy.tech/project/ptitprince)\n[![Latest conda-forge release](https://img.shields.io/conda/vn/conda-forge/ptitprince.svg)](https://anaconda.org/conda-forge/ptitprince/)\n[![Downloads on conda](https://anaconda.org/conda-forge/ptitprince/badges/downloads.svg)](https://anaconda.org/conda-forge/ptitprince/badges)\n[![Binder](https://img.shields.io/badge/binder%20tutorial-python-fb62f6.svg)](https://mybinder.org/v2/gh/RainCloudPlots/RainCloudPlots/master?filepath=tutorial_python%2Fraincloud_tutorial_python.ipynb)\n\n# PtitPrince\n\nA Python implementation of the \"Raincloud plot\"!\nSee: [https://github.com/RainCloudPlots/RainCloudPlots](https://github.com/RainCloudPlots/RainCloudPlots)\n\n## Installation\n\nYou can install it via `pip`:\n\n```\npip install ptitprince\n```\n\nor via `conda`:\n\n```\nconda install -c conda-forge ptitprince\n```\n\nor directly from GitHub\n\n```\npip install git+https://github.com/pog87/PtitPrince\n```\n\n## Academic use\n\nTo **cite Raincloud plots** please use the following information:\n\n\u003e Allen M, Poggiali D, Whitaker K et al. Raincloud plots: a multi-platform tool for robust data visualization [version 2; peer review: 2 approved]. Wellcome Open Res 2021, 4:63 (https://doi.org/10.12688/wellcomeopenres.15191.2)\n\n![output](output_4_0.png)\n\n## History of this project\n\nThis is a Python version of the \"Raincloud plot\" (or \"PetitPrince plot\", depending on the orientation) from R (under ggplot2) to Python.\nThe Raincloud plot is a variant of the violin plot written in R ggplot2 by [Micah Allen](https://web.archive.org/web/20210131133630/https://micahallen.org/2018/03/15/introducing-raincloud-plots/).\nI found a tweet asking for a Python version of the Raincloud plot, and I agreed to give it a try.\nAlas, the Python version for ggplot2 ([plotnine](https://github.com/has2k1/plotnine)) does not allow to create new styles in a comfortable way.\nSo I decided to write this package using the [seaborn](https://seaborn.pydata.org/) library as a foundation.\n\nThen I replicated the plots from the original post by [Micah Allen](https://web.archive.org/web/20210131133630/https://micahallen.org/2018/03/15/introducing-raincloud-plots/), in Jupyter Notebooks and transformed that code into a Python package.\n\nSince then, the package has received some publicity, and is for example listed in [\"awesome-python-data-science\"](https://github.com/thomasjpfan/awesome-python-data-science).\n\n### Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md) for detailed version history.\n\n#### v.0.3.1\n\n    * Modern packaging with pyproject.toml\n    * Comprehensive test suite with 89% coverage\n    * Python 3.9-3.12 support\n    * Removed default palette to avoid seaborn 0.14 warnings\n    * Pre-commit hooks and code quality improvements\n\n#### v.0.3.0\n\n    * Seaborn 0.13.2 compatibility\n    * Fixed raincloud component alignment with hue\n    * Improved dodge alignment and axis labels\n\n#### v.0.2.x\n\n    * PtitPrince now relies on seaborn 0.10 and numpy \u003e= 1.13\n    * kwargs can be passed to the [cloud (default), boxplot, rain/stripplot, pointplot]\n                     by preponing [cloud_, box_, rain_, point_] to the argument name.\n    * End of support for python2, now the support covers python\u003e=3.6\n\n## Plans for the future:\n\n * ~~ask seaborn mantainers to add this new plot type~~ (not gonna happen)\n * ~~add a \"move\" option in seabon to control the positioning of each plot, as in ggplot2.~~ (either, added in ptitprince)\n * ~~get RainCloud published~~ (done!)\n * add logarithmic density estimate (LDE) to the options for the cloud\n * add the repeated measure feature\n","funding_links":["https://ko-fi.com/pog87"],"categories":["Visualization"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpog87%2FPtitPrince","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpog87%2FPtitPrince","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpog87%2FPtitPrince/lists"}