Skip to main content

A command-line tool to convert HDF4 datasets to markdown

Project description

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

Project details


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.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

h4md-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file h4md-0.1.0.tar.gz.

File metadata

  • Download URL: h4md-0.1.0.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

Hashes for h4md-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c99bca5474fd4d6b8e8a72682caee71aa743aed80c23f743f6ec7d28d504f092
MD5 f0366d01030acd3038b5d3900f2c508f
BLAKE2b-256 79efe8e8c42e7b9fd1837f5ff0e4571b9faa44d48668bc53feddc9dbfcd1d8b7

See more details on using hashes here.

File details

Details for the file h4md-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: h4md-0.1.0-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

Hashes for h4md-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1024e36c3ad143c38d5aefac7b0226eafb69ff33dfa7d7b7b2a8a7bc629a45b5
MD5 09f89dd3c0c2041c00c0dc6564d7b103
BLAKE2b-256 e223cfa2d446d52035e897399aaf2e99bc0dd2d18428f6bf246944790a75b32d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page