{"id":15043585,"url":"https://github.com/aminnj/yahist","last_synced_at":"2026-03-07T01:02:28.633Z","repository":{"id":54143986,"uuid":"218157188","full_name":"aminnj/yahist","owner":"aminnj","description":"1D and 2D histogram objects","archived":false,"fork":false,"pushed_at":"2024-05-18T01:27:22.000Z","size":9521,"stargazers_count":10,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-08T21:54:05.055Z","etag":null,"topics":["histogram","matplotlib","numpy","plotly","plotting"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aminnj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-10-28T22:30:29.000Z","updated_at":"2024-05-18T01:27:22.000Z","dependencies_parsed_at":"2024-10-01T05:00:31.520Z","dependency_job_id":"3ee2992b-6f4d-4684-a150-3b2c0a920ce2","html_url":"https://github.com/aminnj/yahist","commit_stats":{"total_commits":189,"total_committers":1,"mean_commits":189.0,"dds":0.0,"last_synced_commit":"a6a906923c6de557ffad56211c13c9e6b1fc5565"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aminnj/yahist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnj%2Fyahist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnj%2Fyahist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnj%2Fyahist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnj%2Fyahist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aminnj","download_url":"https://codeload.github.com/aminnj/yahist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminnj%2Fyahist/sbom","scorecard":{"id":189513,"data":{"date":"2025-08-11","repo":{"name":"github.com/aminnj/yahist","commit":"240a31e7021d12fc3aede9e988250783e4648264"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-app.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":"Code-Review","score":0,"reason":"Found 1/27 approved changesets -- score normalized to 0","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":"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":"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":"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-app.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/aminnj/yahist/python-app.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-app.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/aminnj/yahist/python-app.yml/master?enable=pin","Warn: pipCommand not pinned by hash: make_docs.sh:3","Warn: pipCommand not pinned by hash: .github/workflows/python-app.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/python-app.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python-app.yml:24","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 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"}},{"name":"Vulnerabilities","score":0,"reason":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","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-2017-1 / GHSA-frgw-fgh6-9g52","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"}}]},"last_synced_at":"2025-08-16T20:22:06.639Z","repository_id":54143986,"created_at":"2025-08-16T20:22:06.639Z","updated_at":"2025-08-16T20:22:06.639Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30204452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["histogram","matplotlib","numpy","plotly","plotting"],"created_at":"2024-09-24T20:49:18.499Z","updated_at":"2026-03-07T01:02:28.609Z","avatar_url":"https://github.com/aminnj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Yet another histogram\n\n![Python application](https://github.com/aminnj/yahist/workflows/Python%20application/badge.svg)\n[![PyPI](https://img.shields.io/pypi/v/yahist.svg)](https://pypi.python.org/pypi/yahist/)\n[![Documentation Status](https://readthedocs.org/projects/pip/badge/?version=latest)](https://aminnj.github.io/yahist/)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/aminnj/yahist/master?filepath=examples%2Fbasic.ipynb)\n\n```bash\npip install yahist\n```\n\n### Examples ([API docs](https://aminnj.github.io/yahist/))\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/aminnj/yahist/master?filepath=examples%2Fbasic.ipynb)\n(static [nbviewer](https://nbviewer.jupyter.org/url/github.com/aminnj/yahist/blob/master/examples/basic.ipynb) if Binder is slow)\n\n\n### Overview\n\nHistogram objects (1D and 2D) with easy manipulations (`numpy`), plotting (`matplotlib`), and fitting (`scipy`/`iminuit`).\n\n```python\nimport numpy as np\nfrom yahist import Hist1D\n\nv = np.random.normal(0, 1, 1000)\nh = Hist1D(v, bins=100, label=\"data\").rebin(2).normalize()\nh.plot(errors=True, ms=3)\nh.fit(\"peak * np.exp(-(x-mu)**2 / (2*sigma**2))\")\n```\n\u003cimg src=\"examples/plot1.png\" height=\"300\" width=\"450\"/\u003e\n\n```python\nimport pandas as pd\n\ndf = pd.DataFrame(np.random.normal(0, 1, size=(10000, 2)), columns=[\"A\", \"B\"])\n\nh = Hist2D(df, bins=\"30,-3,3\", threads=4)\nh.plot(logz=True, cmap=\"cividis\")\nh.profile(\"x\").plot(errors=True, color=\"C1\", marker=\".\", label=\"x-profile\")\n```\n\u003cimg src=\"examples/plot2.png\" height=\"300\" width=\"450\"/\u003e\n\nMuch more functionality is showcased in the example notebook, including\n* fitting (chi2 or likelihood)\n* interactive plots (via `bokeh`)\n* datetime inputs/axes\n* rebinning/subsetting\n* profiling/projecting 2D histograms\n* acceleration of 1D/2D histogram creation with [boost-histogram](https://github.com/scikit-hep/boost-histogram)\n* using the histogram as a lookup function\n* serialization to/from json\n\n...and more.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminnj%2Fyahist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faminnj%2Fyahist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminnj%2Fyahist/lists"}