https://github.com/apn-pucky/babyyoda

Python YODA UHI histograms

https://github.com/apn-pucky/babyyoda

Science Score: 26.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
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.7%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Python YODA UHI histograms

Basic Info
  • Host: GitHub
  • Owner: APN-Pucky
  • License: bsd-3-clause
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 1.21 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 15
  • Releases: 0
Created almost 2 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

babyyoda

PyPI - Version PyPI - Python Version CI/CD Code Coverage


Differences to yoda

babyyoda has the advantages

  • works with just Python 3 and can be installed with pip.
  • makes it easy to manipulate the bin contents (compared to YODA-1).
  • tries to adhere to the UHI standard.
  • is easy to plot in a Jupyter notebook.
  • keeps data representation close to the yoda file format.

and the disadvantages to yoda are that it

  • is slower.
  • is not as feature complete.
  • is not as well tested.
  • only has histogram support.

Installation

console pip install babyyoda

Design

babyyoda is designed to be a drop-in replacement for yoda with a few key differences:

python import babyyoda as yoda

with UHI support. It can use either yoda (C++) or babyyoda.grogu (Python) as backend. At some point the UHI support might be adapted by the original yoda package.

For a less feature complete version, babyyoda.grogu is a simpler python drop-in replacement for yoda without UHI:

python import babyyoda.grogu as yoda

or force yoda use with

python import babyyoda.yoda as yoda

Interfaces

| Interface | Status | Examples and Notes | | ---------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------ | | histoprint | ✅ | histo1d | | mplhep | ✅ | histo1d, histo2d | | plothist | ❌ | WIP: https://github.com/cyrraz/plothist/issues/98 Does not support UHI/PlottableProtocol, only boost-histogram() | | uproot | ❌ | WIP: https://github.com/scikit-hep/uproot5/issues/1339 histo1d | | hist | ✅ | histo1d, histo2d | | boost-histogram | ✅ | histo1d, histo2d | | cuda-histogram | ❔ | | | ROOT | ❔ | |

License

babyyoda is distributed under the terms of the BSD-3-Clause license.

Owner

  • Name: Alexander Puck Neuwirth
  • Login: APN-Pucky
  • Kind: user
  • Company: Uni Münster

GitHub Events

Total
  • Issues event: 33
  • Watch event: 2
  • Delete event: 3
  • Issue comment event: 22
  • Push event: 69
  • Pull request review comment event: 3
  • Pull request review event: 3
  • Pull request event: 33
  • Create event: 21
Last Year
  • Issues event: 33
  • Watch event: 2
  • Delete event: 3
  • Issue comment event: 22
  • Push event: 69
  • Pull request review comment event: 3
  • Pull request review event: 3
  • Pull request event: 33
  • Create event: 21

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 85
  • Total Committers: 2
  • Avg Commits per committer: 42.5
  • Development Distribution Score (DDS): 0.118
Past Year
  • Commits: 85
  • Committers: 2
  • Avg Commits per committer: 42.5
  • Development Distribution Score (DDS): 0.118
Top Committers
Name Email Commits
Alexander Puck Neuwirth a****r@n****e 75
Alexander Puck Neuwirth A****y 10
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 43
  • Total pull requests: 36
  • Average time to close issues: 9 days
  • Average time to close pull requests: 2 days
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.37
  • Average comments per pull request: 0.61
  • Merged pull requests: 22
  • Bot issues: 0
  • Bot pull requests: 7
Past Year
  • Issues: 43
  • Pull requests: 36
  • Average time to close issues: 9 days
  • Average time to close pull requests: 2 days
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.37
  • Average comments per pull request: 0.61
  • Merged pull requests: 22
  • Bot issues: 0
  • Bot pull requests: 7
Top Authors
Issue Authors
  • APN-Pucky (43)
Pull Request Authors
  • APN-Pucky (29)
  • dependabot[bot] (7)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 48 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 7
  • Total maintainers: 1
pypi.org: babyyoda
  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 48 Last month
Rankings
Dependent packages count: 10.2%
Average: 33.9%
Dependent repos count: 57.6%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • astral-sh/setup-uv v3 composite
.github/workflows/lint.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/test-yoda.yml actions
  • actions/checkout v4 composite
pyproject.toml pypi
  • numpy *