WIP: Darshan Python Package
Adds a python package including helpers to release to PyPI to the darshan utils source tree under: darshan-utils/pydarshan
There is a Makefile with all sorts of useful targets, from testing, to documentation to coverage as well as releasing to PyPI.
make test make coverage make lint ... make install ... make release
The tests are currently stubs and use py.test because that seems to be the general recommendation for new projects, but that is easy to switch over to nose if that helps with borrowing from pytokio.
I have added an experimental
darshan.plotssubmodule, which uses matplotlib to do the access size histogram as well as the I/O operation summary.
I have added docstrings to all the CFFI bindings as well as some general instructions which can build easily using make docs / make show-docs. (Just ensure pip install -r requirements_dev.txt)
License?: I have blanked out more or less all the license information, but these need to populated when releasing to PyPI.
I had some issues, when accessing the STDIO counters multiple times, which would kill or segfault the execution, which I had no time yet to look into in more detail.
The code and scripts to generate a CFFI friendly header is currently included in
There is a example directory which includes a Jupyter-Notebook which demonstrates how to use the current interface to interact with the logs, as well as the plotting at the end of the notebook.