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
Metadata
Release files for h4md 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| h4md-0.1.1.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| h4md-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / h4md-0.1.1.tar.gz
| Download URL | h4md-0.1.1.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa619713485ef615542a00004eb8dc27edeeab7332dab2c3a297521c534923a2
|
|
BLAKE2b-256 checksum How to use checksums |
ed9483c312120552b7c75acf6c304edaf31256815bf2385ba0cae679d8cca79c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / h4md-0.1.1-py3-none-any.whl
| Download URL | h4md-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a192c916cf64cc7daa57cfc94bbff58e6378630af286733ec9285be88d57965
|
|
BLAKE2b-256 checksum How to use checksums |
6c5d82ff4257ce657e80a211cece64be2387630af6e84593d61ecc6216f67a77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|