Metadata-Version: 2.1
Name: h4md
Version: 0.1.1
Summary: A command-line tool to convert HDF4 datasets to markdown
Home-page: https://github.com/hyoklee/h4md
Author: IOWarp User
Author-email: hyoklee@hdfgroup.org
Keywords: hdf4,markdown,conversion,hdf,data
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyhdf>=0.10.5
Requires-Dist: click>=8.1.0

# h4md (HDF4 to Markdown)

A command-line tool to convert HDF4 datasets and attributes to markdown format.

## Installation

You can install h4md directly from the repository:

```bash
pip install .

## Usage

After installation, you can use the `h4md` command directly:

```bash
h4md input.hdf output.md
```

If you don't specify an output file, it will use the input filename with a `.md` extension:
```bash
h4md input.hdf
# Creates input.md
```

## Output Format

The tool generates markdown with the following structure:
- File name as main heading
- Global attributes section
- Datasets section with each dataset containing:
  - Shape information
  - Data type
  - Dataset-specific attributes
