-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add page for related project/tools #1626
Conversation
Codecov ReportBase: 89.74% // Head: 90.01% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1626 +/- ##
==========================================
+ Coverage 89.74% 90.01% +0.26%
==========================================
Files 17 17
Lines 2390 2394 +4
==========================================
+ Hits 2145 2155 +10
+ Misses 245 239 -6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
CC @asmeurer - please add versioned-hdf5 to this page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other possible things to mention:
- PyTables: Alternative Python interface, kind of higher level, more uses HDF5 as a storage format for its own data model (whereas h5py tries to expose the HDF5 model).
- netCDF4-python: For working with netCDF4, a more specific format built on top of HDF5.
docs/related_projects.rst
Outdated
c = get_config() | ||
c.InteractiveShellApp.extensions = ['h5py.ipy_completer'] | ||
|
||
For <ipython-0.11, the completer can be enabled by adding the following lines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this chunk now - IPython 0.11 was released just over 9 years ago. Doesn't necessarily need to be in this PR, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/related_projects.rst
Outdated
h5py does not contain a tool for exploring or visualising HDF5 files, but tools | ||
built on h5py that can display the structure of h5py include: | ||
|
||
* `h5glance <https://github.com/European-XFEL/h5glance>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `h5glance <https://github.com/European-XFEL/h5glance>`_ | |
* `h5glance <https://github.com/European-XFEL/h5glance>`_ shows the structure of | |
HDF5 files in IPython & Jupyter, as well as at the command line. |
docs/related_projects.rst
Outdated
Field/Format Specific Libraries | ||
------------------------------- | ||
|
||
The are projects which build upon h5py to read and write to HDF5 files with a | ||
specific schema, users of these formats may be interested in using these | ||
higher-level wrappers of h5py: | ||
|
||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually useful? I know of NeXus and CXI as specific schemas from photon & neutron science, but I don't know which specific libraries people use in Python to work with either. And this list is very likely to get outdated, because each contributor only knows about a small part of it.
I'd be inclined to leave it - especially as we don't have any examples at the moment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, let's drop it. I don't know of any astronomy standards for HDF5 (radio astronomy is apparently experimenting with HDF5, but most people are sticking to FITS). I figured putting this here would provoke lots of suggestions for libraries, but if there are no obvious ones, then there's not much point having it.
docs/related_projects.rst
Outdated
------------------------------------ | ||
|
||
h5py does not contain a tool for exploring or visualising HDF5 files, but tools | ||
built on h5py that can display the structure of h5py include: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The project I'm part of also has a list of viewer tools. But there are quite a few, and I'm not very good at keeping up with what's still developed and supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added those links.
I've added pytables to the intro, with links to the two faq entries. Some other projects we may want to link to: |
Apparently you can't use the same text for different urls?
I think all of those could be on the page, but I'm struggling to see how we categorise things and make it clear what they all are. On a related note: seeing h5preserve for the first time, it took a surprising amount of reading to work out what it was. The README describe it as "a thin wrapper around h5py" - but what does it make more convenient? How do you use it? After reading the blog post about Camel I can kind of guess the rough shape of it. The docs landing page provides some explanation, but it's still not exactly clear what it's offering. The quickstart page finally explains it and demonstrates it, but it's not very amenable to scanning - you really need to read through it to make sense of it. Anyway, feel free to take all that with a big grain of salt. Sometimes it can be useful to know what a project looks like to someone seeing it for the first time, but I'm just one person and it's totally possible that I missed something that's generally obvious. |
The page was initially for viewers and external filters (I thought there were other projects providing filters, as well as hdf5plugin), but I figured there were a bunch of projects building on h5py, it made sense to try to collect them together (rather than potentially having them scattered throughout the docs). As is, I think it's fine (and if someone wants to merge this, feel free to do it), but I figured there were widely used wrappers for specific formats, which may be better for users that using raw h5py (and potentially missing out key metadata). With respect to h5preserve, that's definitely useful feedback, I still haven't really clarified how to think about it independent of camel, it does its job and I can think of it as a black box most of the time (it was initially a day or so of hacking, after repeatedly getting annoyed that I needed to worry about handling older versions of output in the middle of science code). I should probably sit down and refresh the docs at some point. |
Here is a blurb for versioned-hdf5. It isn't clear to me where this would go on the current page: Versioned-hdf5 (https://deshaw.github.io/versioned-hdf5/) is a library that builds a versioned abstraction on top of h5py. It provides a wrappers around the h5py API that allows storing different versions of groups and datasets within an HDF5 file. |
This closes #1621 in that we would have a page for listing other projects users may be interested in. I've also moved the ipython extension docs onto this page, as they were quite hidden otherwise on the config page.
Definitely not complete, people should feel free to push links to projects.