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:
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:
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
h4md-0.1.1.tar.gz
(6.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
h4md-0.1.1-py3-none-any.whl
(5.8 kB
view details)
File details
Details for the file h4md-0.1.1.tar.gz.
File metadata
- Download URL: h4md-0.1.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa619713485ef615542a00004eb8dc27edeeab7332dab2c3a297521c534923a2
|
|
| MD5 |
e6acc47e87d5210beb02b44bb64f41c3
|
|
| BLAKE2b-256 |
ed9483c312120552b7c75acf6c304edaf31256815bf2385ba0cae679d8cca79c
|
File details
Details for the file h4md-0.1.1-py3-none-any.whl.
File metadata
- Download URL: h4md-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a192c916cf64cc7daa57cfc94bbff58e6378630af286733ec9285be88d57965
|
|
| MD5 |
ba1aba8551e732cb803fc49c0b27dcc2
|
|
| BLAKE2b-256 |
6c5d82ff4257ce657e80a211cece64be2387630af6e84593d61ecc6216f67a77
|