Skip to content

Commit efdf232

Browse files
authored
Merge pull request #69 from histogrammar/cpp_code_cleanup
NEW: remove ROOT, cpp, cuda code; no longer maintained and supported
2 parents c11c45e + c397c3e commit efdf232

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+4331
-26763
lines changed

.github/workflows/test.yml

+5
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
pip install ".[test,pandas,spark]"
4141
fi
4242
43+
- name: Lint with pre-commit
44+
run: |
45+
pip install pre-commit
46+
pre-commit run --all-files --show-diff-on-failure
47+
4348
- name: Test with pytest
4449
run: |
4550
pytest tests

.pre-commit-config.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
rev: v0.1.6
4+
hooks:
5+
- id: ruff
6+
args: [--fix]
7+
exclude: notebooks/
8+
- id: ruff-format
9+
exclude: notebooks/

CHANGES.rst

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Release notes
33
=============
44

5+
Version 1.1.0, Dec 2024
6+
-----------------------
7+
* Removed all ROOT, cpp and cuda code, it was no longer supported.
8+
59
Version 1.0.34, Dec 2024
610
------------------------
711
* Fix typo in build pipeline Python versions config list.

README.rst

+12-6
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,24 @@ At its core histogrammar is a suite of data aggregation primitives designed for
1111
In the simplest case, you can use this to compute histograms, but the generality of the primitives
1212
allows much more.
1313

14-
Several common histogram types can be plotted in Matplotlib, Bokeh and PyROOT with a single method call.
14+
Several common histogram types can be plotted in Matplotlib and Bokeh with a single method call.
1515
If Numpy or Pandas is available, histograms and other aggregators can be filled from arrays ten to a hundred times
16-
more quickly via Numpy commands, rather than Python for loops. If PyROOT is available, histograms and other
17-
aggregators can be filled from ROOT TTrees hundreds of times more quickly by JIT-compiling a specialized C++ filler.
18-
Histograms and other aggregators may also be converted into CUDA code for inclusion in a GPU workflow. And if
19-
PyCUDA is available, they can also be filled from Numpy arrays by JIT-compiling the CUDA code.
16+
more quickly via Numpy commands, rather than Python for loops.
2017

2118
This Python implementation of histogrammar been tested to guarantee compatibility with its Scala implementation.
2219

23-
Latest Python release: v1.0.34 (Dec 2024).
20+
Latest Python release: v1.1.0 (Dec 2024).
2421
Latest update: Dec 2024.
2522

23+
References
24+
==========
25+
26+
Histogrammar is a core component of `popmon <https://github.com/ing-bank/popmon>`_, a package by ING bank
27+
that allows one to check the stability of a dataset. popmon works with both pandas and spark datasets,
28+
largely thanks to Histogrammar.
29+
30+
31+
2632
Announcements
2733
=============
2834

0 commit comments

Comments
 (0)